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 25. Nov 2024, 05:22

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  [ 11 posts ] 
Author Message
 Post subject: Help !!!
PostPosted: 14. Aug 2005, 22:39 
Offline

Joined: 14. Aug 2005, 22:21
Posts: 14
Location: uk
I have been running Tiny Web Gallery for sometime now , but I have suddenly had a problem the problem can be seen at #removed_broken_link Black Pigs Cartoons/index.php


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2005, 09:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

looks like the debug file cannot be written.

does the $debug_file point to a place where it can be written?
if you don't have this parameter yet:
go to inc/filefunctions.inc.php line 294
there you can see where the debug should go to - change it to a directory that is writeable.

after that look into the debug file and check what is the real problem.

You can disable the debuging total if you don't care about the problem because everything is running fine -> just put a comment around the debug function.

UPDATE: check #removed_broken_link%20Black%20P ... ydebug.out
There are some jpgs in there that cannot be processed by the gdlib- Please check them.

/Michael


Top
 Profile  
 
 Post subject: HELP
PostPosted: 16. Aug 2005, 09:55 
Offline

Joined: 14. Aug 2005, 22:21
Posts: 14
Location: uk
Have emptied the "counter" folder but still not working.
This is line 293-295
if (file_exists($basedir . "/" . $album)) {

$d = dir($basedir . "/" . $album);
but I don't know how to alter it !
What should it read?


Top
 Profile  
 
 Post subject: Help
PostPosted: 16. Aug 2005, 10:08 
Offline

Joined: 14. Aug 2005, 22:21
Posts: 14
Location: uk
Hi Michael,
Still not working , the final image is preceded by a considerable amount of error messages this
Galleries > animal > Image 5 of 144
Warning: fopen(mydebug.out): failed to open stream: Permission denied in /home/a1classj/public_html/The Black Pigs Cartoons/inc/filefunctions.inc.php on line 294

Warning: fputs(): supplied argument is not a valid stream resource in /home/a1classj/public_html/The Black Pigs Cartoons/inc/filefunctions.inc.php on line 295

Warning: fclose(): supplied argument is not a valid stream resource in /home/a1classj/public_html/The Black Pigs Cartoons/inc/filefunctions.inc.php on line 296





Line 293- 297 reads
if (file_exists($basedir . "/" . $album)) {

$d = dir($basedir . "/" . $album);

$i = 0;


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2005, 11:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Are you in the right file?

inc/filefunctions.inc.php ?

look for the function
/*
function:debug()
*/
function debug($data) {

}

if you comment /* */ the whole body, the message should be gone :).

I think you have a different 1.1.2 then I had as the latest build.
(The filename is still hardcoded there ? - change it that it goes into e.g. the counter folder).
Then check the debug file for the real error.

Some servers don't allow php to write files in the main directory (maybe you admins have changed this ?)

/Michael


Top
 Profile  
 
 Post subject: Help
PostPosted: 16. Aug 2005, 17:29 
Offline

Joined: 14. Aug 2005, 22:21
Posts: 14
Location: uk
In the right file, now getting the following error message

Galleries > adult > Image 2 of 222
Warning: fopen(mydebug.out): failed to open stream: Permission denied in /home/a1classj/public_html/The Black Pigs Cartoons/inc/filefunctions.inc.php on line 587

Warning: fputs(): supplied argument is not a valid stream resource in /home/a1classj/public_html/The Black Pigs Cartoons/inc/filefunctions.inc.php on line 589

Warning: fclose(): supplied argument is not a valid stream resource in /home/a1classj/public_html/The Black Pigs Cartoons/inc/filefunctions.inc.php on line 591

Would I be better off uninstalling and uploading the latest version?


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2005, 18:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
1.2 is quite stable already.

But I don't understand :filefunctions.inc.php on line 587
That file does not have that much lines !

Have you installed something from the 1.2 version? (filefunctions is much bigger there).

If you don't have changed a lot of the layout by yourself 1.2 should be installed pretty quickly.
And I think the new features of 1.2 can be nicly used for you - e.g. folder.txt :)

Make sure to download twg again because I upload small fixes without making a new version!

/Michael


Top
 Profile  
 
 Post subject: Help
PostPosted: 16. Aug 2005, 22:08 
Offline

Joined: 14. Aug 2005, 22:21
Posts: 14
Location: uk
I have now installed the new version, everything is OK except the opening page which has the flags vertical , taking up a lot of the page , how do I correct that?
Also I have the following text showing
"This is the description of the main folder stored in folder.txt
Change the title above in the language files!"
What file do I edit to get rid of that?


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2005, 23:03 
Offline

Joined: 4. Aug 2005, 09:22
Posts: 10
In the folder called ../pictures there is a file called folder.txt
you can edit that text... or delete the file...

this is the text you wanted to delete or edit.

Additional you said that the flags are vertical.
When i take a look in your gallery the flags are correct (like a menu dropping verticaly when clicked on)
Maybe you fixed that... Michael have the solution for that if you still see that problem.

Vidar


Top
 Profile  
 
 Post subject:
PostPosted: 16. Aug 2005, 23:30 
Thanks Vidar, all OK now.
Topic Closed


Top
  
 
 Post subject: Help
PostPosted: 16. Aug 2005, 23:32 
Offline

Joined: 14. Aug 2005, 22:21
Posts: 14
Location: uk
Help wrote:
Thanks Vidar, all OK now.
Topic Closed


Forgot to login first The above was me :oops:


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 20 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