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 24. Nov 2024, 04:34

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  [ 6 posts ] 
Author Message
PostPosted: 13. Jul 2011, 20:15 
Offline

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