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,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 94
  • Total: 94

Error message in logs...After upgrade

Started by scott_t, February 16, 2012, 10:27:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scott_t

Just upgraded my forum from SMF 1.1.16 to 2.0.2...

I'm a bit frazzled after the upgrade so pardon anything I am overlooking.

All seems to be running fine but I am having an error filling my logs I think is related to shoutbox and TP...

Any help greatly appreciated.

Scott

Link to my site: http://www.true-grit.org/smf
SMF version: 2.0.2
TP version: TinyPortal10_rc3
Default Forum Language: Eng
Theme name and version: Inferno Design By DzinerStudio testing default also
Browser Name and Version: firefox
Mods installed: httpbl, stopforum spam, tiny portal
Related Error messages: Apply Filter: Only show the error messages of this URL
http://true-grit.org/smf/index.php?board=11.0
Apply Filter: Only show the errors with the same message
2: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Apply Filter: Only show the errors from this file
File: /home/truetorg/public_html/smf/Themes/default/languages/TPShout.english.php (tp_above sub template - eval?)
Line: 204

IchBin

Go into Admin > Server settings and check the box to turn off template eval. Clear your error log, then post the error here after you see it again. It should have a different line number and likely a different file name as well.

scott_t

Thanks Ich,

I did that and got this one within seconds...I am looking it up via search on SMF and here also as to not be a helpless goofball...

Scott

Reverse chronological order of list Today at 08:21:18 PM
Apply Filter: Only show the error messages of this session e7cb7041b025fee8b1adacf5f385014d
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://true-grit.org/smf/index.php?/topic,22427.0/prev_next,next.html
Apply Filter: Only show the errors with the same message
2: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Apply Filter: Only show the errors from this file
File: /home/truetorg/public_html/smf/Themes/default/TPsubs.template.php(114) : eval()'d code
Line: 204

IchBin

When you see the "eval()'d" error, it means it's coming from a PHP block or article. Since you aren't on an article page in the URL in your error, I'd say you have a block with some code in it that is not working.

lurkalot

Quote from: IchBinâ,,¢ on February 17, 2012, 03:48:14 AM
When you see the "eval()'d" error, it means it's coming from a PHP block or article. Since you aren't on an article page in the URL in your error, I'd say you have a block with some code in it that is not working.

Was going to say the same, a block originally for SMF 1.1.x which isn't compatible with SMF 2.0.x 

scott_t

Bingo guys....Was block code. Thanks so much.

Scott

This website is proudly hosted on Crocweb Cloud Website Hosting.