Problem uploading and creating reduced size image Problem uploading and creating 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

Problem uploading and creating reduced size image

Started by Colas, May 28, 2008, 10:33:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Colas

Hello,

2 months ago, the site I'm working on was hacked via coppermine (I think) and so I upgraded it to version 1.4.18.
Now I can't upload pictures anymore. I read and did everything written in the upload troubleshooting pages but I didn't achieved to solve the problem.

So I decided to create a test-user account and ask some supporters to help me !

The detailed error message is :
"The file 'albums/userpics/10003/butlertest.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image."

I use GD to reduce the pictures and the admin of the webhost say that there's no problem with GD !
The current configuration is the one described in the upload troubleshooting documentation (debug mode for everyone, upload restrictions ...)

Here is the test-user account pass :
    user : test
    pass : test

I hope you'll give me some help !
Thanks
Colas

Colas

wops I forgot the url !

www.gerardbutler.fr/coppermine

Fabricio Ferrero

You are having problem whit permission, please, read the docs: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions

And then, there is a FAQ by Joachim Müller, I'm going to quote:
QuoteFIRST AND FOREMOST: CHECK YOUR PERMISSIONS ON THE /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES.  ALL SHOULD BE 777 OR 755.

If you don't know what we mean when we write 777 or 755,  you need to do a Google search on UNIX file permissions.  Windows has a similar set of file permissions. You can usually set these permissions using your FTP client.     

For those of you who skim over statements written in large letters, I will repeat to try to get your attention:

YES, WE ARE WRITING ABOUT SOMETHING THAT COULD APPLY TO YOU.   

WE REPEAT -- CHECK YOUR PERMISSIONS ON THE /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT DIRECTORIES.  ALL SHOULD BE 777 OR 755.

YES, WE WANT YOU TO CHECK THE PERMISSIONS OF EACH FOLDER EVEN IF YOU THINK YOU HAVE ALREADY DONE THIS. YES, WE MEAN IT.   

There's a section in the docs that tries to explain permissions: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions

Yes, the same link appears again. So, check both and let me know if you could solve it.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Colas

Hello, thanks for answering !

I checked again and again the permissions of the album directory and every directory inside. The permission is 755. I tried to test the upload with the permission 777 too and I always find the same error :

The file 'albums/userpics/10001/butlertest~8.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.


Perhaps there is something I misunderstand in the permissions but I don't know what  :-\.
For now, the album directory permissions are set on 755 and every directory inside too.

Colas

Please I really need some help here !

If there is an obvious problem please tell me what it is because I don't know how to solve it !

Thanks !

Fabricio Ferrero

Quote2 months ago, the site I'm working on was hacked via coppermine

Well, if you try correctly wath I told you and didn't work, unfortunaly you will have to do a bigger work:

http://forum.coppermine-gallery.net/index.php/topic,51927.0.html

Try this guide that Gaugau made for the hacked sites. Good luck! Post your results.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)