Maximum Number Of pages?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Homersbrain

Maximum Number Of pages?

Post by Homersbrain »

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
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Maximum Number Of pages?

Post by Dee »

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
Last edited by Anonymous on Sat Jan 13, 2007 3:44 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”