coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Filmgirl on November 14, 2005, 02:30:32 PM

Title: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 02:30:32 PM
Whenever I try to use it I keep getting this error from the PHP:


Warning: imagejpeg(): Unable to open 'albums/Headshot/thumb_1.jpg' for writing in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 218

Warning: chmod(): Unable to access albums/Headshot/thumb_1.jpg in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 224

Warning: chmod(): No such file or directory in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 224

Warning: getimagesize(): Unable to access albums/Headshot/thumb_1.jpg in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 226

Warning: getimagesize(albums/Headshot/thumb_1.jpg): failed to open stream: No such file or directory in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.

How would I came about fixing that?  ???

Title: Re: Can't use the "Batch add files" feature.
Post by: Nibbler on November 14, 2005, 03:29:24 PM
http://forum.coppermine-gallery.net/index.php?topic=23342
Title: Re: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 04:10:04 PM
Still doesn't want to work.
Title: Re: Can't use the "Batch add files" feature.
Post by: Stramm on November 14, 2005, 07:14:14 PM
you've set permissions of the albums dir to 755 or 777?
Title: Re: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 07:26:13 PM
Quote from: Stramm on November 14, 2005, 07:14:14 PM
you've set permissions of the albums dir to 755 or 777?

It's at 777
Title: Re: Can't use the "Batch add files" feature.
Post by: Joachim Müller on November 14, 2005, 08:13:40 PM
is this what you get displayed in your FTP app or is this what you set it to be? Don't trust your FTP app, it may display crap for CHMOD settings. Re-apply CHMOD. Try 755 if 777 doesn't work for you.
Title: Re: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 08:22:14 PM
Nope, both don't want to work:

Warning: fopen(albums/2003 WB Upfront/thumb_1.jpg): failed to open stream: Permission denied in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 218

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 219

Warning: imagejpeg(): Unable to open 'albums/2003 WB Upfront/thumb_1.jpg' for writing in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 220

Warning: chmod(): Unable to access albums/2003 WB Upfront/thumb_1.jpg in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 226

Warning: chmod(): No such file or directory in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 226

Warning: getimagesize(): Unable to access albums/2003 WB Upfront/thumb_1.jpg in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 228

Warning: getimagesize(albums/2003 WB Upfront/thumb_1.jpg): failed to open stream: No such file or directory in /home/virtual/site27/fst/var/www/html/cpg135/include/picmgmt.inc.php on line 228
Unable to create thumbnail or reduced size image.
Title: Re: Can't use the "Batch add files" feature.
Post by: Joachim Müller on November 14, 2005, 08:24:16 PM
ask your webhost for support then - may be an ownership issue, ask them to CHOWN for you.
Title: Re: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 08:33:50 PM
I have zero issues CHMOD any other file, why this one.  :\'(
Title: Re: Can't use the "Batch add files" feature.
Post by: Joachim Müller on November 14, 2005, 08:57:52 PM
because this probably is not a CHMOD issue, but a CHOWN issue. Happens for files that the server creates. They may be owned by the server instead of you. Like I said: ask your webhost for support.
Title: Re: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 10:54:49 PM
could it be something with the coding of the file that may be incorrect?
Title: Re: Can't use the "Batch add files" feature.
Post by: Joachim Müller on November 14, 2005, 11:27:20 PM
why don't you do as suggested? I already posted the answer, why don't you accept it?
Title: Re: Can't use the "Batch add files" feature.
Post by: Filmgirl on November 14, 2005, 11:45:04 PM
Quote from: GauGau on November 14, 2005, 11:27:20 PM
why don't you do as suggested? I already posted the answer, why don't you accept it?

I already did what you suggested. I'm just wondering. Don't have to be rude.
Title: Re: Can't use the "Batch add files" feature.
Post by: Joachim Müller on November 15, 2005, 08:03:15 AM
what did your webhost reply then?