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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 439
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 401
  • Total: 401

Undefined variable: aoptions, rating_votes, rating_average

Started by dmutha, May 16, 2007, 09:28:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dmutha

I'm getting the following errors.

SMF 1.1.2 and Tiny Portal 0.9.8 and I am running SMF_Gallery_Pro 1.7.1

I'm getting the following error message in the error log. Everything seems to work ok, but these messages are making me a bit crazy.

8: Undefined variable: rating_average
File: /home/content/html/smf/Sources/TPortal.php
Line: 1123
   
8: Undefined variable: rating_votes
File: /home/content/html/smf/Sources/TPortal.php
Line: 1122
   
8: Undefined variable: aoptions
File: /home/content/html/smf/Sources/TPortal.php
Line: 1112

Any ideas on how to troubleshoot or fix this?

G6Cad

Not something i have seen here before.
What setup do you have ? And do you have any other mods besides TP installed to your forum ?

dmutha

Quote from: G6â„¢ on May 16, 2007, 10:14:50 PM
Not something i have seen here before.
What setup do you have ? And do you have any other mods besides TP installed to your forum ?

Yes..

Here is the list of all the mods that i've got installed.
1.     Merge Double Posts      1.0.6
2.    SMF Gallery Pro    1.2.2    
3.    Monthly Statistics on Profile    1.0
4.    AutoSig    1.2
5.    Admin Notepad    1.0
6.    Rename Topic    1.0.2
7.    Reason For Editing Mod
8.    Spell Checker    1.0    
9.    User Email System    
10.    Active Members In Topic
11.    Ignore user    1.3    
12.    Ignore Boards    2.0.1    
13.    Max Subject Length    
14.    Enhanced Calendar    
15.    TinyPortal    0.983    
16.    EmailFlash    2.0    
17.    Registered Links    1.0
18.    Users Online Today Mod    1.4.0

granec

I'm having the same kind of report on my forum's error log using SMF 1.1.2, TinyPortal 0.983 and this few mods:

Sticky First Post (extends sticky topic)      1.3.2
YouTube BBC Tag (XHTML Compliant)    1.2

As you can see, almost a clean installation and also using default theme although default language is spanish_es. And by the way the forum's URL is http://bananet.com.ar

Hope this helps.

IchBin

The errors are not TinyPortal errors. They are more than likely mod errors. Try a search at SMF for the name of your undefined error.

Neil

Same error here.  I wondered if it may be related to the Topic Rating mod, but neither of the above posters have it.  Nor do they have any over-lapping mods.

Is this definitely not related to TinyPortal?  I've just looked into TPortal.php and wondered if it could be related to the TP articles.  That's certainly what it looks like to me after an admittedly cursory glance at the afore-mentioned file.

Neil

Just re-downloaded TP and the references to these variables are in a clean unedited copy of TPortal.php so surely this error is directly related to TP, or do you think there is a mod conflict causing the errors? 

grancec has only two mods installed, so I'm inclined to think this is a TP problem.

G6Cad

It's not a TP related error, if you had done the search on SMF forums, you would have seen that it indeed is a conflick error with the rating mod ;)


Neil

I did search the SMF forums, as well as this one, and also Google.  Even running various search terms on there again now, I still can't find anything related to this issue.  Can you possibly direct me to the thread you're seemingly referring to, so that I can see if there is a fix?

G6Cad

Download the manuall install package for TP and upload/replace all the old files through FTP
(make sure you do this to the Default Core theme)

If it's a Tp error this will be fixed if you replace the files with new ones.

You never mentioned what theme you get the errors in

This website is proudly hosted on Crocweb Cloud Website Hosting.