PDA

View Full Version : Maximum execution time of 10 sec


c_by_sinus
5th of November 2003 (Wed), 15:04
Hi,
When I do upload images with choosing the resizing-methods (the images are in the UPLOAD-folder), then I get a problem when I choose about 10 images or when I choose 1 image about 350 KB or more.
Because then the message comes:

"Fatal error: Maximum execution time of 10 seconds exceeded in /home/gallery/xxx/gd.php on line 31"

This means for me, I am not able to upload an image more as 350 KB to ee.

Can I choose somewhere a longer execution time?
Is this the choice from my provider?
At the moment I must use the GraphicModule GD1, maybe this could also be the source of this?

Thanks for advise
Markus

kd_121
5th of November 2003 (Wed), 19:29
I think you need to contact your web host admin and ask them to change the PHP MAX EXECUTION TIME to maybe 120 sec or so.

If your site is hosted on an apache server, you can do it yourself by editing the .htaccess file in the root dir. If the file doesn't exist, you can upload the one provided with EE and rename it from "htaccess.txt" to ".htaccess" on your server.

If it's a windows server, the php.ini file in the windows system folder needs to be opened and edited to a higher number for the PHP MAX EXECUTION TIME under Resources section I think.

c_by_sinus
6th of November 2003 (Thu), 00:40
Hi kd_121 ;)
Thanks for this, I will try this for sure!
BTW: it is an Apache-system.
Markus

c_by_sinus
6th of November 2003 (Thu), 10:27
Hi,
But it seems, we must careful with this ;)
I found no such a file with starting point .htaccess, but found a file htaccess.txt.
Because you wrote so, I renamed this file simply.

Cool!

... Server down, nothing did work anymore :(

Puhh, not problem, quick again rename ... hmm, could not find the just rename file.

I could nothing do, I called the admin, and after some grin and words like "hmmm, users should not ..." he repaird the file.

I do not know, seems, that with my ftp-programm (WS_ftp95le) I can not see some files, like these starting with a point.

OK, now I search another provider anyway, because this one seems not so good, therefore this problem will be gone for me soon ...

Markus