FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Errors when trying to view sticky thread after upgrade
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Errors when trying to view sticky thread after upgrade [message #12940] Thu, 18 September 2003 15:23 Go to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
I just upgraded from 2.3.9Rc1 to 2.5.2

When I try to click on a sticky thread, I get this error

Fatal error: Call to a member function on a non-object in /home/ccgwork/public_html/forum/theme/CCGW/msg.php on line 1228


Theme has been rebuilt, and consistancy checker run.


-=BugLaden
Re: Errors when trying to view sticky thread after upgrade [message #12948 is a reply to message #12940] Thu, 18 September 2003 15:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Please send me the file in question.

FUDforum Core Developer
Re: Errors when trying to view sticky thread after upgrade [message #13064 is a reply to message #12940] Sat, 20 September 2003 22:50 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Attached is msg.php
  • Attachment: msg.php
    (Size: 69.44KB, Downloaded 630 times)


-=BugLaden
Re: Errors when trying to view sticky thread after upgrade [message #13076 is a reply to message #12940] Mon, 22 September 2003 01:00 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
The line is:
$thread_rating = $frm->rating ? '&nbsp;(<img src="http://www.ccgworkshop.com/forum/theme/CCGW/images/'.$frm->rating.'stars.gif" border=0 alt="'.$frm->rating.'" />) '.$thread->vote_count().' Vote(s)' : '';


-=BugLaden
Re: Errors when trying to view sticky thread after upgrade [message #13091 is a reply to message #13076] Mon, 22 September 2003 14:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You are using old templates, in the new templates the entry is defined as:
vote: {VAR: frm->n_rating} Vote(s)


FUDforum Core Developer
Re: Errors when trying to view sticky thread after upgrade [message #13104 is a reply to message #12940] Mon, 22 September 2003 15:35 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
What do I need to change in that line then?

A couple other questions: Wwhy didn't my templates upgrade? How do I get my templates to upgrade?



-=BugLaden
Re: Errors when trying to view sticky thread after upgrade [message #13107 is a reply to message #13104] Mon, 22 September 2003 16:06 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
because the upgrade process only modified the 'default' template, the custom templates are up to you to modify.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Login / Logout errors
Next Topic: locking files removes execute permission on scripts/*.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:22:36 GMT 2024

Total time taken to generate the page: 0.05105 seconds