Previous Thread
Next Thread
Print Thread
Hop To
#212420 05/16/2008 4:03 AM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Fatal error: Maximum execution time of 30 seconds exceeded in /xxx/xxx/public_html/forum/libs/ubbthreads.inc.php on line 838

How can I change the setting to a different number of seconds?

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
This is a php.ini setting - http://uk3.php.net/manual/en/info.configuration.php#ini.max-execution-time

As default max_execution_time is set to 30 in php.ini

Therefore for some reason whatever you are doing is taking longer than 30 seconds to execute.

Rather than changing this figure, I would investigate to see if you have added something to threads to affect this, or if there is a server issue that is affecting this.

Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
I haven't added anything to Threads, so I guess it might be a server issue. Everytime I try to edit a medium-sized post I have to wait 20+ seconds or get a time-out message.

What setting do I need to change on the server to alleviate this issue? This only happens when editing posts. Server is quite powerful in terms of processing power (multiple Inter Woodcrest) and has 4 GB of RAM.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I would contact your host regarding it - whilst you can increase the timeout via php.ini I would be more concerned at investigating why it is happening.

There maybe something else on the server dragging it down.

Is it a dedicated server? What is the current load like when you get this issue?

Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
It's a dedicated server. I even moved up to a dual Woodcrest with 4 GB RAM, and yet this is still happening.

This happens regardless of the server load, which is close to nothing most of the time. Could it be a mysql setting perhaps?

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Not sure to be honest - mine is also set to 30 seconds which is the default, hence the thought that it might be a server issue rather than a threads issue.

Maybe someone else can assist.

Sorry.

Ian #212566 05/17/2008 12:32 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Well it has to be a server issue as I've never modified anything. The big question is what can be wrong with the server setup if I cannot edit a decent-sized post?

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
not sure - but have you contacted your host and put in a ticket - might be the best initial option smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Geoff), 1,124 guests, and 219 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)