TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 83
  • Total: 83

HTTP_SERVER_VARS error in Forum Error Log

Started by iowamf, September 10, 2005, 02:49:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iowamf

I'm getting this message repeated over & over in the Forum Error Log:

* http://shuttle/smf/index.php?action=viewErrorLog

* 8: Undefined index: HTTP_SERVER_VARS
   File: /var/www/html/smf/Sources/TPortal.php
   Line: 50

==
Details: SMF 1.1 Beta 3 Public
TinyPortal v.0.6.5
Standalone Fedora Core 4 / Redhat

Any clues? It doesn't seem to be an issue, other than filling up the Forum Error Log.

bloc

Somehow the HTTP_SERVER_VARS can't be fetched. This line in Tportal.php...
        // get the action
        $context['TPortal']['querystring']=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];

Does using $GLOBALS['_SERVER']['QUERY_STRING'] work without errors filling up?

iowamf

That appears to have worked:

  changing HTTP_SERVER_VARS to _SERVER in Sources/TPortal.php

How many people are using the "Bloc" userid on this site ;-)

Thanks


This website is proudly hosted on Crocweb Cloud Website Hosting.