Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 18:29

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 12. Dec 2010, 17:24 
Offline

Joined: 12. Dec 2010, 17:03
Posts: 4
Hi,

i have two different installations of TWG, the first is v1.8.1 and works like a charm!
The 2nd one is v1.8.3 and displays nothing, no thumbnail, preview or full size pics.

Under section "File and directory permissions", no sample pic is shown but an error text: "Error loading photo".

This is the current debug log:
Code:
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1564: getimagesize(gallery/buttons/border.jpg) [_a href='function.getimagesize'_function.getimagesize_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1565: imagecreatefromjpeg(gallery/buttons/border.jpg) [_a href='function.imagecreatefromjpeg'_function.imagecreatefromjpeg_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1567: imagecopyresampled(): supplied argument is not a valid Image resource
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1569: fopen(gallery/cache/_rotation_available.jpg) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1570: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1571: imagejpeg() [_a href='function.imagejpeg'_function.imagejpeg_/a_]: Unable to open 'gallery/cache/_rotation_available.jpg' for writing: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1572: fopen(gallery/cache/_rotation_not_available.jpg) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1573: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 1574: imagejpeg() [_a href='function.imagejpeg'_function.imagejpeg_/a_]: Unable to open 'gallery/cache/_rotation_not_available.jpg' for writing: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in cs/cmc/gallery/inc/filefunctions.inc.php, line 2122: copy(gallery/buttons/twg.gif) [_a href='function.copy'_function.copy_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 72: fopen(gallery/counter/useronline.txt) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 73: fputs(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 74: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 79: fopen(gallery/counter/ip_data.txt) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 80: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 84: file(gallery/counter/ip_data.txt) [_a href='function.file'_function.file_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 86: Invalid argument supplied for foreach()
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 105: fopen(gallery/counter/ip_data.txt) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 107: fputs(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 109: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 121: fopen(gallery/counter/user_today.txt) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 123: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 157: fopen(gallery/counter/user_today.txt) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 158: fputs(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 159: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 188: fopen(gallery/counter/counter.txt) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 189: fwrite(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 6/htdocs/cmc/gallery/inc/counter.inc.php, line 190: fclose(): supplied argument is not a valid stream resource
12.12.2010 14:45:26 (de) - ERROR 2 in 56/htdocs/cmc/gallery/inc/bottom.inc.php, line 61: fopen(gallery/cache/***DOMAIN_NAME***.sav) [_a href_'function.fopen'_function.fopen_/a_]: failed to open stream: No such file or directory
12.12.2010 14:45:26 (de) - ERROR 2 in 56/htdocs/cmc/gallery/inc/bottom.inc.php, line 62: fclose(): supplied argument is not a valid stream resource


The my_config.php is attached! Any help is very much appreciated, i think it's nothing serious but i just can't figure it out... :?:

And if you eventually read this Michael: Thank you very much for your project(s) and for your contribution to open source community!

Greetz
SpecialMike


Top
 Profile  
 
PostPosted: 12. Dec 2010, 19:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
are you sure that the cache, counter and xml folder are writeable...

If you have 2 installs on the same server the session data can interfere.
Click on the bandwidth icon on the new install to reset this data.

- Michael


Top
 Profile  
 
PostPosted: 13. Dec 2010, 01:37 
Offline

Joined: 12. Dec 2010, 17:03
Posts: 4
access permissions are:
cache 744, counter 755, xml 755, all are reported as "writeable" on the info page.

i re-enabled the bandwidth icon, rebuilt the cache and deleted the session cache, same issue though :(

yes the installations are hosted on one root, but are in different subfolders and also have different domains attached.

Greetz
SpecialMike


Top
 Profile  
 
PostPosted: 13. Dec 2010, 09:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I would reupload all files from TWG (not the pictures).
Delete the cache,xml, counter dir an recreate it.

- Michael


Top
 Profile  
 
PostPosted: 13. Dec 2010, 13:45 
Offline

Joined: 12. Dec 2010, 17:03
Posts: 4
Ok, solved! :D

As you recommended, i deleted cache, counter and xml folders.
Then unpacked a new twg183.zip and upped everything (but pictures folder, my_config.php and my_style.css) again.
I set cache, counter xml to 755 and hardened access with .htaccess-file.

The gallery broke again as i tried to set cache to 744, back on 755 everything's alright!
A little weird because on the other installation, cache has 744 and works fine...

Thanks for your support, Michael !

Greetz
SpecialMike


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy