Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

forum_threads_list_panel issue

Asked Modified Viewed 3,157 times
K
kneekoo
K
  • Senior Member, joined since
  • Contributed 289 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
  • Answered 1 question
asked
Senior Member

infusions\forum_threads_list_panel\my_posts.php has an error.

Here's line 43:
<td class='$row_color'><span class='small'><a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."&pid=".$data['post_id']."#post_".$data['post_id']."' title='".$data['post_subject']."'>".trimlink($data['post_subject'], 40)."</a></span></td>


There's a $rstart variable used. I think that's mistyped and should be replaced with $rowstart. Is that correct?
0 replies

2 posts

F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

No, its a redundant variable.
0 replies
K
kneekoo
K
  • Senior Member, joined since
  • Contributed 289 posts on the community forums.
  • Started 12 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

Thanks for your answer. I asked that because I had a lot of errors when accessing the "My Recent Posts" (my_posts.php) link. I mean this:

Quote

Notice: Undefined variable: rstart in /infusions/forum_threads_list_panel/my_posts.php on line 43

Right after that I took a look at the variables inside the file and I noticed there's "rowstart" among them. I replaced $rstart with $rowstart and I got rid of those messages.

Is that ok?

//EDIT
It's not ok. After replacing it with $rowstart the links don't work anymore. Then I think it's safe for me to delete $rstart. That way I won't see the notices. I hope that's ok.

//LATER EDIT
I removed ".$rstart." and everything works. The strange thing is your site doesn't have that error and I've check the my_posts.php file on hte CVS and it has that $rstart in place. This puzzles me. However, removing ".$rstart." solved my issue.
Edited by kneekoo on 16-04-2007 07:21,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet