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

Home » FUDforum Development » Bug Reports » Broken Links with pathinfo 2.6.0RC2
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Broken Links with pathinfo 2.6.0RC2 [message #13944] Sat, 01 November 2003 15:03 Go to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Hello,
After having upgraded to 2.6.0RC2 I noticed that with pathinfo enabled "Today's Posts", "Unread Posts" and "Unanswered Posts" generate broken links.
The usual theme rebuilding and consistency checks including SQL optimizer where made, so it's definetly a bug in FUD. Looking at the broken links the following is striking:
http://myserver.com/index.php/sel/date/today/frm_id//th//6/

http://myserver.com/index.php/sel/unread/1/frm_id//6/

http://myserver.com/index.php/sel/reply_count/0/frm_id//6/

apparently something is missing where we got the double slashes. It seems to be the value "0" because once I fill up the gaps with it the links show what they're expected to show. Maybe the classical issue with "0" as figure and "boolean"? Dunno as I haven't looked at the code but I'd be looking forward to seeing this fixed because robots can better index if path info is enabled.

Bye
Olliver
Re: Broken Links with pathinfo 2.6.0RC2 [message #13963 is a reply to message #13944] Sat, 01 November 2003 20:32 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
The // is harmless because there is no forum id, so it is not appliable. As for broken links after a little bit of testing the only issue I found was that when you select today's post and then click "unread messages" it seems to loose track and take you to the main page. Inidividual links by themselves appear to work fine.

FUDforum Core Developer
Re: Broken Links with pathinfo 2.6.0RC2 [message #13966 is a reply to message #13963] Sat, 01 November 2003 23:49 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
I'm sure this is a bug and the missing parts between two slashes must have a meaning.
how comes that if I follow one of the three links I'm getting an 404 error? So it does matter.

Another reason why I stick to my claim is if I fill up the // with a "0" in between the issue is solved and the links work again.

you can convince yourself here:

http://bbclone.topfunwebsites.com/

Just

Though it doesn't seem relevant to the problem here's the server profile:
Database Version:  	3.23.58
PHP Version: 	4.3.3
Web Server: 	Apache
WebServer to PHP interface: 	apache
Forum Version: 	2.6.0RC2
Relavent PHP Settings: 	
Safe Mode: 	OFF
Open basedir: 	none
Display Errors: 	ON
File Uploads: 	ON
Magic Quotes: 	OFF
Register Globals: 	OFF
Output Buffering: 	Yes
Disabled Functions: 	none
PDF Support: 	No
Tokenizer Support: 	Yes
PSpell Support: 	Yes
Zlib Support: 	Yes

As you can see quite a normal installation.

Olliver

Re: Broken Links with pathinfo 2.6.0RC2 [message #13970 is a reply to message #13966] Sun, 02 November 2003 17:22 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
Some Apache versions in some cases try to 'resolve' // and in the process loose the hostname. I am not sure why this happens, but it does. It is not a FUDforum bug per-say. I will however take a look @ the code and make it place 0 instead of '' to prevent such a happening.

FUDforum Core Developer
Re: Broken Links with pathinfo 2.6.0RC2 [message #13971 is a reply to message #13970] Sun, 02 November 2003 18:25 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
Fixed in CVS.

FUDforum Core Developer
Re: Broken Links with pathinfo 2.6.0RC2 [message #14035 is a reply to message #13971] Tue, 04 November 2003 10:06 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Thanks for taking the time to look into the issue.

Olliver
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Icon bug.
Next Topic: One extra jump in history
Goto Forum:
  

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

Current Time: Thu Nov 07 21:20:53 GMT 2024

Total time taken to generate the page: 0.02421 seconds