PDA

View Full Version : Frustrating problem with 1.5RC4


mickeyjuice
6th of May 2004 (Thu), 09:54
G’day all.

Having run 1.22 for ages, I decided that 1.5 looked stable enough to run, so I cleaned out the old stuff and installed the new version from scratch.

Well, plenty of headaches, partly to do with the server, and partly because the program is a touch obscure at times, but I eventually got it up and running. Partly.

All my ftp checks out OK, the graphics modules is no problems, the paths seem fine.

BUT – when I try to upload a file, (over about 300kb), I get the following message:

Fatal error: Maximum execution time of 30 seconds exceeded in c:\domains\cross.com.au\wwwroot\photos\input\EDITO R_upload.php on line 2

OK, so I decided to play with the ‘source’ file that’s already there. I moved it into the ‘upload’ directory, and resize it and play with it.

Except that when I tell it to ‘upload’, it gets through to 38% (as indicate by the browser), and then just hangs.

So I decided to do an end run around the system, and upload my own sizes with my usual ftp program. No problems. Except that although the thumb and microthumb show up, I can’t work out how to add the image to the exhibition…

Any ideas on solutions? TIA.

Mic

tommykjensen
6th of May 2004 (Thu), 10:20
Fatal error: Maximum execution time of 30 seconds exceeded in c:\domains\cross.com.au\wwwroot\photos\input\EDITO R_upload.php on line 2


Instead of messing with the code how about increasing the timeout for execution of php scipts?

mickeyjuice
6th of May 2004 (Thu), 10:23
Fatal error: Maximum execution time of 30 seconds exceeded in c:\domains\cross.com.au\wwwroot\photos\input\EDITO R_upload.php on line 2


Instead of messing with the code how about increasing the timeout for execution of php scipts?
Is that something I can do somewhere, or do I need to ask my ISP? (The bloke I deal with there owns it and is very helpful, so doing that is not problem.) I'm not PHP-literate at all...

Ta.

tommykjensen
6th of May 2004 (Thu), 10:27
Yes if Your site is at an ISP then they should make the change. It is not certain that he will do it but try asking him to change the timeout to say 5 minutes and see if that makes a difference.

I am not sure, maybe Pekka can answer this, if it is possible to set a higher timeout value in the script?

Pekka
6th of May 2004 (Thu), 11:29
Install http://photography-on-the.net/forum/showthread.php?t=30778 , it has a prolonged internal setting for PHP timeout.