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

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 02:11:51 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 120
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 114
  • Total: 114

Please help! Undefined index: QUERY_STRING Error!

Started by Funny, October 24, 2005, 12:50:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Funny

I getting this error whenever somebody visit my index.php.

8: Undefined index: QUERY_STRING
File: /home/dirname/public_html/dir/forums/Sources/TPortal.php
Line: 65

Running SMF Version: SMF 1.1 RC1.
TinyPortal Version: v.0.7.4.

bloc

Does changing the line in Tportal.php that says:

$context['TPortal']['querystring']=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];


to:
$context['TPortal']['querystring']=$_SERVER['QUERY_STRING'];


work better..?

Funny

Thanks for your quick response Bloc. No errors now!  8)

palorber