coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: tricoven on February 06, 2006, 05:47:31 AM

Title: uploading problems, no thumbnails created
Post by: tricoven on February 06, 2006, 05:47:31 AM
I've searched this board for similar problems, and there are a lot of solutions, but none of them solved my problem.

I have a similar problem in batch-add:
Warning: getimagesize(albums/insider2/thumb_brianDepart_01.jpg): failed to open stream: Permission denied in /home/virtual/site53/fst/var/www/html/gallery/include/picmgmt.inc.php  on line 230
Unable to create thumbnail or reduced size image.

1.  I did the troubleshooting process, and the debug is available below.  Below is the error I get in browser upload:

The file you have uploaded is not a valid image !
File: /home/virtual/site53/fst/var/www/html/gallery/db_input.php - Line: 282


Warning: getimagesize(albums/userpics/ym09.jpg): failed to open stream: Permission denied in /home/virtual/site53/fst/var/www/html/gallery/db_input.php on line 278

2. All folders are of 777 permissions, I even reset it and then tried to have it at 755 and still the same problem.
3. This doesn't work for me: http://forum.coppermine-gallery.net/index.php?topic=23342.0
4. And the one adding silly safe mode in config.inc.php is that I already have it and still no development.

I'm sorry, I know there has been a lot of topics like this, the solutions u gave worked in those said users but unfortunately for me, every single one of them does not apply. :(

URL of gallery:
http://www.alyssamilano.ws/gallery

user: testing
pass: user


USER:
------------------
Array
(
    [ID] => 60abfffd4c82c63d1264dd7c6eb384b7
    [am] => 1
    [liv] => Array
        (
           
Title: Re: uploading problems, no thumbnails created
Post by: Joachim Müller on February 06, 2006, 09:18:21 AM
Don't post debug_output unless requested. Instead, do as suggested in the upload troubleshooting tutorial (http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php).
Title: Re: uploading problems, no thumbnails created
Post by: tricoven on February 06, 2006, 12:06:24 PM
I've already did that, and the error is always like this:

The file you have uploaded is not a valid image !
File: /home/virtual/site53/fst/var/www/html/gallery/db_input.php - Line: 282


Warning: getimagesize(albums/userpics/ym09.jpg): failed to open stream: Permission denied in /home/virtual/site53/fst/var/www/html/gallery/db_input.php on line 278

and the debug is the one i posted just in case.
Title: Re: uploading problems, no thumbnails created
Post by: Nibbler on February 06, 2006, 02:24:52 PM
Please please please follow those instructions, we can't help you if you don't.
Title: Re: uploading problems, no thumbnails created
Post by: tricoven on February 07, 2006, 05:08:41 AM
Done!  Sorry... ;)
It has debug enabled now...

Title: Re: uploading problems, no thumbnails created
Post by: Joachim Müller on February 07, 2006, 07:09:59 AM
Make sure to CHMOD the albums folder and everything within it as suggested in the docs - the user the webserver runs under needs write permissions. If you're not sure, ask your webhost for support.