View Full Version : Error message when clicking on members name after upgrade
cscoroner
Mon 12th Jan '09, 12:48pm
After what appeared to be another smooth and successful upgrade. This time the upgrade from 3.7.4 to 3.8.0 It appeared (so far) that everything worked fine with the exception of when you click on a members name on the forums home page I get the following error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/ripperadmin/www/rippersplace.com/forum/includes/functions_newpost.php on line 590
I reverted all the templates that showed up in the acp and added the edits for some custom content. This was only done in the header and navbar. There is only one custom style that I use called Heavy Metal that is 3.8.0 compatible.
Please give me some directons to fix this.
Thanks!
Steve Machol
Mon 12th Jan '09, 12:50pm
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);
glennybee
Mon 12th Jan '09, 12:51pm
When you log into APC, does it say you are using v3.8.0? I would upload all files in the /includes folder again and run the upgrade.php script too, just in case you missed some new files.
If you create a new style with no parent style, use this and click on member username, is the error still there?
cscoroner
Mon 12th Jan '09, 2:25pm
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);
Thank you so much for this. It's worked like a charm and I have sent the request to the host.
When you log into APC, does it say you are using v3.8.0? I would upload all files in the /includes folder again and run the upgrade.php script too, just in case you missed some new files.Yes I checked this and here's whats at the top of the acp:
Admin Control Panel (vBulletin 3.8.0 (http://www.vbulletin.com/forum/../) Latest version available: 3.8.0 (http://members.vbulletin.com/)The upgrade went perfect as the last upgrade. No error messages but of course I have to revert the templates and re-edit for mods installed. So far I've tested most everything including the installed mods and all works fine.
Thanks for all your help and support folks!
cscoroner
Fri 30th Jan '09, 1:50pm
Ok I'm back. Here's what I show in the acp:
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB
PHP Memory Limit 32.00 MB
MySQL Packet Size 1.00 MB
We raised the PHP Memory Limit from 8.00 MB to 32 MB but that didn't work. When I remove the code from the includes/config.php file the error returned. Doe's this mean we need more or do we need to raise one of the others?
Please let me know....
Steve Machol
Fri 30th Jan '09, 1:52pm
What is the error?
cscoroner
Sat 31st Jan '09, 1:30pm
What is the error?
It's the same error from my first post in this thread.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 184320 bytes) in /home/ripperadmin/www/rippersplace.com/forum/includes/functions_newpost.php on line 590
I followed your instructions and added the code in the config file and it fixed the issue temporarily. Do you think that 32 MB isn't enough?
Steve Machol
Sat 31st Jan '09, 1:33pm
If you are getting the same error then it is not even reading 32M. It's still at 8M.
At this point you will need to contact your host and ask them to make this change to the server.
cscoroner
Sat 31st Jan '09, 1:42pm
We contacted them and they said they did that and that was when it changed in the admin control panel from 8 MB to 32 MB? I'll send another email for them to check the actual server.
Steve Machol
Sat 31st Jan '09, 1:43pm
If you are getting 'Allowed memory size of 8388608 bytes exhausted', then it wasn't changed.
cscoroner
Sat 31st Jan '09, 1:52pm
I'm curious though. Why would it show the change in the acp if it hadn't been changed at all?
Steve Machol
Sat 31st Jan '09, 2:13pm
I don't know.
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.