Help I can't upload Help I can't upload
 

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

Help I can't upload

Started by davidsimosa, December 01, 2005, 08:24:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davidsimosa

Please,

Somebody help me. I can't upload images to my gallery. I have created a guest user account. It is guest1 with password guest1. My url is www.davidsimosa.com/cpg132.

Thank you

Joachim Müller

This is the error message I get:
QuoteThe file 'albums/userpics/Beispiel.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /home/virtual/site253/fst/var/www/html/cpg132/db_input.php - Line: 391
What method for image resizing did you set up in coppermine's config? Make sure that you actually have GD, and what version (see FAQ). Make sure the albums folder and everything in it is writable (CHMOD as suggested in the docs).

davidsimosa

What method for image resizing did you set up in coppermine's config?
     R:  GD 2.x
Make sure that you actually have GD, and what version (see FAQ).
     R:   bundled (2.0.28 compatible) - http://www.davidsimosa.com/cpg132/phpinfo.php
Make sure the albums folder and everything in it is writable (CHMOD as suggested in the docs).
     R:     Everything is writable

Thanks

kegobeer

Quote from: GauGau
The file 'albums/userpics/Beispiel.jpg' can't be inserted in the album
albums/userpics/Beispiel.jpg?  Where's the user directory (10010)?  Shouldn't this be albums/userpics/10010/Beispiel.jpg?
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

davidsimosa

Sorry for the delay in the response.

I have tried other things and found out that I don't have any problems uploading other files that are not image formats (i.e. pdf's and doc's). So, it seems that the problem rises when the gallery is trying to resize the uploaded image. I'm using GD 2.x as a resize mode and my website supports it. Could it be that my web hosting service changed something in the server and messed up the GD library.

About your question, "Where's the user directory (10010)?", there wasn't any such folder. I don't know what that folder is. Anyway, I created it and chmoded it to 777, and it still doesn't work.

Thanks  ;D

Joachim Müller

do as suggested in the upload trouble-shooting section of the docs that come with coppermine

davidsimosa

I already did everything the say there.

Thanks

Joachim Müller

the actual error message is
QuoteUnable to create thumbnail or reduced size image.
. Solution: search for your error message. You'll notice that this has been asked very often, and all answers lead to the gloabl sticky thread Coppermine and PHP 4.4.1 - imagejpeg workaround, which deals with a bug in your php version and how to fix it. As you can see, you could have saved a lot of time if you would have searched first...

davidsimosa

It worked!!!

Thank you so much. Sorry for bothering you so much.