SEO, Joomla web development, eMarketing and training
Home Joomla 1.0 Web Development Joomla 1.0 Tutorials VirtueMart browse category error message
Joomla 1.0 Web Development
VirtueMart browse category error message
Wednesday, 03 October 2007 06:17

Question:
Help! We modified a product intro description in VirtueMart and now when we browse to the section (category) page we are getting the following error.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 40 bytes) in /home/webadmin/domain/html/includes/database.php on line 433

Oddly, all the other pages of VM are working fine.

We tried restarting the server, thinking it was a temporary bug, but that didn't work. Please help.

The problem:
Most likely this occurred because PHP allocate 8M of memory by default. Your VM category page description may require more memory than 8M to deliver.

How to answer:
Try adding this line to your Joomla! configuration.php file.

ini_set("memory_limit","12M");

It should be the 1 line and look like this:

<?php
ini_set("memory_limit","12M");
$mosConfig_MetaAuthor = '0';

Did it work? Please leave a comment below.

Last Updated ( Thursday, 18 September 2008 18:35 )
 

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:


+ Suggested tags