[Solved]: "Unable to create thumbnail or reduced size image." [Solved]: "Unable to create thumbnail or reduced size image."
 

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

[Solved]: "Unable to create thumbnail or reduced size image."

Started by SpookyDan, July 28, 2009, 01:26:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SpookyDan

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


SpookyDan


Joe Carver

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

Quote from: i-imagine 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

I have done those steps.  Twice.

Joachim Müller

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

File: /db_input.php - Line: 286
, which is caused by the line    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?

SpookyDan

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.

Joachim Müller

Quote from: SpookyDan on July 28, 2009, 02:46:46 PM
The only changes I have done on my forum
Copperminme is not a forum.

Quote from: SpookyDan on July 28, 2009, 02:46:46 PM
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.

SpookyDan

Quote from: Joachim Müller on July 28, 2009, 03:06:41 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.

SpookyDan


Joe Carver

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

SpookyDan

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

Joachim Müller

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.

SpookyDan

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. 

Joachim Müller

The error message
QuoteThe 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.

SpookyDan

Yea, they are/have been set correctly.

Screen shots attached.

Joe Carver

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

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.

SpookyDan

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

SpookyDan

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/