vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problem In My Forum (https://vborg.vbsupport.ru/showthread.php?t=222676)

MAORBARI 09-07-2009 05:55 PM

Problem In My Forum
 
HI ALL
my forum show me error when i enter...
it begin the error when i edit plugin and add this line on plugin in "global_start":
PHP Code:

while(preg_match_all('#\[([\w]+?)[^\]]*\](.*)(\[/\1\])#siU'$message$regs)) 

when i press ok the forum does not work me any more.. it shoe me the error:
PHP Code:

Fatal errorMaximum execution time of 30 seconds exceeded in /home/upim/domains/upim.co.il/public_html/global.php(400) : eval()'d code on line 188 

i try repair my db and i try to change the plugin in phpmyadmin and disabled all plugins but it still show me the error..
plz help!

Lynne 09-07-2009 07:25 PM

That is a server error, not a vbulletin error - more specifically a php error. You need to increase the max_execution_time variable in php.ini. If you don't have access to change the variables, you will have to ask your host. However, even though it is a php error, and not a vbulletin error, that doesn't mean that you didn't do something wrong in vbulletin to cause this limit to be reached. So, you may want to reconsider whether you want to make that code change.

Medtech 09-07-2009 08:11 PM

wrong link and post, sorry

Marco van Herwaarden 09-08-2009 06:27 AM

I doubt you should place such a coding in the global_start hook location. What should this do?

Brother Malachi 09-08-2009 06:53 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1881478)
I doubt you should place such a coding in the global_start hook location. What should this do?

looks like a loop that in some cases might run for quite a while.
Bad, bad idea.


All times are GMT. The time now is 05:12 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.01581 seconds
  • Memory Usage 1,722KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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