forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: scrich on September 29, 2006, 12:26:01 pm

Title: Error in batch upload
Post by: scrich on September 29, 2006, 12:26:01 pm
Hi everybody.

When I try to batch images, the last step has got a result as: "Unable to create thumbnail or reduced size image". Thumb config is GD 2.x so I don't already know what to do.

http://www.antoniorull.com/fotos/

User: test
Pass: test

Thx.
Title: Re: Error in batch upload
Post by: Sami on September 29, 2006, 02:39:27 pm
you should enable debug mode for everyone !
do as suggested ubder upload troubleshooting doc.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Error in batch upload
Post by: scrich on September 29, 2006, 03:39:59 pm
I've already done.
Title: Re: Error in batch upload
Post by: Sami on September 29, 2006, 03:48:31 pm
Your GD2 (method of resizing) is fine , but you failed to do as suggested under Upload troubleshooting doc:


Do as suggested

Also check the albums folder permission (and the sub folders) it should be 777 or 755
Title: Re: Error in batch upload
Post by: scrich on September 29, 2006, 04:25:59 pm
I did it and we I tried to upload one single file:

Quote
ˇImposible mover 97-uy_como_te_pillen_haciendo_botellon.jpg a albums/userpics/10001/ !

Fichero: /home/antoniorull.com/htdocs/fotos/db_input.php - Línea: 355

 :-[
Title: Re: Error in batch upload
Post by: Sami on September 29, 2006, 09:36:38 pm
No you didn't !!!!
if you want support  you MUST
Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
Title: Re: Error in batch upload
Post by: scrich on September 29, 2006, 11:56:09 pm
I'm sorry, I thought it's only for admin group. It's already done for all groups.
Title: Re: Error in batch upload
Post by: Sami on September 30, 2006, 05:41:46 am
You have permission issue ...
Check your permission on the /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT directories. All should be 777 or 755
Title: Re: Error in batch upload
Post by: scrich on September 30, 2006, 01:26:05 pm
You have permission issue ...
Check your permission on the /ALBUMS, /ALBUMS/USERPICS, AND /ALBUMS/EDIT directories. All should be 777 or 755
All folders you said are chmoded 777
Title: Re: Error in batch upload
Post by: Sami on September 30, 2006, 01:32:37 pm
PM me a fp account to gallery and an admin account of it (if it's okey with you)
Title: Re: Error in batch upload
Post by: kegobeer on September 30, 2006, 04:54:46 pm
Different servers allow different permissions.  For instance, 777 does not work on my server.  I must use 775.  Have you asked your host which permissions are required?
Title: Re: Error in batch upload
Post by: Joachim Müller on October 01, 2006, 11:19:41 am
As kegobeer pointed out, permissions on folders and files work differently on different server setups, that's why we can't give you a simplified, easy answer like "CHMOD everything to XXX". It's mandatory that you understand how permissions work and you will then have to apply the needed permissions for your server setup. We're aware that this can be hard for newbies who have never dealt with webserver setup before, but you have to understand that this is not related to coppermine in itself, but to your webserver. In an ideal world, all webservers would be set up the same way or even be pre-configured with the permissions coppermine needs. But life sometimes isn't fair, and the world is not an ideal one. So you really have to read the permissions section of the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#permissions) that come with coppermine and set up permissions as suggested there.