Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

ERROR 2 in imagefunctions.inc.php (no images visible)
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3076
Page 1 of 1

Author:  rzwarts [ 7. Aug 2011, 22:59 ]
Post subject:  ERROR 2 in imagefunctions.inc.php (no images visible)

This is my first post here so please be forgiving if I am breaking some rules.

I am having issues viewing files in my gallery... can you please help to understand the debug log ?

/inc/imagefunctions.inc.php, line 60: fopen(cache/5_zwarts_10091023_DSC01677.JPG.small.jpg): failed to open stream: No such file or directory
08.07.2011 22:44:48 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 61: fread(): supplied argument is not a valid stream resource
08.07.2011 22:44:48 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 64: fclose(): supplied argument is not a valid stream resource
08.07.2011 22:44:49 (en) - File 'pictures/5_zwarts/10091023/DSC01677.JPG' is too big - it uses ~ 60759 KB. The free memory is 59153 KB. Check the info for the maximum resolution! Please resize the image with an external tool or increase the php memory! If you have autocreate_folder_image=true please turn this off.
08.07.2011 22:44:49 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 46: getimagesize(cache/5_zwarts_10091023_DSC01677.JPG.small.jpg): failed to open stream: No such file or directory
08.07.2011 22:44:49 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 54: filesize(): stat failed for cache/5_zwarts_10091023_DSC01677.JPG.small.jpg
08.07.2011 22:44:49 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 60: fopen(cache/5_zwarts_10091023_DSC01677.JPG.small.jpg): failed to open stream: No such file or directory
08.07.2011 22:44:49 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 61: fread(): supplied argument is not a valid stream resource
08.07.2011 22:44:49 (en) - ERROR 2 in ts.ws/roamler/inc/imagefunctions.inc.php, line 64: fclose(): supplied argument is not a valid stream resource

Thanks!

Author:  TinyWebGallery [ 8. Aug 2011, 10:36 ]
Post subject:  Re: ERROR 2 in imagefunctions.inc.php (no images visible)

What is so hard to understand?

File 'pictures/5_zwarts/10091023/DSC01677.JPG' is too big - it uses ~ 60759 KB. The free memory is 59153 KB. Check the info for the maximum resolution! Please resize the image with an external tool or increase the php memory!

- Michael

Author:  rzwarts [ 9. Aug 2011, 16:23 ]
Post subject:  Re: ERROR 2 in imagefunctions.inc.php (no images visible)

I found a gallery that can handle big files without consuming so much memory. I removed TWG.

Author:  TinyWebGallery [ 9. Aug 2011, 16:55 ]
Post subject:  Re: ERROR 2 in imagefunctions.inc.php (no images visible)

You only have to enable image magick in TWG and everything is fine.

This is not a problem of TWG. It's a problem of the memory php needs for gdlib.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/