Fatal error: Maximum execution time of 3 seconds exceeded in

Categorizes items in your guildbank(s)

Moderator: Mathos

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby meget » Tue Jun 05, 2007 12:10 am

I got this error message:

Fatal error: Maximum execution time of 3 seconds exceeded in bla bla bla/guildbank/gbank.php on line 438

I have read and found out that something with php.ini i contacted my hoster they said they can't change it but my alternative is to play with a script to see if it works faster somehow? Any help here people? Desperate really.

And thanks for making Roster And Cat GuildBank and all other related things! :thumleft:
Last edited by meget on Tue Jun 05, 2007 12:32 am, edited 1 time in total.
User avatar
meget
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Oct 31, 2006 9:53 pm

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby zanix » Tue Jun 05, 2007 4:01 am

3 seconds!
Holy crap that is extremely restrictive
php's default timeout is 30 or 60 seconds (depending on the version)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby meget » Tue Jun 05, 2007 4:24 am

So i thought!....

So no way around it?
User avatar
meget
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Oct 31, 2006 9:53 pm

Re: Fatal error: Maximum execution time of 3 seconds exceede

Postby Satis » Tue Jun 05, 2007 4:45 am

meget wrote:So i thought!....

So no way around it?


It depends on if safe mode is turned on or off. if php safe mode is turned off, go into your settings.php file and right under the <?php tag, input this line:
set_time_limit(60);
this will alow you to setup the max execute time to 60 sec and should be plenty of time to load your site.

Remember this only works if php safe mode is turned off!

hope this help you, else you have to contack you webhost to get them to set it higher.

Kind regards,
Satis
Last edited by Satis on Tue Jun 05, 2007 4:52 am, edited 2 times in total.
Satis
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Tue Jan 16, 2007 9:17 am

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby meget » Tue Jun 05, 2007 12:37 pm

Ah well it is on and no way they are turning it of... I think changing the webhost is a good idea here :)

That is if there are no other ways which i doubt there is ;)

Thanks for your help anyway. Someone else might use it.
User avatar
meget
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Oct 31, 2006 9:53 pm

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby meget » Tue Jun 05, 2007 12:45 pm

Oh did i forgot to mention our guild has 17 banks? :)))
That is an answer to your question as to why it is taking that much time.
4 banks or a bit more load OK. There is trouble with 17
User avatar
meget
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Oct 31, 2006 9:53 pm

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby meget » Tue Jun 05, 2007 3:49 pm

My webhosters just said bla bla bla script has to run faster 3 seconds is enough...
User avatar
meget
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Oct 31, 2006 9:53 pm

Re: Fatal error: Maximum execution time of 3 seconds exceede

Postby Satis » Tue Jun 05, 2007 4:34 pm

meget wrote:My webhosters just said bla bla bla script has to run faster 3 seconds is enough...


lol, yes normaly 3 sec is okay for small scripts, not bigger coding and scripts like wowroster.

well I was you I would realy consider to change webhost.
If you need one that is realy good and cheap then send me an pm.
I'll give you a basic info what this host can offer, but I will not mention it's name unless you send me that pm since this site is not for commercials.

Small info:
360 Gb Quality Webspace
3600 Gb Monthly Data Transfer
1000 MySQL Databases (v4 & v5)
PHP v4.4.4 & PHP v5.2.1
99.98% Server Uptime
and alot more.

I can only say that my guild is happy that we got this webhost, since it made it posible for us to make out own guild videos and was able to steam it directly from out website.


Hope this helps

Kind regards,
Satis
Satis
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Tue Jan 16, 2007 9:17 am

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby meget » Tue Jun 05, 2007 11:55 pm

Info requested :) Check PM.

IF there is a solution please keep the topic open someone brilliant might turn up one day :)
User avatar
meget
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Oct 31, 2006 9:53 pm

Fatal error: Maximum execution time of 3 seconds exceeded in

Postby Satis » Wed Jun 06, 2007 4:49 am

okay got you PM and check it again. have postet back ;)

//Satis
Satis
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Tue Jan 16, 2007 9:17 am


Return to Categorized Guild Bank

Who is online

Users browsing this forum: No registered users and 0 guests

cron