News: June 24th, 2017, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.3! GET IT NOW!!!

Login  |  Register
* * *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 26, 2017, 11:18:55 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 181136
  • Total Topics: 20323
  • Online Today: 85
  • Online Ever: 383
  • (January 02, 2015, 05:58:49 AM)
Users Online
Users: 1
Guests: 58
Total: 59

Please read the Posting Guidelines


Author Topic: help me understand error related to TP?  (Read 882 times)

0 Members and 1 Guest are viewing this topic.

Offline brynn

  • Jr. Member
  • **
  • Posts: 78
help me understand error related to TP?
« on: May 21, 2017, 02:11:54 PM »
Hi Friends,
I never have understood very well, the different kinds of errors that show up in the SMF Error Log.  But I've got one critical error which has me worried.  It looks like maybe someone tried to hack into TP. At least that's my newbie interpretation. (Newbie as far as the error log.)

I apologize if this is really an SMF problem.  I'm not sure how to tell.  But since TPortal.php is the affected file, it makes me think it's about TP.

Here's the info you request:

Link to my site: https://forum.inkscapecommunity.com/index.php
SMF version: 2.0.13  (I just noticed there's an upgrade, but it gives me some errors on installation, and I need to try and fix those.  I used to have help with that, but not anymore.  So it will take me a little time to sort it out.)
TP version: 1.2
Default Forum Language: English
Theme name and version: Aqua Style 2.0
Browser Name and Version: Firefox 53.02 (32-bit, although I'm not sure why it's not 64-bit...I'll have to investigate)
Mods installed: around 40 mods, could make a list if really necessary
Related Error messages: not sure which part you need, see below for whole thing

The user shown is Guest, with an IP address.

 -- May 16, 2017, 08:32:55 AM
 -- 6af5026145a777d4cc9376977682d3cc
 -- Type of error: Critical

 -- https://forum.inkscapecommunity.com/index.php?cat=1;p=12121121121212.1
 -- Wrong value type sent to the database. Integer expected. (start)
Function: doTPcat
 -- File: /home/brynn/public_html/forum/Sources/TPortal.php
 -- Line: 1039

Is that something I need to be worried about?  Is there something I should do about it?

Thank you very much  :)
« Last Edit: May 24, 2017, 08:06:40 AM by brynn »

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: help me understand error related to TP?
« Reply #1 on: May 21, 2017, 11:09:49 PM »
What's in line 1039 of File: /home/brynn/public_html/forum/Sources/TPortal.php
and what is it related to?

(eg can you see from the area of that file what that might be a response to?)  It is likely that the code will show where it is getting a variable from, that may in turn lead to what caused it.

I'm a rank amateur too, but that's where I'd start looking.

Online illori

  • Administrator
  • *
  • Posts: 1738
Re: help me understand error related to TP?
« Reply #2 on: May 22, 2017, 03:16:03 AM »
looks to me like someone just trying to put in a value in the URL that does not exist and is not correct and as a result it gave an error. i would not worry about it unless it keeps happening from the same ip address.

Offline brynn

  • Jr. Member
  • **
  • Posts: 78
Re: help me understand error related to TP?
« Reply #3 on: May 24, 2017, 07:58:23 AM »
Thanks both illori and VladTepes  :)

Do you mean someone just typing a wrong URL can produce a critical error?

When I first contacted you the other day, it was just one error.  Now there are 9.  They're all identical, except for the IP and the string of numbers under the date. 

And I see lurkalot managed to produce it! So maybe all those new ones are people from this forum testing it?

Well I'm glad to hear it's not a serious problem (like a hacker or something broken).

Thanks again  :)

Edit - I don't know php code, but out of curiosity I looked up line 1039.  It appears to be the end of a section.  The entire line is
Code: [Select]
);

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 46
Re: help me understand error related to TP?
« Reply #4 on: June 05, 2017, 12:17:00 AM »
Oh and by the way in regard to your line in the OP

Quote
Browser Name and Version:  Firefox 53.02 (32-bit, although I'm not sure why it's not 64-bit...I'll have to investigate)

It would pay to consider if an "upgrade" is worthwhile, or perhaps even adverse.
https://www.raymond.cc/blog/mozilla-firefox-64bit-build-performance-compared-to-32bit/