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: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 69
  • Total: 69

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.

Neil

I've uninstalled the topic ratings mod, and I'm STILL getting these errors :-(  Any ideas?!

Neil

Quote from: G6â„¢ on June 07, 2007, 06:10:34 PM
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

Thanks, I'll give that a go! 

The theme is a copy of the default one, it was also happening on the default theme, but I've moved everyone over to the copy for the meantime, and the errors are still going.  I'll try reuploading the TP files then, fingers crossed this sorts it.

Neil

It's still happening :-(  I've got hundreds of pages of errors now:

QuoteApply Filter: Only show the error messages of this member  Ja'moke       Today at 06:39:05 PM
http://chilled.cream.org/corneringneatly/index.php
8: Undefined variable: rating_average
File: /home/chilled/public_html/corneringneatly/Sources/TPortal.php
Line: 1123
   
Today at 06:39:05 PM
http://chilled.cream.org/corneringneatly/index.php
8: Undefined variable: rating_votes
File: /home/chilled/public_html/corneringneatly/Sources/TPortal.php
Line: 1122
   

http://chilled.cream.org/corneringneatly/index.php
8: Undefined variable: aoptions
File: /home/chilled/public_html/corneringneatly/Sources/TPortal.php
Line: 1112
   

Just the same three errors, over and over again.  I don't know what to do. 

If I uninstall TinyPortal, all my settings will be stored in the database, I presume?  I would consider uninstalling and then reinstalling as long as I didn't have to reconfigure everything.


Neil

OK, I think I may be narrowing this down somewhat.  It looks like it ONLY gives an error when people click the "Home" button.  If people click "Forums", then it doesn't seem to register these three errors! 

Another odd thing is that when you do click "Forums", you are taken to the forums, but the "Home" tab is selected.

I did notice one other strange occurrence...when I was testing as a guest, threads were showing the right hand blocks WAY down the page, below the thread posts.  Fine when logged in though.  This didn't bother me as I turned off the right blocks when viewing the forums anyway.

I used package manager to install.  I'm thinking now it may be a good idea to uninstall, manually remove traces of TP (as that seems to be needed), and then try reinstalling.  But I would hate to have to go through all the configuration again.

EDIT:  Just tried switching everyone over to Babylon, and the exact same thing is happening.  Errors are generated for the "Home" page, but it's fine for "Forums"

G6Cad

If you dont mind loosing all the other mods on your site, i can set your forum back to all default files with Tp installed, and you can go from there.
Then you have atleast every thing set back to default and working files.
PM me the FTP info and your forum URL with Admin account if you want to do this.

Neil

Thanks, but what would you do to get the board back in that state?  It's not my server and therefore I'm not comfortable giving out passwords etc. 

I would like to try uninstalling and then reinstalling my TinyPortal to see if this solves the problem.  Would either of these processes delete or over-write the existing data? 

G6Cad

I replace all the SMF and TP files with a set of fresh ones.
And if you dont trust me, then you are on your own i guess.

tick

I would trust G6 with my wife and kids if that means anything to ya.   :)

Neil

Thanks anyway.

I have just uninstalled TinyPortal, and then reinstalled it.  Those three errors are still coming up when anyone clicks the Home button.  I don't know what to try next.

G6Cad

As i said, replace all files (both SMF and TP) with fresh files from the full packages.
Yes, it means you have to reinstall TP again.

This website is proudly hosted on Crocweb Cloud Website Hosting.