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] 2   Go Down

Author Topic: [Solved]: "Unable to create thumbnail or reduced size image."  (Read 11559 times)

0 Members and 1 Guest are viewing this topic.

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39

I know, I know... I have searched the forums and tried everything I could find with no luck.

I get these errors:

During batch add:
"Unable to create thumbnail or reduced size image."  

During User Upload:
The file 'albums/userpics/10001/Lebow01s.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
File: /db_input.php - Line: 402

During batch add even though it says unable to create thumbnail it actually does.  The thumbnails are created and dropped in the album folder.  Still nothing shows up in the album.

Worked fine before a recent update to 1.4.25
« Last Edit: July 29, 2009, 07:54:44 am by Joachim Müller »
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #1 on: July 28, 2009, 01:34:17 am »

Forgot the link:  www.urbanatrophy.com
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #2 on: July 28, 2009, 02:11:16 am »

Test Account:

UN: test
PW: password
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: "Unable to create thumbnail or reduced size image."
« Reply #3 on: July 28, 2009, 03:18:02 am »

You  need to follow the steps outlined in the docs.

4.11.4 Upload troubleshooting 

You have skipped ahead to section  4.11.5

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #4 on: July 28, 2009, 03:24:20 am »

You  need to follow the steps outlined in the docs.

4.11.4 Upload troubleshooting 

You have skipped ahead to section  4.11.5

I have done those steps.  Twice.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "Unable to create thumbnail or reduced size image."
« Reply #5 on: July 28, 2009, 07:31:35 am »

When trying to upload I get
Quote
You don't have permission to perform this operation.

File: /db_input.php - Line: 286
, which is caused by the line
Code: [Select]
    case 'picture':
        if (!USER_CAN_UPLOAD_PICTURES) cpg_die(ERROR, $lang_errors['perm_denied'], __FILE__, __LINE__);
in db_input.php, which is funny, as you never should see this error message in the first place - there shouldn't even be a link to the upload screen if the user doesn't have upload privileges. The error message in that place is a protection against bots and not against humans, so there is something going terribly wrong on your gallery.
Did you apply any custom hacks to the core code?
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #6 on: July 28, 2009, 02:46:46 pm »

The only changes I have done on my forum are basic colors and the addition of the header image.  Maybe a Captcha plug-in a while back.

I have another coppermine thru the same hosting company that I do all the same upgrades/mods to and it is running fine.  I dunno whats wrong with this one.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "Unable to create thumbnail or reduced size image."
« Reply #7 on: July 28, 2009, 03:06:41 pm »

The only changes I have done on my forum
Copperminme is not a forum.

I dunno whats wrong with this one.
Re-apply permissions on the albums folder and everything within it as suggested in the docs. Don't just, check, but apply those permissions.
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #8 on: July 28, 2009, 03:13:57 pm »

Copperminme is not a forum.
Re-apply permissions on the albums folder and everything within it as suggested in the docs. Don't just, check, but apply those permissions.

I have.  I tried applying 777 to albums and all sub folders and files and it didn't work.  I than again tried it with 755 just to be sure and that didn't work either.  It took SmartFTP a good 20-30 minutes to change all the files each time and i did random checks in different folders to be sure it changed everything.
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #9 on: July 28, 2009, 03:26:03 pm »

sorry i meant 775 not 755
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: "Unable to create thumbnail or reduced size image."
« Reply #10 on: July 28, 2009, 04:53:33 pm »

I could not see it in the debug...so then I must ask. What are you using for your images - GD or ImageMagick?

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #11 on: July 28, 2009, 04:54:34 pm »

It is set to GD2.  I have also tried GD1 with the same results.  Imagemaverick didn't work at all.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "Unable to create thumbnail or reduced size image."
« Reply #12 on: July 28, 2009, 05:17:53 pm »

There's no such thing as "ImageMaverick" - it's "ImageMagic" and you can only use that if your server supports it. You can't guess, you need to figure out by looking at the resources suggested in the FAQ.
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #13 on: July 28, 2009, 05:32:46 pm »

Ok...  it would be helpful if YOU could help me with my technical problem and stop picking out my miss wordings, you know what I meant.

And again, I have followed the upload troubleshooting guidelines with no success.  I have searched the forums and tried other suggestions with no success. 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "Unable to create thumbnail or reduced size image."
« Reply #14 on: July 28, 2009, 05:45:00 pm »

The error message
Quote
The file 'albums/userpics/10003/filename.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image
means that the script can't write into the folder http://www.urbanatrophy.com/albums/userpics/10003/, that's why I said that you need to set permissions. If that doesn't help, you need to ask your webhost for support: maybe they need to CHMOD the folder http://www.urbanatrophy.com/albums/ and everything within it for you (depending on your server setup); maybe they need to CHMOD for you.
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #15 on: July 28, 2009, 05:53:59 pm »

Yea, they are/have been set correctly.

Screen shots attached.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: "Unable to create thumbnail or reduced size image."
« Reply #16 on: July 28, 2009, 07:05:56 pm »

From here I can only guess and suggest what I myself would try. I am also very unsure about your Yahoo Traffic Server settings and how they might be affecting your Coppermine.

  • Try removing all plugins and Mods and all of the associated plugin files
  • Try running versioncheck.php - any errors?
  • Try permissions setting 777
  • Try another program for permission setting/ftp (Filezilla is good)

Those are some things I would try, while keeping the "do/undo" close by for confirmation.

Good Luck

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #17 on: July 28, 2009, 08:35:10 pm »

Ok I tried:

-removing plug-ins
-installed filezilla and double checked permissions
-did version check

I had 3 questionable things (attached screenshots)

My other coppermine install www.danhaga.com (same host) has the same issues and its working fine.

2 of the files I cant upload because yahoo doesnt like the "!" in the file name.
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #18 on: July 28, 2009, 09:08:52 pm »

Just a heads up to those of you that have been helping, some of your pictures have been uploading despite the errors.
Logged

SpookyDan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: "Unable to create thumbnail or reduced size image."
« Reply #19 on: July 28, 2009, 11:23:28 pm »

Ok, here is a new development...  I tried some different images, some coppermine smileys.  I was able to upload them fine thru both image upload and batch add.

At first I thought maybe a file type problem so I tried saving my images as a gif and my images still didnt work. 

Next I figured size issue so I resized my images to 15 pixels and saved as a gif.  Still couldn't upload them.

Just as a test I supersized a coppermine smiley to 500 pixels and tried uploading it and it worked!

What is going on here???

Just for reference the images I want to work are here: http://www.urbanatrophy.com/albums/Lebow/

Logged
Pages: [1] 2   Go Up
 

Page created in 0.025 seconds with 19 queries.