Bloc these are some errors I found in the error log. Just passing them on as I am not seeing any problems in the functioning of the site at this time. I have RC1 and tp.73
Mr. E October 07, 2005, 10:46:09 AM
24.19.83.156 39299bdfe27c7fa02cdce5987402ff73
http://www.mretattoo.com/forum2/index.php?action=login
8: Use of undefined constant imagewidth - assumed 'imagewidth'
File: /home/vongr2/public_html/forum2/Themes/default/TPortalBlocks.template.php (eval?)
Line: 4
Mr. E October 07, 2005, 10:46:19 AM
24.19.83.156 39299bdfe27c7fa02cdce5987402ff73
http://www.mretattoo.com/forum2/index.php
8: Undefined index: QUERY_STRING
File: /home/vongr2/public_html/forum2/Sources/TPortal.php
Line: 65
I am getting alot of these, something like 400+pages of them with the line 65 error happening about once for every 13-15 line 4 errors.
You should update to TP074 to make and see if any errors are fixed.
It seems the $GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'] are not defined....
Does changing the lines around 65 on TPortal.php, the one that read:
// get the action
$context['TPortal']['querystring']=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];
to
// get the action
$context['TPortal']['querystring']=$_SERVER['QUERY_STRING'];
..change anything?
Made that change and I got this error with no load of the page.Parse error: parse error, unexpected T_STRING in /home/vongr2/public_html/forum2/Sources/TPortal.php on line 65
I am putting the line back to orginal.
I put line back to what you have in the first line of code and still get Parse error: parse error, unexpected T_STRING in /home/vongr2/public_html/forum2/Sources/TPortal.php on line 64
wich is wierd as line 64 is a comment.
This is what line 64-65 should read:
// get the action
$context['TPortal']['querystring']=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];
Im still getting the same error for some reason. Is it ok to just reupload the original file from your packet.
Yes it OK to replace the file.