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: Help I can't upload  (Read 6202 times)

0 Members and 1 Guest are viewing this topic.

davidsimosa

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Help I can't upload
« on: December 01, 2005, 08:24:15 am »

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
« Last Edit: December 17, 2005, 05:17:45 am by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help I can't upload
« Reply #1 on: December 01, 2005, 08:43:26 am »

This is the error message I get:
Quote
The 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).
Logged

davidsimosa

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Help I can't upload
« Reply #2 on: December 02, 2005, 01:31:46 am »

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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Help I can't upload
« Reply #3 on: December 02, 2005, 04:56:23 am »

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?
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

davidsimosa

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Help I can't upload
« Reply #4 on: December 16, 2005, 04:25:34 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help I can't upload
« Reply #5 on: December 16, 2005, 05:35:10 pm »

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

davidsimosa

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Help I can't upload
« Reply #6 on: December 16, 2005, 10:47:38 pm »

I already did everything the say there.

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help I can't upload
« Reply #7 on: December 17, 2005, 12:14:42 am »

the actual error message is
Quote
Unable 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...
Logged

davidsimosa

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Help I can't upload
« Reply #8 on: December 17, 2005, 03:32:43 am »

It worked!!!

Thank you so much. Sorry for bothering you so much.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.