Hi guys , i have just installed coppermine 1.1d , and everything is working well bar one thing , when a user goes to upload a picture they get this following error
QuoteFatal error: Maximum execution time of 30 seconds exceeded in c:\ibserver\www\nuke\html\modules.php on line 15
I have no problems upload but then i am running the server , can u please give me some help on this if possible ,
i am running php 4.2.3 and apache on windows with mysql server
And yes u guessed it i have been doing this now for 2 weeks.
Anyway any helpful advice on this would be much appreiacted.
Ice
The first thing I recommend is read a few books on how to properly set up and run a server. You may find some help on these boards, but since this site is geared towards cpg problems it may take a while. Running your own server, especially a windos box, isn't easy. Compiling php with the correct settings and image support isn't easy either.
I'm sure there are some good forums out there that deal with apache that you can get a lot of help from. Google would be a great place to start looking. Also, have you read the entire php manual? http://www.php.net
Like I said, you may get some help on these boards, but in the meantime I'd tap some other sources for server help.
Off the cuff, I'd say you need to increase your maximum_execution_time, but from what I've read this time is normally sufficient. You may have a misconfiguration somewhere else that's causing php to take so long to execute a script.
Not really the answers you were looking for, but at least I gave you some places to start looking.
edit your /etc/php.ini file (on linux)
edit your c:\windows\php.ini file (on windows)
look for:
max_execution_time = 30
and set it to:
max_execution_time = 60
the time is in seconds, so adjust it as necessary. if you are on a hosted server, you will have to ask your admin to up the time. i wouldnt count on that happening though.