Page 1 of 1

Max Execution time

PostPosted: 02. April 2013 11:57
by erzon
This error always showing in my script.. I have 15000 records and seems when I try to extract the records the max time limit appear.. I already change it to php.ini but still no effect. i even set it to 0 and time limit set to -1 for unlimited... but still the same I restart the xampp already and the apache still the same problem..

Im using Windows 7
Control Panel: version 3
Xampp: 1.8.1

Re: Max Execution time

PostPosted: 02. April 2013 12:04
by Altrea
Hi erzon,

Please start new threads with the words "Hi" or "Hello". A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning is the first positive impression you can leave here and helps to get polite answers too. Please keep that in mind if you start a new thread in any community board. Thank you.

erzon wrote:I already change it to php.ini but still no effect. i even set it to 0 and time limit set to -1 for unlimited... but still the same I restart the xampp already and the apache still the same problem..

Please open your orange XAMPP Administration page (http://localhost/xampp/) and click on the phpinfo() Link in your Navigation.
Which Master and Local Values are listed there for the max_execution_time setting?

best wishes,
Altrea

Re: Max Execution time

PostPosted: 02. April 2013 12:10
by erzon
Hi Sorry if you mis understood my first post...

it says 700 700... i change it to 0 for unlimited and change back to 700 and still not working..

Thank you for quick response in my problem :)

Re: Max Execution time

PostPosted: 02. April 2013 12:15
by Altrea
erzon wrote:it says 700 700... i change it to 0 for unlimited

could you see that it was set to unlimited in the phpinfo() too?
If you setted it to unlimited you should not get this specific error message (or your application overrides the setting).

Re: Max Execution time

PostPosted: 02. April 2013 12:18
by erzon
Hi Altrea.. I change it to unlimited and now its showing 0 0 in max time execution.. even the input time i change it to -1 just to check the results

Re: Max Execution time

PostPosted: 02. April 2013 12:19
by Altrea
And what is the full error message you now get from your script?

Re: Max Execution time

PostPosted: 02. April 2013 12:20
by erzon
Hi I get this

Fatal error: Maximum execution time of 120 seconds exceeded in xxx.php on line 5168

Re: Max Execution time

PostPosted: 02. April 2013 12:22
by Altrea
erzon wrote:Fatal error: Maximum execution time of 120 seconds exceeded in xxx.php on line 5168

Well, then your application overrides the setting.
Somewhere inside your .htaccess or your code the setting is resetted to 120 seconds.

Re: Max Execution time

PostPosted: 02. April 2013 12:25
by erzon
Im using third party program to generate the code.... I will check if the code itself reset the normal settings in php.ini but in my setup it's all unlimited right?

Re: Max Execution time

PostPosted: 02. April 2013 12:28
by Altrea
erzon wrote:in my setup it's all unlimited right?

Yes, your php.ini setting is successfully setted.

Re: Max Execution time

PostPosted: 02. April 2013 12:30
by erzon
Thank you so much for the help at least I know that the only things I need to check is the code itself.. Sorry if you mis understood me earlier.. Thank you again for the quick response

Re: Max Execution time

PostPosted: 02. April 2013 12:33
by Altrea
You are welcome :D

erzon wrote:Sorry if you mis understood me earlier

I don't think i have misunderstood you. I don't think that it was your plan to be impolite. But i don't see any reason why anybody could not start a new thread with the two short letters Hi.

Re: Max Execution time

PostPosted: 02. April 2013 12:36
by erzon
yah I notice that also.. maybe because im in bad shape because of this problem :) and I have a deadline to fix this hehehe..

Re: Max Execution time

PostPosted: 02. April 2013 12:38
by Altrea
Wish you all the best for solving your issue.
Let us now, if your problem could be solved finally 8)

Re: Max Execution time

PostPosted: 05. April 2013 08:35
by erzon
Hi I solved the problem already... this is also because of codes changes the max time..Thank you so much