Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-22-2012, 03:49 PM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Fatal Error Max Execution Time Error Problem

For some reason, this error message pops up and I can't figure out why and how to fix it.

Quote:
Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\7557321\html\forums\includes\functions. php on line 712
I can't replicate it, and it happens to members sometimes as well. How can I fix this issue? Thanks.
Reply With Quote
  #2  
Old 02-22-2012, 03:56 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could increase the execution time if you have access to the php config file.

What version of vb do you have?
Reply With Quote
  #3  
Old 02-22-2012, 04:07 PM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have version 4.1.2 but I don't know how I where the php config file would be located.

--------------- Added [DATE]1329930900[/DATE] at [TIME]1329930900[/TIME] ---------------

Here's the website - http://www.BoostedK20.com/
Reply With Quote
  #4  
Old 02-25-2012, 06:25 PM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump, anyone?
Reply With Quote
  #5  
Old 02-25-2012, 09:12 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the source for vb4.1.2 PL6 but don't see anything at line 712 that would do that. Can you look at your includes/functions.php and see what's around line 712?

You could increase the max execution time by putting this code somewhere:

Code:
ini_set('max_execution_time', 60);

(of course you can use whatever value you want instead of 60). includes/config.sys might be a good place to put it. But if there's something wrong then increasing the max execution time might just make it take longer before displaying an error (and use more server time).
Reply With Quote
  #6  
Old 02-27-2012, 03:37 AM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I have the source for vb4.1.2 PL6 but don't see anything at line 712 that would do that. Can you look at your includes/functions.php and see what's around line 712?

You could increase the max execution time by putting this code somewhere:

Code:
ini_set('max_execution_time', 60);

(of course you can use whatever value you want instead of 60). includes/config.sys might be a good place to put it. But if there's something wrong then increasing the max execution time might just make it take longer before displaying an error (and use more server time).
Could you tell me how I would do the above? For example, Admin CP > Settings > etc etc. I will post once added to see how it all works

--------------- Added [DATE]1330323307[/DATE] at [TIME]1330323307[/TIME] ---------------

And it just gave me this error:

Fatal error: Maximum execution time of 30 seconds exceeded in D:\Hosting\7557321\html\forums\includes\functions. php on line 7123

--------------- Added [DATE]1330323344[/DATE] at [TIME]1330323344[/TIME] ---------------

Maybe I forgot the "3" at the end of the initial post...
Reply With Quote
  #7  
Old 02-27-2012, 12:45 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To use the 'max_execution_time' time thing I posted above, you need to edit a file and insert it. I was suggesting include/config.php since that's included in every script.


I looked at line 7132 and still can't see what would do it. You could try disabling all your plugins by editing the include/config.php file and inserting:

Code:
define('DISABLE_HOOKS', 1);

just under the <?php line at the top. But this disables all plugins, so if you can't replicate the error then you probably don't want all plugins disabled for a long time.
Reply With Quote
  #8  
Old 02-28-2012, 01:47 AM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far, I adjusted the execution time and it hasn't happened. I'll keep testing.
Reply With Quote
  #9  
Old 03-05-2012, 10:17 PM
BoostedK20 BoostedK20 is offline
 
Join Date: Mar 2011
Location: NY
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here it is again:
Fatal error: Maximum execution time of 60 seconds exceeded in D:\Hosting\7557321\html\forums\includes\functions. php on line 7123
Reply With Quote
Reply


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 02:31 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.04885 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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