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 23. Oct 2017, 08:08

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 13. Jul 2011, 20:15 
Offline

Joined: 7. May 2009, 20:02
Posts: 46
Location: Latvia
hallo,

I believe it's not a twg problem, anyway - what could I do not to log in _mydebug.out the following error:
ERROR 8 in /usr/local/lib/php/foot.php, line 3: Undefined index: HTTP_X_REQUESTED_WITH

Previously I have had a similar problem with some variables. Then you suggested to assign a false value to these variables in my_config.php ( :wink: ). But now it is not just a simple variable.


Top
 Profile  
 
PostPosted: 13. Jul 2011, 20:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10499
Fix the variable in foot.php. Do you have access to this file.

If not - kick your hoster! Seems someone is adding this to your page.

Best,
Michael


Top
 Profile  
 
PostPosted: 13. Jul 2011, 20:34 
Offline

Joined: 7. May 2009, 20:02
Posts: 46
Location: Latvia
I don't have access to that file :(


Top
 Profile  
 
PostPosted: 13. Jul 2011, 23:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10499
then you should contact your hoster.

you can try to set
$_SERVER['HTTP_X_REQUESTED_WITH']=false;

- Michael


Top
 Profile  
 
PostPosted: 14. Jul 2011, 20:49 
Offline

Joined: 7. May 2009, 20:02
Posts: 46
Location: Latvia
dear Michael,

will you mind if I add

if (stristr($data, 'Undefined index: HTTP_X_REQUESTED_WITH') !== false) {
return;

}
to function output($data, $debug_file) in filefunctions.inc.php ?
I just noticed that there is already one exception and why shouldn't I add another one...


Top
 Profile  
 
PostPosted: 15. Jul 2011, 00:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10499
no - go ahead...


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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® Forum Software © phpBB Group

phpBB SEO