Posts Tagged ‘ php ’

Adding pcntl_fork support on a cpanel server

February 1, 2012
By

A php application on a cpanel server kept throwing this: Fatal error: Call to undefined function pcntl_fork() in /path/blah.php on line 5 The fix requires recompiling php with –enable-pcntl Fortunately cpanel offers the Easy Apache script. The bad part is that it doesn’t have an option for pcntl. So you have to specify it...

Read more »

Error noticed in Joomla site apache logs

October 27, 2011
By

rowsing trough my web logs I found the following error in the apache error log of a Joomla site: View Code APACHELOG1 PHP Notice: Array to string conversion in aaa/libraries/joomla/html/parameter.php on line 83 One suggestion found online was: Edit parameters.php and change the line 83 as...

Read more »

Web interface for Zabbix didn’t load

August 18, 2011
By

I was installing today Zabbix on a CentOS 5.6 machine and hit the following error when trying to load the PHP Web Interface: View Code BASH1 PHP Fatal error: Call to undefined function bcscale() in /var/www/zabbix/include/defines.inc.php on line 797 The fix was one package install away: View Code BASH1 # yum -y install php-bcmath...

Read more »

Add php APC and UploadProgress support to CentOS

August 3, 2011
By

I was playing today with some file uploading scripts and noticed that they require one of the two in order to be able to display a progress bar. Those are the steps required to enabled both of them on centos: View Code BASH1 2 3 yum install php-pear php-devel httpd-devel pcre-devel pecl install apc...

Read more »

Make Joomla 1.0 work with PHP 5.3

June 23, 2011
By

With the recent posts regarding resurrecting old stuff, recently I had to resurrect a Joomla 1.0 site. Soon enough I discovered that the home page doesn’t display correctly. No errors, just lots of white space . The problem is that Joomla 1.0 is not really made for PHP 5.3. Of course I could have...

Read more »

Akismet troubles traced back to DNS issues.

June 2, 2011
By

My API key for Akismet was suddenly unconfirmed by reason of not being able to reach akismet.com My provider had indeed troubles with their primary DNS so I switched to the google public one. (8.8.8.8). This is a server not a browsing machine so I don’t have any privacy worries. Long storry short, I...

Read more »

Uploading big files via php

February 11, 2010
By
phpupload

I’m updating a site for a client that only has file access to his hosting account via a php file manager (extPlorer for Joomla to be precise). He needed uploaded a few flash videos (in excess of 15 Mb each) but extPlorer stated that the file limit for php was set to 8 Mb....

Read more »

New menu items don’t appear in Joomla 1.5.14

November 3, 2009
By

I was configuring a Joomla installation for a client today and stumbled upon this little problem. No matter how I tried, new menu items refused to appear. Not only in the front-end, but they were missing in the back-end too. I checked to see, but the PHP settings were all correct. Then I noticed...

Read more »

Custom csv export from virtuemart

June 4, 2009
By

One of my clients needed a custom feed of his virtuemart products. I did a quick google check and nothing came up, so I decided to write my own. Please note that I’m not a programmer and I bet it can be done faster, better and more elegant, still this works, so … View...

Read more »

Follow Me

Subscribe via RSS