Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Error when Uploading  (Read 4378 times)

0 Members and 1 Guest are viewing this topic.

icemannz

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Error when Uploading
« on: October 13, 2003, 09:11:05 am »

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


Quote
Fatal 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Error when Uploading
« Reply #1 on: October 13, 2003, 03:47:35 pm »

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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Kurse

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Error when Uploading
« Reply #2 on: October 15, 2003, 06:44:44 pm »

edit your /etc/php.ini file (on linux)
edit your c:\windows\php.ini file (on windows)

look for:
Code: [Select]
max_execution_time = 30

and set it to:
Code: [Select]
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 14 queries.