Web Hosting Blog

Pixel Internet Web Hosting Blog

Fatal error: Allowed memory size of 8388608 bytes exhausted

Posted on 12/07/08, filed under Web Hosting Problems/Solutions | 1 Comment

It todays Web Hosting Tutorial we are going to cover how to change your PHP file upload limit to avoind the following error:

‘Fatal error: Allowed memory size of 8388608 bytes exhausted’?

PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with this error message. This is usually the result of the PHP script trying to load a large… Read full story


Possible issues with OSCommerce and MySQL5

Posted on 12/07/08, filed under Web Hosting Problems/Solutions | No Comments

We have been made aware that some customers may have issues with their OSCommerce installations after your recent upgrade to MySQL5.

To solve this, two files in the installation directory need to be changed. the first set of changes are needed to index.php.

Remove the code below from that file …

// show the products of a specified manufacturer
if (isset($HTTP_GET_VARS['manufacturers_id'])) {
if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
// We are asked to show only a specific… Read full story


My PHP script gives the error ‘Call to undefined function: mysql_connect()’

Posted on 12/07/08, filed under Web Hosting Problems/Solutions | No Comments

My PHP script gives the error ‘Call to undefined function: mysql_connect()’

This is usually due to a faulty php.ini file causing the PHP MySQL functions to be undefined. A custom php.ini file should not need to contain more than a very few lines to override the specific necessary directives. Using a php.ini found on other webservers or examples given on PHP-related websites