User Login

Help Community Login:

Fatal error: Maximum execution time of 30 seconds exceeded in ...

1 reply [Last post]
Phantom's picture
From:
NY
Phantom
Premium Member (Silver)I use FirefoxWindows UserI donated to GeekDrop simply because I love it!I'm MagicThe Dr. put the stem on the apple!Someone thinks you're a Rotten Tomato!
Relationship Status:
In an Open Relationship
Joined: 06/13/2010
Posts: 35
Drops: 69
Mood: Dark

I'm running a Drupal website and whenever I try to do a Search I get this error message:

Quote:

Fatal error: Maximum execution time of 30 seconds exceeded in (path to script)

Then if I just hit the refresh / reload button or the Go button in the location bar it seems to finish the search fine and show the results. Is there some way to increase the Maximum execution time?

I Averaged: 0 | 0 votes


Read More ...





Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
STaRDoGG's picture
From:
Olympus
STaRDoGG
Head Mucky MuckJoined the Dark SidePremium Member (Gold)I'm a Code Monkey!The Steel CurtainI use FirefoxI use Google ChromeI use Internet ExplorerI use SafariLinux UserMac UserWindows UserI donated to GeekDrop simply because I love it!Booga Booga BoogaI took a bite of the AppleFormer Phrozen Crew MemberI'm MagicMember of VileThe Dr. put the stem on the apple!The JokerSomeone thinks you're udderly delightful!
Relationship Status:
Divorced
Joined: 01/14/2009
Posts: 2504
Drops: 2942
Mood: Curious
Re: Fatal error: Maximum execution time of 30 seconds ...
Phantom wrote:

Is there some way to increase the Maximum execution time?

If you're on shared Hosting and/or don't have access to changing the php.ini, there's an .htaccess statement that you can use in your Drupal's settings.php file to increase the Maximum Execution Time, setting it from the default 30 seconds to 60 seconds should be plenty, but if that's not enough you can go to 120 or whatever you choose, although I wouldn't get too out of control with the high numbers.
example:

ini_set('max_execution_time', 60);



Shhh.. dont tell anyone, but we also have a private forum area with the really good stuff, see?

Who's New

Elie Asmar's picture
punith reddy's picture
angryDragon's picture
Ezykeul's picture
freddiependleton's picture
flexnfiness's picture
raphaelbillington's picture
novellanewhouse's picture
chadwickbodiford's picture
lindsayisbrmpkgd's picture
olgapcpwslcplsjeqst's picture
ouidabohndavzzd's picture
daciacubadgeesbzlvcy's picture
numbersmarblefp's picture
thorstenpigdonisvpa's picture
facebook codes exploits tips tricks Phrozen Crew
All contents ©Copyright GeekDrop 2009-2014
TOS | Privacy Policy