I'm setting up my website and have imported a load of content pages using a script I found on this site. After a bit of modding the script works ok. If I only import a handful of pages, everything works fine. Each page only has a user defined tag in.
If I import all the pages I want to import (5000+), I get this error
Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 47 bytes) in /var/www/html/lib/classes/class.content.inc.php on line 208
This occurs on the home page, when I try and look at one of the pages I've imported using the se friendly url, and also in the backend when I try and list the pages content.
Does anyone know a way round it?
tia
Mike
Maximum Number Of pages?
Re: Maximum Number Of pages?
PHP runs out of memory when the error "Fatal error: Allowed memory size of ... bytes exhausted" occurs.
The only way around it is to increase PHP's memory_limit setting (or uninstalling all unneeded modules, deleting their module folders and deleting all unused language files, both from modules and the admin).
Regards,
D
The only way around it is to increase PHP's memory_limit setting (or uninstalling all unneeded modules, deleting their module folders and deleting all unused language files, both from modules and the admin).
Regards,
D
Last edited by Anonymous on Sat Jan 13, 2007 3:44 pm, edited 1 time in total.

