vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error after upgrade (https://vborg.vbsupport.ru/showthread.php?t=190511)

marlena 09-10-2008 01:47 AM

Error after upgrade
 
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:

Quote:

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).


All times are GMT. The time now is 05:04 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.00999 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete