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

where did this error come from???
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=47
Page 1 of 1

Author:  jem71 [ 19. Sep 2005, 21:33 ]
Post subject:  where did this error come from???

Hi,
Im using 1.1.2 and all of a sudden today I get this error message over and over again perhaps 50 times:

arning: fopen() expects parameter 1 to be string, resource given in /home/jeremy/public_html/stencils/view/inc/filefunctions.inc.php on line 299

Warning: fputs(): supplied argument is not a valid stream resource in /home/jeremy/public_html/stencils/view/inc/filefunctions.inc.php on line 300

Warning: fclose(): supplied argument is not a valid stream resource in /home/jeremy/public_html/stencils/view/inc/filefunctions.inc.php on line 301



Its above and below the gallery - have had no trouble with it until today - nothing was changed (that I know of), no pics added, hadnt even touched any files on the server... just appeared out of the blue.

Any ideas as to what it is and how it can be fixed

thanks

jeremy

Author:  TinyWebGallery [ 20. Sep 2005, 16:08 ]
Post subject: 

Hi,

This are the lines where the debug file is written. Something in your environment has changed that causes an error (maybe an update of the php, disk space changes ... ).

1. Open this file and go to this line 299.
Modify the path of the debug file to e.g. cache/my_debug.out or xml/my_debug.out If the debug file is written then you can see whats the problem.

If you don't care and think everything is fine (except this stupid message) simply make a comment /* */ around the body of the function (not the whole function!). Save and retry.

Let me know if you could solve the problem.

/Michael

Author:  jem71 [ 20. Sep 2005, 18:08 ]
Post subject: 

today without doing anything it has diappeared - thanks for the help anyway... Ill keep it in mind next time it happens :)

Author:  TinyWebGallery [ 20. Sep 2005, 22:25 ]
Post subject: 

Hi,

I would check if you have a file called _mydebug.out somewhere.
Maybe you find the problem of this error in there.

Have fun using the gallery

/michael

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