- Posts: 3
- Thank you received: 0
Error message
- qvindesland
- Topic Author
- Offline
- New Member
Less
More
15 years 11 months ago #984
by qvindesland
Error message was created by qvindesland
Hello List,
First of all thank you so much for a greate guestbook.
I am wondering if someone might be able to help me out here, on my guestbook I receive the following error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 87363170 bytes) in /home/acutetwo/public_html/mamoe/guestbook/list.php on line 55 I have looked around but I can not find anything that refers to this, could anyone please point me in the right direction?
Kind regards
Per Qvindesland
First of all thank you so much for a greate guestbook.
I am wondering if someone might be able to help me out here, on my guestbook I receive the following error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 87363170 bytes) in /home/acutetwo/public_html/mamoe/guestbook/list.php on line 55 I have looked around but I can not find anything that refers to this, could anyone please point me in the right direction?
Kind regards
Per Qvindesland
Please Log in or Create an account to join the conversation.
15 years 11 months ago #985
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Error message
Wow, you must have a lot of entries in your guestbook!
Here is how you fix it. Open the list.php file in notepad, and at the very top of it in the PHP code section add the following line of code:
Another way to fix this is to open the php.ini file and add this line to it:
You may have to play around with the memory size allocation depending how much memory your webhost allows for your account. But you will have to set the value greater then 34M for sure (since that's about the size of your existing memory maximum usage).
Pete
Here is how you fix it. Open the list.php file in notepad, and at the very top of it in the PHP code section add the following line of code:
Code:
ini_set("memory_limit","64M");
Another way to fix this is to open the php.ini file and add this line to it:
Code:
memory_limit = 64M
You may have to play around with the memory size allocation depending how much memory your webhost allows for your account. But you will have to set the value greater then 34M for sure (since that's about the size of your existing memory maximum usage).
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
- qvindesland
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
15 years 11 months ago #986
by qvindesland
Replied by qvindesland on topic Error message
Hello Pete,
Thank you so much for your answer, I tried both suggestions but nothing worked i also tried to increase the memory size but that did not help, do you got any other ideas?
Kind regards
Per Qvindesland
Thank you so much for your answer, I tried both suggestions but nothing worked i also tried to increase the memory size but that did not help, do you got any other ideas?
Kind regards
Per Qvindesland
Please Log in or Create an account to join the conversation.
- qvindesland
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
15 years 11 months ago #987
by qvindesland
Replied by qvindesland on topic Error message
Hello again pete
I have sorted it out, I just increased the memory size until it was enough
Again thank you so much for all your help.
Kind regards
Per Qvindesland
I have sorted it out, I just increased the memory size until it was enough
Again thank you so much for all your help.
Kind regards
Per Qvindesland
Please Log in or Create an account to join the conversation.
Time to create page: 0.121 seconds