No thumbnails are being created - full size images and resized images being created just fine

hertog123

Joined: 2008-09-23
Posts: 3
Posted: Tue, 2008-09-30 09:46

Gallery URL :http://www.bsdeletterberg.be/gallery/ (debug is on)
Gallery version: 1.5.9
Apache version: 2.2.8
PHP version : v5.2.5
Graphics Toolkit:NetPBM 1.4-pl2
Operating system: Linux

I already have read the other post with he same issue but was not able to find a solution for it.

Debug info on the upload of the pictuer:
save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Processing 1 element.
albumItem.php::506 -> Entering function: 'processNewImage'
albumItem.php::508 -> Processing file: /tmp/phphTIrEZ
albumItem.php::666 -> Start processing single file (image/movie not archive).
albumItem.php::669 -> Extension is accepted.
albumItem.php::671 -> Filename processing.
albumItem.php::720 -> No caption given, generating it.
albumItem.php::479 -> Generated caption. Type: filename
Adding 100_0001.JPG
Album.php::1313 -> Doing the naming of the physical file.
Album.php::1351 -> Image preprocessing
Album.php::1356 -> Resizing/compressing original file
imageManipulation.php::37 -> Resizing Image: /home/bsdelett/public_html/albums/album01/100_0001.jpg.
filesystem.php::109 -> extension of file 100_0001.jpg is jpg
util.php::236 -> Getting Dimension of file: /home/bsdelett/public_html/albums/album01/100_0001.jpg
util.php::246 -> Dimensions: x: 2592 y: 1944
imageManipulation.php::73 -> No resizing required.
imageManipulation.php::676 -> File /home/bsdelett/public_html/albums/album01/100_0001.jpg type 2.
util.php::236 -> Getting Dimension of file: /home/bsdelett/public_html/albums/album01/100_0001.jpg
util.php::246 -> Dimensions: x: 2592 y: 1944
AlbumItem.php::697 -> Generating thumbnail.
AlbumItem.php::700 -> Saved dimensions: width:2592 ; height:1944
AlbumItem.php::778 -> Generating normal thumbs.
imageManipulation.php::37 -> Resizing Image: /home/bsdelett/public_html/albums/album01/100_0001.jpg.
filesystem.php::109 -> extension of file 100_0001.jpg is jpg
util.php::236 -> Getting Dimension of file: /home/bsdelett/public_html/albums/album01/100_0001.jpg
util.php::246 -> Dimensions: x: 2592 y: 1944
imageManipulation.php::797 -> Compressing image: /home/bsdelett/public_html/albums/album01/100_0001.jpg

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161
filesystem.php::109 -> extension of file 100_0001.jpg is jpg

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161
util.php::182 -> Executing: | -xysize 150 150 | --quality=50 >

Results:

none

Debug messages:

Status: 2 (expected 0)
util.php::620 -> Got no capture date. Using file modification time.
util.php::631 -> Item Capture Date: Tue Sep 23 22:31:08 2008
Album.php::881 -> Setting highlight
imageManipulation.php::37 -> Resizing Image: /home/bsdelett/public_html/albums/album01/100_0001.jpg.
filesystem.php::109 -> extension of file 100_0001.jpg is jpg
util.php::236 -> Getting Dimension of file: /home/bsdelett/public_html/albums/album01/100_0001.jpg
util.php::246 -> Dimensions: x: 2592 y: 1944
imageManipulation.php::797 -> Compressing image: /home/bsdelett/public_html/albums/album01/100_0001.jpg

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161
filesystem.php::109 -> extension of file 100_0001.jpg is jpg

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161
util.php::182 -> Executing: | -xysize 200 200 | --quality=70 >

Results:

none

Debug messages:

Status: 2 (expected 0) - Creating resized intermediate Version of 100_0001
imageManipulation.php::37 -> Resizing Image: /home/bsdelett/public_html/albums/album01/100_0001.jpg.
filesystem.php::109 -> extension of file 100_0001.jpg is jpg
util.php::236 -> Getting Dimension of file: /home/bsdelett/public_html/albums/album01/100_0001.jpg
util.php::246 -> Dimensions: x: 2592 y: 1944
imageManipulation.php::797 -> Compressing image: /home/bsdelett/public_html/albums/album01/100_0001.jpg

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161
filesystem.php::109 -> extension of file 100_0001.jpg is jpg

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161

Warning: escapeshellarg() has been disabled for security reasons in /home/bsdelett/public_html/gallery/platform/fs_unix.php on line 161
util.php::182 -> Executing: | -xysize 400 400 | --quality=80 >

Results:

none

Debug messages:

Status: 2 (expected 0)
Album.php::1444 -> Check if image needs to be rotated
Item successfully added.

Thanks,
Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-09-30 11:32

Hello Hertog,

its very obvious whats the problem is:

Quote:
Warning: escapeshellarg() has been disabled for security reasons

Your hoster disabled a PHP function that G1 needs to work.

You can try a hack:
- Open platform/fs_unix.php
- Go to function fs_export_filename
- Comment out the "if" part

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
hertog123

Joined: 2008-09-23
Posts: 3
Posted: Tue, 2008-09-30 12:30

Hi Jens,

This is all what defined under fs_export_filename

function fs_export_filename($filename) {
return $filename;
}

There is no "if" part in comment.

Thanks,
Peter

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-09-30 12:33

Sorry,

meant fs_import_filename

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
hertog123

Joined: 2008-09-23
Posts: 3
Posted: Tue, 2008-09-30 12:49

Hi Jens,

I have put the "if" part in comment and that did the trick I can see now the thumbs.

Thank you very much for your help.

Peter