1
MS-2001
banners: fatal error
  • 2004/11/25 19:02

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


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 ?

2
coopersita
Re: banners: fatal error

It may be your firewall, not allowing to pass the referrer server variable.

check:

This other post

3
MS-2001
Re: banners: fatal error
  • 2004/11/25 20:27

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


it's not my firewall.
with another pc in my network, same config, it works.

4
MS-2001
Re: banners: fatal error
  • 2004/11/26 13:41

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


so, what could it be ?

Login

Who's Online

264 user(s) are online (222 user(s) are browsing Support Forums)


Members: 0


Guests: 264


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits