coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: secckimmo on January 25, 2005, 09:19:19 PM

Title: Uploads do not work
Post by: secckimmo on January 25, 2005, 09:19:19 PM
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
Title: Re: Uploads do not work
Post by: kegobeer on January 25, 2005, 10:37:51 PM
Has your host made any changes to PHP, Apache, ImageMagick, etc?
Title: Re: Uploads do not work
Post by: secckimmo on January 25, 2005, 11:46:10 PM
Nothing was announced, no.. so not that I know of.
Title: Re: Uploads do not work
Post by: Joachim Müller on January 26, 2005, 09:34:03 AM
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/
Title: Re: Uploads do not work
Post by: secckimmo on January 28, 2005, 10:09:54 AM
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.

Title: Re: Uploads do not work
Post by: fraterd on January 28, 2005, 04:54:48 PM
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.

Title: Re: Uploads do not work
Post by: secckimmo on January 28, 2005, 08:59:11 PM
Just tried your suggestion, that didn't work either.
Title: Re: Uploads do not work
Post by: Joachim Müller on January 30, 2005, 08:36:09 AM
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
Title: Re: Uploads do not work
Post by: secckimmo on January 30, 2005, 11:48:08 AM
Alright, I believe I did it right this time.

All I did was misunderstand what you said, I'm sorry.
Title: Re: Uploads do not work
Post by: Joachim Müller on January 30, 2005, 01:36:27 PM
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
Title: Re: Uploads do not work
Post by: secckimmo on January 30, 2005, 08:28:07 PM
Okay, it's working now.

Thanks.