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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,055
  • Total Topics: 21,337
  • Online today: 194
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 167
  • Total: 167

error report

Started by envon, October 07, 2005, 06:54:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

envon

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.

IchBin

You should update to TP074 to make and see if any errors are fixed.

bloc

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?

envon

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.

envon

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.

bloc

This is what line 64-65 should read:

    // get the action
        $context['TPortal']['querystring']=$GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'];
     

envon

Im still getting the same error for some reason. Is it ok to just reupload the original file from your packet.

IchBin

Yes it OK to replace the file.

This website is proudly hosted on Crocweb Cloud Website Hosting.