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

c_ads
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=2117
Page 1 of 1

Author:  Andra [ 27. Aug 2009, 20:11 ]
Post subject:  c_ads

hello,

I'm not sure this is an error of TinyWebGallery but maybe someone could tell why do it appear. On the (not my) server in the file _mydebug.out there all the time the following error is reported:
08.27.2009 19:11:06 (lv) - ERROR 8 in /usr/lib/php/foot.php, line 1: Undefined variable: c_ads

:? Andra

Author:  TinyWebGallery [ 27. Aug 2009, 22:15 ]
Post subject: 

TWG does not have this variable - the file that is reporting it does not even belong to TWG.

TWG registerd the global error handler for php so if you include other files the errors of them are in the debug file as well.
you might check the file.

- Michae

Author:  Andra [ 27. Aug 2009, 22:31 ]
Post subject: 

no, I don't have other php files... Ok, the site's problem, only this file growing (but it seems at some point it is overwritten).

Author:  TinyWebGallery [ 27. Aug 2009, 22:40 ]
Post subject: 

does your hoster maybe automatically ad ad's somehow?

- Michael

Author:  Andra [ 28. Aug 2009, 21:21 ]
Post subject: 

it adds some stuff for analytics at the end of each requested page. It is not seen actually (I see it in view>source in browser).

Author:  TinyWebGallery [ 28. Aug 2009, 22:53 ]
Post subject: 

then they have an error in the script.

- Michael

Author:  Andra [ 29. Aug 2009, 19:18 ]
Post subject: 

is there a way to ignore exactly this error occurring in exactly that file? That is, not to report it in the debug file.

Author:  TinyWebGallery [ 29. Aug 2009, 19:40 ]
Post subject: 

you would have to edit my debug writer.

But you might ask your hoster he should fix his script.

- Michael

Author:  Andra [ 29. Aug 2009, 19:43 ]
Post subject: 

not much hope, it's free webhosting

Author:  TinyWebGallery [ 29. Aug 2009, 20:00 ]
Post subject: 

but even a freehoster should be able to write valid php.

You can add
$c_ads=false;

to my_config.php

Then the error is maybe gone.

- Michael

Author:  Andra [ 29. Aug 2009, 20:19 ]
Post subject: 

hmm, I got
08.29.2009 11:17:19 (en) - ERROR 8 in /home/a1716051/public_html/my_config.php, line 112: Undefined variable: c_ads

Author:  TinyWebGallery [ 29. Aug 2009, 20:29 ]
Post subject: 

you used the $

Author:  Andra [ 29. Aug 2009, 20:36 ]
Post subject: 

I hadn't added backslash in $additional

Author:  Andra [ 29. Aug 2009, 20:40 ]
Post subject: 

thank you, seems it stopped (and nothing else wrong from that) :)

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