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: [Solved]: Upload error  (Read 4169 times)

0 Members and 1 Guest are viewing this topic.

JCphotog

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 115
[Solved]: Upload error
« on: May 10, 2004, 08:38:11 pm »

Hello!

Everything was working smoothly, and I'm not sure what has changed.  I created a new user for a friend and tried to upload a few images into their gallery loging in with their pass word and user name and I recieved this error:

Quote
No picture was uploaded !

If you have really selected a picture to upload, check that the server allows file uploads...

I haven't changed any permissions on system what do you suggest might be the error?
« Last Edit: May 10, 2004, 10:17:04 pm by GauGau »
Logged

JCphotog

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 115
Re: Upload error
« Reply #1 on: May 10, 2004, 08:43:01 pm »

Weird, I just tried logging in as another user, and had no problems uploading.  Do you think there is a bad setting some where that I am missing?
Logged

JCphotog

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 115
Re: Upload error
« Reply #2 on: May 10, 2004, 08:56:18 pm »

My bad! ;D  the images I was uploading were larger than the limits I set. 
Logged

steveymac

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [Solved]: Upload error
« Reply #3 on: May 28, 2004, 06:13:16 pm »

HEY!  I'm actually still haveing this problem! 
the error "No picture was uploaded !

If you have really selected a picture to upload, check that the server allows file uploads..."
thats it exactly... how do i check that the server allows file uploads???  does it use ftp?? what does it use?? thanks! stephen
Logged

JCphotog

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 115
Re: [Solved]: Upload error
« Reply #4 on: May 28, 2004, 06:17:25 pm »

Did you change the permissions on the upload directories to 777?
Logged

steveymac

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [Solved]: Upload error
« Reply #5 on: May 28, 2004, 06:33:29 pm »

which directory is that?? i don't have one named "upload" 
Logged

steveymac

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [Solved]: Upload error
« Reply #6 on: May 28, 2004, 06:41:51 pm »

well this is strange... i get that error, but it uploads it anyway... know what could be causing that?? lol sorry... its wierd..thanks
Logged

JCphotog

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 115
Re: [Solved]: Upload error
« Reply #7 on: May 28, 2004, 06:57:53 pm »

That's beyond my knowledge.  I'd start a new topic, so you get some attention from the guru's
Logged

Ayla

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
Re: [Solved]: Upload error
« Reply #8 on: June 06, 2004, 12:24:01 am »

Anyone found the solution? I get the same error.

"No picture was uploaded !
If you have really selected a picture to upload, check that the server allows file uploads..."


Everything was great, and now I can't upload pics anymore. I get that error when I try to upload pics one by one. Sometimes it allows me to upload them via batch upload, but most of the time when I try to do it I get another error:

"There was an error while processing a database query".

Thanks in advance

Bel
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Upload error
« Reply #9 on: June 06, 2004, 07:55:43 am »

"No picture was uploaded !
If you have really selected a picture to upload, check that the server allows file uploads..."
Depends on your webserver config. There are some vars in php.ini and apache.conf (that only the server admin can change - if you're webhosted, you can't). Please search this board, there are lengthy threads about this issue. Generally speaking: don't upload pics that a too large in dimensions or filesize.

"There was an error while processing a database query".
Enable debug_mode in coppermine config to see what query actually failed.

GauGau
Logged

Ayla

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 5
Re: [Solved]: Upload error
« Reply #10 on: June 06, 2004, 09:27:31 pm »

Thanks GauGau.
Believe me, I've been searching the board desperately. Today I can upload pics and everything works fine but I'm sure that tomorrow I'll have the same problems again. So it's this instability what is driving me mad, cause at my webserver they keep saying that everything is correct.  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Upload error
« Reply #11 on: June 06, 2004, 11:01:38 pm »

sure, it depends both on the resolution and the filesize of the pics you're trying to upload. Smaller pics can be uploaded, larger ones can't. I didn't want to say the webserver config is wrong, every webhost has good reasons to set up some limits to keep users from doing things that consume too much resources on the webserver (for the sake of the stability of the webserver).
Trust me: the best thing you can do is resize your pics on your client before you upload them!

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 18 queries.