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

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  [ 14 posts ] 
Author Message
 Post subject: c_ads
PostPosted: 27. Aug 2009, 20:11 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
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


Top
 Profile  
 
 Post subject:
PostPosted: 27. Aug 2009, 22:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 27. Aug 2009, 22:31 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
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).


Top
 Profile  
 
 Post subject:
PostPosted: 27. Aug 2009, 22:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
does your hoster maybe automatically ad ad's somehow?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Aug 2009, 21:21 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
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).


Top
 Profile  
 
 Post subject:
PostPosted: 28. Aug 2009, 22:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
then they have an error in the script.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 19:18 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
is there a way to ignore exactly this error occurring in exactly that file? That is, not to report it in the debug file.


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 19:40 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you would have to edit my debug writer.

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

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 19:43 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
not much hope, it's free webhosting


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 20:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 20:19 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
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


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 20:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you used the $


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 20:36 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
I hadn't added backslash in $additional


Top
 Profile  
 
 Post subject:
PostPosted: 29. Aug 2009, 20:40 
Offline

Joined: 7. May 2009, 20:02
Posts: 47
Location: Latvia
thank you, seems it stopped (and nothing else wrong from that) :)


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

All times are UTC + 1 hour [ DST ]


Who is online

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