TinyPortal
Development => Support => Topic started by: Funny on October 24, 2005, 12:50:58 AM
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.
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..?
Thanks for your quick response Bloc. No errors now! 8)
Had the same problem, worked for me as well.