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: Problem uploading and creating reduced size image  (Read 3117 times)

0 Members and 1 Guest are viewing this topic.

Colas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Problem uploading and creating reduced size image
« on: May 28, 2008, 10:33:56 am »

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
Logged

Colas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem uploading and creating reduced size image
« Reply #1 on: May 28, 2008, 10:35:32 am »

wops I forgot the url !

www.gerardbutler.fr/coppermine
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Problem uploading and creating reduced size image
« Reply #2 on: May 28, 2008, 07:51:22 pm »

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:
Quote
FIRST 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.
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)

Colas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem uploading and creating reduced size image
« Reply #3 on: May 29, 2008, 09:27:23 am »

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.
Logged

Colas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problem uploading and creating reduced size image
« Reply #4 on: June 03, 2008, 10:22:09 pm »

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 !
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Problem uploading and creating reduced size image
« Reply #5 on: June 04, 2008, 04:21:36 am »

Quote
2 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.
Logged
Read Docs and Search the Forum before posting. - Soporte en espaņol
--*--
Fabricio Ferrero's Website

Catching up! :)
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 20 queries.