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

Help !!!
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=17
Page 1 of 1

Author:  the black pig [ 14. Aug 2005, 22:39 ]
Post subject:  Help !!!

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

Author:  TinyWebGallery [ 16. Aug 2005, 09:32 ]
Post subject: 

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

Author:  the black pig [ 16. Aug 2005, 09:55 ]
Post subject:  HELP

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?

Author:  the black pig [ 16. Aug 2005, 10:08 ]
Post subject:  Help

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;

Author:  TinyWebGallery [ 16. Aug 2005, 11:19 ]
Post subject: 

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

Author:  the black pig [ 16. Aug 2005, 17:29 ]
Post subject:  Help

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?

Author:  TinyWebGallery [ 16. Aug 2005, 18:21 ]
Post subject: 

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

Author:  the black pig [ 16. Aug 2005, 22:08 ]
Post subject:  Help

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?

Author:  vidar [ 16. Aug 2005, 23:03 ]
Post subject: 

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

Author:  Help [ 16. Aug 2005, 23:30 ]
Post subject: 

Thanks Vidar, all OK now.
Topic Closed

Author:  the black pig [ 16. Aug 2005, 23:32 ]
Post subject:  Help

Help wrote:
Thanks Vidar, all OK now.
Topic Closed


Forgot to login first The above was me :oops:

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