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
Forgot the link: www.urbanatrophy.com
Test Account:
UN: test
PW: password
You need to follow the steps outlined in the docs.
4.11.4 Upload troubleshooting (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)
You have skipped ahead to section 4.11.5
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 (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble)
You have skipped ahead to section 4.11.5
I have done those steps. Twice.
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?
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.
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.
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.
sorry i meant 775 not 755
I could not see it in the debug...so then I must ask. What are you using for your images - GD or ImageMagick?
It is set to GD2. I have also tried GD1 with the same results. Imagemaverick didn't work at all.
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.
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.
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.
Yea, they are/have been set correctly.
Screen shots attached.
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
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.
Just a heads up to those of you that have been helping, some of your pictures have been uploading despite the errors.
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/
Double check your config settings. Seems like your 'Max width or height of an intermediate picture' is set to 1px.
Quote from: Nibbler on July 28, 2009, 11:36:34 PM
Double check your config settings. Seems like your 'Max width or height of an intermediate picture' is set to 1px.
Dunno how it got changed but that little "1" was the cause of all those issues. Thanks Nibbler!
Quote from: SpookyDan on July 29, 2009, 12:35:19 AM
Dunno how it got changed
Usually, if that value is set to "1" this means that you have been hacked, so I strongly suggest to sanitize your gallery as suggested in the Yikes thread.
Quote from: SpookyDan on July 29, 2009, 12:35:19 AM
that little "1" was the cause of all those issues.
Great, marking thread as solved.