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

Home » FUDforum » How To » PATH_INFO templates stay on home page
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
PATH_INFO templates stay on home page [message #32933] Fri, 04 August 2006 19:27 Go to next message
OneSeventeen is currently offline  OneSeventeen   United States
Messages: 7
Registered: August 2006
Location: Albuquerque, NM, USA
Karma: 0
Junior Member
I used the test link to see if PATH_INFO style URLs would work, and it did, it took me to the home page. After enabling it in the admin section, and switching to a PATH_INFO template, I still only see the home page, no matter what link I click on.

Am I missing something?


Re: PATH_INFO templates stay on home page [message #32934 is a reply to message #32933] Fri, 04 August 2006 19:59 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 need to use the path_info template set, in the theme manager.

FUDforum Core Developer
Re: PATH_INFO templates stay on home page [message #32935 is a reply to message #32934] Fri, 04 August 2006 20:09 Go to previous messageGo to next message
OneSeventeen is currently offline  OneSeventeen   United States
Messages: 7
Registered: August 2006
Location: Albuquerque, NM, USA
Karma: 0
Junior Member
Yes, I am using the path_info template set. I created a new template, called "Basic" using the path_info template set.

If I did not use that template set, then the links would still point to ?foo=bar rather than /foo/bar

It looks more like enabling PATH_INFO did not have any effect, yet changing to a path_info template set did.

Kind of like having a shiny car with no engine.

I would not be surprised if I missed something else, so feel free to post other ideas that might be newbiesh, since I am, after all, a FUDForum newbie. Smile


Re: PATH_INFO templates stay on home page [message #32938 is a reply to message #32935] Fri, 04 August 2006 22:29 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
Well, you have a default theme. In that theme there is path_info template set, you need to select that and save changes. once that's done click on "rebuild theme" link.

FUDforum Core Developer
Re: PATH_INFO templates stay on home page [message #32939 is a reply to message #32933] Fri, 04 August 2006 22:38 Go to previous messageGo to next message
OneSeventeen is currently offline  OneSeventeen   United States
Messages: 7
Registered: August 2006
Location: Albuquerque, NM, USA
Karma: 0
Junior Member
I guess where I'm getting confused is if the template is actually converting the links to PATH_INFO URLs, then wouldn't that mean I did it correctly and the template has been rebuilt?

So if I go to my forum homepage, and I click on one of the subforums, it takes me to:
http://forums.geekons.com/index.php/f/5/

But, when the page loads, it is simply the home page, even though the template directed me to the PATH_INFO URL, and even though I have set the forum to use PATH_INFO URLs in the general config.

I would not be surprised if there is something that my host is doing that prevents this from working properly, where would I look to find the code that interprets the PATH_INFO URL into variables? Maybe my server's mod_rewrite or traceback functions are configured in a non-standard way?


Re: PATH_INFO templates stay on home page [message #32977 is a reply to message #32939] Mon, 07 August 2006 18:09 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
When I go to your forum, the URLs that are used still look like index.php?foo=bar etc...
This means that you are NOT using the path_info theme.


FUDforum Core Developer
Re: PATH_INFO templates stay on home page [message #32993 is a reply to message #32977] Tue, 08 August 2006 14:58 Go to previous message
OneSeventeen is currently offline  OneSeventeen   United States
Messages: 7
Registered: August 2006
Location: Albuquerque, NM, USA
Karma: 0
Junior Member
Correct, I had to disable the PATH_INFO templates otherwise my forum would be unusable.

I'm not really worried about it anymore, I'm just not going to use the PATH_INFO feature.

I am using other scripts, such as "Gallery2" that use similar techniques, so I know the concept works, I'm just not sure about this implementation of it.

Either way, people are used to seeing things like ?t=post&reply_to=32977& and it is only an added bonus. The forums work great, and I don't need the path_info feature, so I'm going to just chalk it up as another odd "feature" of my web host. (the host was just bought out, and the sites were recently migrated to a new location, so I'm still getting used to the odd quarks here and there)

Thanks for the efforts in helping, but I'm sure it is just a configuration no my host's end. Definitely not worth focusing on unless a lot of other people have the same issue, and it doesn't look like they do.

I'll stop being lazy and poke around a bit to see if I can figure it out. If not, no worries, it is still an awesome forum!


  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: upload avatars does not work, returns no errors
Next Topic: users_mod format + last_login
Goto Forum:
  

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

Current Time: Sun Nov 24 15:44:45 GMT 2024

Total time taken to generate the page: 0.02550 seconds