Page 1 of 1
[solved] Fatal error: Allowed memory size of 8388608 bytes exhausted
Posted: Sat Sep 08, 2007 12:02 am
by leet8845
Hi there,
A user of my site who has CMSMS access, has uploaded something by mistake. She said its another website and 'she was just trying to link to another page but ended up uploading a whole site to the server', I'm not sure if this is excatly what has happened.
The site is still up and fine, but when i select pages to edit them in CMSMS in displays the following error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 274299 bytes) in /home/sites/domainname.uk.net/public_html/admin/listcontent.php on line 1007
I have ftp access to the site but cant see anything that looks out of place, mind you im not sure if im looking in the right folders, i checked uploads, and pictures, all seemed normal.
Is there any way I can solve this?
Any help truly appreciated
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to alloca
Posted: Sat Sep 08, 2007 3:03 am
by Nullig
You could try adding:
ini_set("memory_limit", "16M");
near the top of your config.php file, to see if that helps.
Nullig
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to alloca
Posted: Sat Sep 08, 2007 3:08 am
by calguy1000
Some hosts won't allow this, but it is worth a try.
Getting this error basically means that your web site has exceeded a threshhold, about allowed memory limits. Maybe you upgraded CMS made simple, upgraded a module, or it could even be as simple as adding a UDT, or a couple of other plugins, etc. They all go together (somewhat) to increase the memory requirements for CMS Made Simple.
CMS Made simple requires a MINIMUM of 8mb for the base install, and 16Mb is recommended. If you add too many pages, and/or modules, and/or UDT's, and/or GCB's.... CMS will require more memory.
Try the ini_set method
if that doesn't work, contact your host.
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:12 pm
by leet8845
Hi there,
Thaks for the help, where is the config.php file located?
Many thanks
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:15 pm
by RonnyK
In the root of your CMS installation.
Ronny
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:17 pm
by leet8845
Thanks,
Do you know the folder name cause theres lots of files there
Many thanks
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:24 pm
by RonnyK
It's in the main folder of the domain. If your domain is
www.domain.com, that's where the config.php resides. At the same level, ou should see all folders like Modules and Plugins etc.....
Ronny
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:26 pm
by RonnyK
If you FTP-ed CMS initially to a certain folder, before you started the installation, than that will be the root. So try to make an FTP-connection to your domain, and check the main folder.
Ronny
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:30 pm
by leet8845
Thanks for yor help.
I didnt upload the site originally, im now downloading it and im going to run a search with Windows, on the folder, to find the config.php file.
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:32 pm
by RonnyK
How are you downloading, through FTP. If so, you connected to the machine, went to the level
www.domain.com and pull everything, did you? If so, by clicking on the
www.domain.com, you get one level under the name, that's the root folder, if someone types
www.domain.com, he/she goes to,
www.domain.com/index.php. So the stuff you see inside the folder
www.domain.com is the root.
Ronny
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:54 pm
by leet8845
Thanks I got it, I just didnt see it the first time I looked, thanks for your help.
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 1:57 pm
by leet8845
Re: Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2
Posted: Sat Sep 08, 2007 2:13 pm
by RonnyK
Leet8845,
if a topic you started is solved, will you mark the subject of the initial post with [solved]. This can be done by "modifying", your initial post, and modify the subject.
I've marked this one, for you.
Ronny