Category Archives: Web

Web : Date incorrect or missing after updating RoundCube webmail

If you recently updated your RoundCube Webmail and noticed that the email received date is missing both on mailbox pane and the email itself, this is because your “date.timezone” PHP setting is either commented or use the wrong setting. To resolve this matter, edit your “php.ini” file :

And find the following parameter (it… Read More »

Category: Web

Web : Firefox error code sec_error_reused_issuer_and_serial

You may ran into the following issue with Firefox browsing a SSL Web site using self generated certificate : sec_error_reused_issuer_and_serial The cause is that the self generated certificate of the site you are browsing have the same serial number of a previously stored certificate (another Web site you already visited and manually added an exception… Read More »

Category: Web

Web : How to get Web site server information

Using cURL, you can easily grab some information about the server who’s running a Web site. To get all the possible information, simply use (replace domain.tld with the actual domain name) :

You can also can just output the server info like this :

NOTE : Not all server will output the same… Read More »

Web : Customize ownCloud slogan footer text

Here is some indication how to customize the footer text “ownCloud – web services under your control”, title, etc. This can be achieved easily editing the following file under your ownCloud root folder :

Then, locate the following starting at line number 31 :

What you are looking to change would be :

Category: Web

Linux : APC usage and hit ratio information page

APC (Alternative PHP Cache) come with a nice script (apc.php) that will sort and show you the memory usage and hit ratio of pages cached into APC memory. Do these easy steps to set this up on your Web server. Copy the script from APC folder into a vHost on your Web server (this example… Read More »

Linux : PHP Warning: Unable to allocate memory for pool

Found this error in your Web site Apache error logs? PHP Warning:  require_once(): Unable to allocate memory for pool. This is actually caused by APC (Alternative PHP Cache). The allocated memory limit for APC has been reached and no additional PHP script can be cached anymore. The symptoms on your Web site for such error… Read More »

Web : RoundCube failed to load magic database at ‘/usr/share/misc/magic’

Getting this error message with RoundCube Webmail in your Apache logs? [Sun Jan 12 05:53:51 2014] [error] [client 0.0.0.0] PHP Warning:  finfo_open(): Failed to load magic database at ‘/usr/share/misc/magic’. in /path/to/roundcube/program/lib/Roundcube/rcube_mime.php on line 727, referer: https://roundcube.domain.tld/?_task=mail&_action=preview&_uid=122332&_mbox=INBOX&_framed=1&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0 Make sure the path to “libmagic” is correct. Edit your “config/main.inc.php” file. You might (by default) have the following… Read More »

Category: Web

WordPress : Really Simple CAPTCHA show no image after plugin update

If you are using WordPress engine and the Really Simple CAPTCHA plugin for your forms, you may encounter a blank image containing the word “captcha” instead of the automatically generated image after updating the plugin. Here is the procedure to resolve this issue : 1. Login as administrator 2. On the left side menu, click… Read More »

Category: Web

Linux : How to add JSON support to CentOS 5 PHP 5.1.6

JSON support come natively with PHP 5.2 and later. If you are running CentOS Linux 5, this is PHP version 5.1.6 that is included by default. Fortunately, since version 5.6, CentOS packaged version 5.3.3 of PHP that can be installed through YUM (not included in the ISO set). If you still run applications that can’t… Read More »