1
ok, i thnik theres a major bug in the banner-part of xoops.
there are two possibilities:
- it works (just for some banners)
- it's not working:
when u click it, u get the php-debug notice:
Notice [PHP]: Undefined index: HTTP_REFERER in file include/functions.php line 441
(function xoops_getenv) thats the line:
$ret = isset($HTTP_SERVER_VARS[$key]) ? $HTTP_SERVER_VARS[$key] : $HTTP_ENV_VARS[$key];
the function is directly called from xoops_refcheck. This function is used in the procedur for the bannerclick.
$key is HTTP_REFERER
So the PHP Notice has a sence because $HTTP_SERVER_VARS['HTTP_REFERER'] doesnt exist.
i tried HTTP_HOST as $key but then, my whole XOOPS was allways saiing: Errors none
so, just kick the xoops_refcheck for the bannerclick???
or has anyone an idea?
edit: same problem on xoops.org. when i click you banners i'm redirected to a blank page (php debug off -> same error).
other users told me for them it works without any problems. so is it just an error i get??? and why ?