PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
JRSweets
Worker
Worker


Joined: Aug 06, 2004
Posts: 192

PostPosted: Tue Nov 16, 2004 1:33 pm Reply with quote Back to top

If you goto viewonline.php and a user is viewing a forum you will see the forum name. The url is wrong however. For example:

modules. php? name=Forums&file=modules&name=Forums&file=viewforum&f=50

Notice the extra file=modules&name=Forums&.

This is because append_sid is applied twice to the location in viewonline.php

Code:
$location_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $row['session_page']);

and
Code:
'U_FORUM_LOCATION' => append_sid($location_url))


To fix this change:
Code:
'U_FORUM_LOCATION' => append_sid($location_url))

to
Code:
'U_FORUM_LOCATION' => $location_url)
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Wed Nov 17, 2004 8:27 am Reply with quote Back to top

weird.....i dont have that problem....
View user's profile Send private message
JRSweets
Worker
Worker


Joined: Aug 06, 2004
Posts: 192

PostPosted: Wed Nov 17, 2004 8:56 am Reply with quote Back to top

The url still works with the extra "file=modules&name=Forums&" it just shouldn't be there.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Wed Nov 17, 2004 8:58 am Reply with quote Back to top

ok but its not clear who has this problem .....
whatever i try i dont have that ...type....of url... Smile
View user's profile Send private message
JRSweets
Worker
Worker


Joined: Aug 06, 2004
Posts: 192

PostPosted: Wed Nov 17, 2004 9:31 pm Reply with quote Back to top

I have checked many of the big nuke site and the bbtonuke 2.0.10 port and they all have this error in it. Check you viewonline.php file:

If you have these two lines of code you have the error. It will only show when somebody is view a forum and the name of that forum is displayed on the Who's Online Page.
Code:
$location_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $row['session_page']);

Code:
'U_FORUM_LOCATION' => append_sid($location_url))


You can also see that Chatserv has fixed it in the last CVS on bbtonuke.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum