Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
what to do with Undefined index:HTTP_X_REQUESTED_WITH? https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3058 |
Page 1 of 1 |
Author: | Andra [ 13. Jul 2011, 20:15 ] |
Post subject: | what to do with Undefined index:HTTP_X_REQUESTED_WITH? |
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 ( ). But now it is not just a simple variable. |
Author: | TinyWebGallery [ 13. Jul 2011, 20:24 ] |
Post subject: | Re: what to do with Undefined index:HTTP_X_REQUESTED_WITH? |
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 |
Author: | Andra [ 13. Jul 2011, 20:34 ] |
Post subject: | Re: what to do with Undefined index:HTTP_X_REQUESTED_WITH? |
I don't have access to that file |
Author: | TinyWebGallery [ 13. Jul 2011, 23:01 ] |
Post subject: | Re: what to do with Undefined index:HTTP_X_REQUESTED_WITH? |
then you should contact your hoster. you can try to set $_SERVER['HTTP_X_REQUESTED_WITH']=false; - Michael |
Author: | Andra [ 14. Jul 2011, 20:49 ] |
Post subject: | Re: what to do with Undefined index:HTTP_X_REQUESTED_WITH? |
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... |
Author: | TinyWebGallery [ 15. Jul 2011, 00:07 ] |
Post subject: | Re: what to do with Undefined index:HTTP_X_REQUESTED_WITH? |
no - go ahead... |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |