View Full Version : Error after upgrade
marlena
09-10-2008, 01:47 AM
Everything on the site seems to be running smoothly after the upgrade to 3.7.3
But when clicking on some threads this air comes up:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 737280 bytes) in /usr/home/soultr/www/htdocs/home/showthread.php(2156) : eval()'d code on line 411
any ideas?
Lynne
09-10-2008, 02:27 AM
To quote Steve over on vb.com:
Your PHP does not have enough memory allocated to it to complete this operation. Ask your host to increase the 'memory_limit' variable in php.ini to at least 32M.
To temporarily up your limits edit your includes/config.php file and add these lines right under the <?php line:
ini_set('memory_limit', 32 * 1024 * 1024);
marlena
09-10-2008, 02:51 AM
lynne once again you are a savior :)
Opserty
09-10-2008, 07:36 AM
Also, look on line 2156 of showthread.php if you see something that says "hook" try disabling your modifications. It maybe that a faulty/inefficent modification is causing problems.
marlena
09-12-2008, 12:49 PM
Opserty what is the best program to use to show me where line 2156 is? WordPad? Dreamweaver?
Opserty
09-12-2008, 02:10 PM
Nevermind, I checked the file and it is to do with templates. The only way to solve it would be to follow Lynne's advice.
Lynne
09-12-2008, 02:52 PM
I actually did look at the line in the error to see if it might be a mod and saw it was just the eval statement.
But, do you recommend an application for her that would put line numbers in the file? I'm on a Mac and use BBEdit. Marlena, are you sure your application doesn't have a Preference/Option to turn line numbers on?
Opserty
09-12-2008, 04:01 PM
If access to Dreamweaver is available then that shows lines numbers. Otherwise there are many other free alternatives (Notepad++, PHP Designer 2007 e.t.c are just some of the ones I can remember of the top of my head).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.