Uploads do not work Uploads do not work
 

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]

Main Menu

Uploads do not work

Started by secckimmo, January 25, 2005, 09:19:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

secckimmo

A few weeks ago I started getting a few problems with the gallery: user favorites, user upload, etc.

I just checked now, and I can't even upload pictures. I just get a broken image when it shows a preview of the image I'm uploading. I haven't changed any settings, deleted any folders, nothing. I don't know why it's suddenly not working.

Help??

Test account:
Username: user
Password: password

kegobeer

Has your host made any changes to PHP, Apache, ImageMagick, etc?
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

secckimmo

Nothing was announced, no.. so not that I know of.

Joachim Müller

check permissions on your edit folder - it appears the edit folder is there, but that it isn't writable for the script.
Enable debug mode for everyone in coppermine config and set upload method to "Single file uploads only" in "groups" to get a better idea (error message) what actually fails.

Joachim

P.S. You forgot to post your URL, it's http://www.thomasjane.org/gallery/

secckimmo

#4
Hah, I did forget to post the link... I thought I was all high-and-mighty posting the temp user account without being told to  ::)

Well I checked the permissions, and they are writeable. I also changed what I think you said in the "groups" thing, but still no luck. I uploaded a file, and then when it got to the page asking me where to place it, the uploaded image was broken. Then, when I pressed continue it said:

"The previous file could not be placed.
You have successfully placed all the files."

I clicked continue, logged out then into the Admin account, and there were no pending uploads.


fraterd

#5
I was having the same problem and come to find out i had the path to my ImageMagick incorrect. Once i changed that and took the "-antialias" out of the command line it worked out fine.


secckimmo

Just tried your suggestion, that didn't work either.

Joachim Müller

you haven't set the upload method to "Single file uploads only" as I suggested. Please do so now for all groups! Then reply here, so we can check. You have to give supporters a chance to actually support you by doing what they tell you to do ::).

Joachim

secckimmo

Alright, I believe I did it right this time.

All I did was misunderstand what you said, I'm sorry.

Joachim Müller

I get
QuoteThe file 'albums/userpics/10003/fruit 5.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127
. This is not a coppermine error, but one from ImageMagick. Switch to GD2 in coppermine's config ("method for resizing images") and see if this cures the problem. If it doesn't, check your ImageMagick path in coppermine's config. Ask your webhost if you're not sure about the path.

Joachim

secckimmo

Okay, it's working now.

Thanks.