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

Home » FUDforum Development » Bug Reports » copy of path_info set in 2.6.0 won't work
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
copy of path_info set in 2.6.0 won't work [message #16210] Tue, 20 January 2004 19:32 Go to next message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma: 0
Junior Member
hi,

using a vanilla install of 2.6.0 i can't seem to get a template set (foo_path_info) derived from path_info to work. when i activate it no links in the forum does anything. the original path_info works fine though.

also, when i try the template editor with either of them and my preferred language only the header.tmpl is listed for editing. the "default" (non path_info) set is fine though.
Re: copy of path_info set in 2.6.0 won't work [message #16214 is a reply to message #16210] Tue, 20 January 2004 20:27 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
To enable PATH_INFO you need to do 2 things.

1) enable PATH_INFO in the admin control panel.
2) Create a new theme based on path_info template set and make it default.


FUDforum Core Developer
Re: copy of path_info set in 2.6.0 won't work [message #16215 is a reply to message #16210] Tue, 20 January 2004 20:37 Go to previous messageGo to next message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma: 0
Junior Member
i did my homework before posting. that's not the problem. as i said, using the distributed "path_info" set works, but when i "Create New Template Set" with "Base Template Set:" as "path_info" and use the new one (foo_path_info) as the "Template Set:" of my "default" theme the forum suddenly becomes unresponsive.

that's the first paragraph, we'll save the other one for later =)
Re: copy of path_info set in 2.6.0 won't work [message #16219 is a reply to message #16215] Tue, 20 January 2004 21:45 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
what do you mean by unresponsive? Do pages fail to load with an error?

FUDforum Core Developer
Re: copy of path_info set in 2.6.0 won't work [message #16221 is a reply to message #16219] Tue, 20 January 2004 22:07 Go to previous messageGo to next message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma: 0
Junior Member
ok, heres how i do it

1 install fresh
2 change path_info option to "Yes"
3 edit "default" to use "path_info"
4 test forum - works great

5 "Create template set" foo_path_info with the supplied "path_info" as "Base Template Set:"
6 edit "default" to use "foo_path_info"
7 test forum - the main page comes up but no links on it has any effect, no error, just the same main page as before.

and then...

8 reset "default" to use "default" set again
9 2 change path_info option to "No"
10 test forum - works great
11 do it all again
12 and now it fucking works as supposed!? i hate when this kind of thing happen.

anyway: the second paragraph in my first post still bugs me.
1 enter Template Editor
2 choose any template set of the path_info kind
3 choose swedish
4 page supposed to contain all the *.tmpl files only show header.tmpl
5 test with default and a non-path_info set
6 Template Editor shows complete list of *.tmpl files

it's gonna be a long nite for me it seems =)
Re: copy of path_info set in 2.6.0 won't work [message #16224 is a reply to message #16221] Tue, 20 January 2004 22:57 Go to previous messageGo to next message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma: 0
Junior Member
kokamomi wrote on Tue, 20 January 2004 23:07

ok, 10
...
11 do it all again
12 and now it fucking works as supposed!? i hate when this kind of thing happen.
...



forget it, i was wrong: it still doesn't work... =(
Re: copy of path_info set in 2.6.0 won't work [message #16338 is a reply to message #16221] Mon, 26 January 2004 06:15 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
I guess I can address your second paragraph Smile

Everything is OK with your templates, this is the way the path_info looks in 2.6 (as far as I understand it properly Smile ).

Now "path_info" employing all stuff from "default", but header.


Re: copy of path_info set in 2.6.0 won't work [message #16339 is a reply to message #16221] Mon, 26 January 2004 06:19 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
Silly question: you didn't mention you rebuilt the theme. Did you actually rebuilt it after your switches? Shocked

Re: copy of path_info set in 2.6.0 won't work [message #16353 is a reply to message #16210] Mon, 26 January 2004 20:27 Go to previous messageGo to next message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma: 0
Junior Member
still no luck, made a new install today...

1 install fresh
2 change path_info option to "Yes"
3 edit "default" to use "path_info"
4 test forum - works great
5 "Create template set" foo_path_info with the supplied "path_info" as "Base Template Set:"
6 edit "default" to use "foo_path_info"
7 rebuild theme
8 test forum - the main page comes up but no links in the user bar (Members, Search, FAQ etc.) har effect, no error, just the same main page as before.
forum title links however, bring up an error page saying "You've followed an invalid link, please notify the webmaster"

strange thing i note about the link to the "Test forum" on the home page of an freshly installed FUDforum: when i use the normal path_info set, the link to it is (and wich works):

http://www.ikk.nu/FUDforum2/index.php/f/1/2/83e807c4b50a80a5d9a088a6dbbe1d1 f/?SQ=9cf0fa13c84ffd57b7f3eb7818964bc3

and when i switch to my derived foo_path_info set, the link to it is (wich doesn't work and generates the error):

http://www.ikk.nu/FUDforum2/index.php/f/1/rid=2&S=83e807c4b50a80a5d9a08 8a6dbbe1d1f&SQ=9cf0fa13c84ffd57b7f3eb7818964bc3

can ANYBODY confirm this?

and yes, while using foo_path_info and i copy the same link that works above, into the browser url window, gets me to the right location, so my conclusion is that somehow it's just the links that are generated that are erroneous.

---

for the record, i just made sure that this procedure works 100% in version 2.52, by using a clean install and the above procedure. neither the problem of editing the templates of the "path_info" kind exists in 2.52...

[Updated on: Tue, 27 January 2004 13:39]

Report message to a moderator

Re: copy of path_info set in 2.6.0 won't work [message #16392 is a reply to message #16353] Wed, 28 January 2004 04:14 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

Meanwhile you can do a 'quick-fix', by running
UPDATE fud26_themes SET theme_opt=theme_opt+4 WHERE theme='foo_path_info';


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Buglet in importing NNTP topics
Next Topic: v2.6.0 Editing posts containing underline tags
Goto Forum:
  

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

Current Time: Fri Nov 22 13:29:06 GMT 2024

Total time taken to generate the page: 0.02736 seconds