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

Home » FUDforum Development » Bug Reports » I've created a theme based on path_info, but
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
I've created a theme based on path_info, but [message #12362] Wed, 06 August 2003 06:02 Go to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
when I tried to rebuild the theme I got an error:


Undefined template: "pm_notify_subject" inside "private.inc.t"


Same error I can get when just click edit for message template

"private_msg_notify_subj". It's value is


Чтение извещения о: {VAR: m->subject}



Re: I've created a theme based on path_info, but [message #12371 is a reply to message #12362] Wed, 06 August 2003 13: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
Which version of FUDforum are you using and are you using a custom template?

FUDforum Core Developer
Re: I've created a theme based on path_info, but [message #12378 is a reply to message #12371] Wed, 06 August 2003 15:54 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
I'm using 2.5.2 (upgrated) and I've made some minor changes to templates.

Re: I've created a theme based on path_info, but [message #12384 is a reply to message #12378] Wed, 06 August 2003 18:13 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
Did you make modifications before or after the upgrade?

FUDforum Core Developer
Re: I've created a theme based on path_info, but [message #12389 is a reply to message #12384] Wed, 06 August 2003 19:36 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
prottoss wrote on Wed, 06 August 2003 11:13

Did you make modifications before or after the upgrade?


some changes I did before, some after. And I rebuilded the theme couple of times.


Re: I've created a theme based on path_info, but [message #12394 is a reply to message #12389] Wed, 06 August 2003 20:26 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
Do you have pm_notify_subject inside private.tmpl?

FUDforum Core Developer
Re: I've created a theme based on path_info, but [message #12415 is a reply to message #12394] Thu, 07 August 2003 04:19 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
My private.tmpl contains only one line of code:

{PHP_FILE: input: private.inc.t; output: private.inc;}


Re: I've created a theme based on path_info, but [message #12425 is a reply to message #12415] Thu, 07 August 2003 15:43 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
Looks like your templates are old, check inside the 'primary' path info template (path_info/tmpl/register.tmpl) if you have any other data.

FUDforum Core Developer
Re: I've created a theme based on path_info, but [message #12449 is a reply to message #12425] Fri, 08 August 2003 01:28 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
I'm not sure I understand what I'm supposed to check Smile, this register.tmpl does contain a lot of data.

Anyway, I realized I got some mess out there, so how could I get it back to normal?


Re: I've created a theme based on path_info, but [message #12450 is a reply to message #12449] Fri, 08 August 2003 01:37 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
Err sorry I mean private.tmpl

one way to fix this would be to see if your base path_info templates are ok and if they are replace the broken templates in your custom theme with the working ones.


FUDforum Core Developer
Re: I've created a theme based on path_info, but [message #12479 is a reply to message #12450] Fri, 08 August 2003 23:44 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
I made a fresh installation of 2.5.2 on my playground, grabbed whole forum\thm\path_info folder and copied over to the server.

Then I've created new forum\thm\bc_path_info with same content and just updated header.tmpl and footer.tmpl.

I've edit my theme "BC Compass" to base on bc_path_info template set. Theme rebuilded. Forum disabled. Made the theme default. Disabled all other themes. Forum enabled.

Result:

index page - fine. But after entering any forum - wrong path to forum icons (showing just place holders) and ANY forum link doesn't work at all! The only way to restore configuration is to go to phpMyAdmin and manualy update fud_users and fud_themes tables.


Re: I've created a theme based on path_info, but [message #12481 is a reply to message #12479] Sat, 09 August 2003 00:15 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
Did you enable PATH_INFO in the global control panel?

FUDforum Core Developer
Re: I've created a theme based on path_info, but [message #12483 is a reply to message #12481] Sat, 09 August 2003 02:39 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
Yes, I did.

After rebuilding theme once again:

I can visit forums, members list, private msgs etc, but forum and message images still unavailable (path like -forum/index.php/tt/thread/12/2/adm/images/message_icons/icon9.gif ) and I can't go to admin panel.


Re: I've created a theme based on path_info, but [message #12492 is a reply to message #12483] Sat, 09 August 2003 23:57 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
Sounds like your header.tmpl is missing
<a base href=""> tag.


FUDforum Core Developer
icon14.gif  Bingo! [message #12493 is a reply to message #12492] Sun, 10 August 2003 02:31 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
<BASE HREF="{GVAR: WWW_ROOT}"> was missed from non-plain part of the header.tmpl.

Thanks again, prottoss.


BTW, it's not rather critical, but I also missed a "use cookie" checkbox from login Smile How come? And how to return it back?


Re: Bingo! [message #12494 is a reply to message #12493] Sun, 10 August 2003 14:54 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 enable URL sessions via the admin control panel, otherwise the cookies will always be used.

FUDforum Core Developer
Re: Bingo! [message #12497 is a reply to message #12494] Sun, 10 August 2003 18:31 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
will it affect Google indexation? As far as I understand it will cause session number appears in url, right?

Re: Bingo! [message #12505 is a reply to message #12497] Mon, 11 August 2003 11:44 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
Not necessarily, however in most cases I would recommend using cookie sessions only and leave URL sessions disabled. Comperatively speaking, URL sessions are less secure then their cookie based cousins.

FUDforum Core Developer
Re: Bingo! [message #12510 is a reply to message #12505] Mon, 11 August 2003 18:51 Go to previous message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
thanks

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Avatars not working.
Next Topic: Rank Manager Problem
Goto Forum:
  

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

Current Time: Sat Nov 23 17:34:26 GMT 2024

Total time taken to generate the page: 0.03222 seconds