Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
How to Undo Auto Prune >< Details »»
How to Undo Auto Prune ><
Version: , by Dugchugger Dugchugger is offline
Developer Last Online: Dec 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-05-2008 Last Update: Never Installs: 0
 
No support by the author.

I've been trying to figure out why I keep getting this message when clicking on someone's name in the High Score area in the arcade:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 386449 bytes) in forums/arcade/functions/functions.php(1264) : eval()'d code on line 26

I saw it suggested somewhere to increase the memory_limit in php.ini. I set it from 8M to 24M. It didn't help. I tried turning auto pruning on and it removed all of the Highscore-Champions scores... shizzit! Is there any way to get those back?

And once that little bonehead move is fixed... can anyone point me in the right direction to figure out how I can fix the memory problem. I'm a relative newb so please feel free to talk to me like one.

Any help would be greatly appreciated. Players worked hard for these scores and I feel like such a dolt.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-08-2008, 05:02 AM
Dugchugger's Avatar
Dugchugger Dugchugger is offline
 
Join Date: May 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Dugchugger...

I see no one has stepped in to help you over the last few days. Let me see if I can be of assistance.

Regarding your auto prune blooper... you're screwed. Sorry.

Regarding the memory error, if you have access to your php.ini file you could increase your memory_limit to 12M or 24M. It appears to currently be set at 8M. If this doesn't work, you may need to set it higher. If you don't have access to your php.ini, you will need to ask your host to make this change for you.

Alternatively, Gemma posted this suggestion:

Quote:
temporarily up your limits edit your includes/config.php file and add these lines right under the <?php line:

ini_set('memory_limit', 128 * 1024 * 1024);

You may need to change the 128 to 256 or 512
This suggestion worked for another user, but not for poor Lombardo who originally asked for help on May 9th... but apart from the initial responses he got (that didn't work for him), he received no further help that we can see.

If this doesn't help, let me know and I will try to assist further... cuz I care.

--------------- Added 07 Sep 2008 at 23:07 ---------------

Wow... thanks for the help duggy.

I initially asked my host to increase the memory_limit to 12M from 8M a few days ago. They said they upped it to 24M... but I neglected to confirm this for myself. They have a history of not following through on what they say they will do. Still experiencing the memory probs today, I double-checked my php info and noticed that it was still set to 8M. I nudged them. At first I received a reply saying I wouldn't see it in php info if it was done via .htaccess. Ookay... not like I know how it was done... I didn't do it. Then a follow-up response admitted that they erred after a change to the php. Alrighty then. Either way, it still reflected 8M.

I noticed there was an additional .htaccess file in the root arcade folder and one in the functions directory, so I tried adding this line to both (after already having it added to the main .htaccess file):

php_flag memory_limit 24M

That still didn't fix the problem. So I tried Gemma's idea above and it just made things worse. In fairness, I don't know enough about php and I think the code needed some adjusting.

Then I received another contact from my host advising that they hadn't realized I was parsed to php5 and had made another adjustment. The 24M is now showing up under memory_limit and the memory problem has been resolved... woot!!!

Thank you for your help!

--------------- Added 07 Sep 2008 at 23:07 ---------------

No prob. Glad to hear it was fixed. Party on!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08685 seconds
  • Memory Usage 2,201KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete