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

Home » FUDforum » How To » Problems with PATH_INFO temlate set
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problems with PATH_INFO temlate set [message #10584] Thu, 05 June 2003 07:24 Go to next message
belmax is currently offline  belmax   Russian Federation
Messages: 114
Registered: October 2002
Location: Saint-Petersburg, Russia
Karma: 0
Senior Member
Searchengines ignore my forum

I tryed use PATH_INFO style URL

I test my server from CP - test say OK, i see main page of my forum

I follow to your recomendations:
Quote:

As I've mentioned above you can now fully use PATH_INFO based URLS in your forum. To make it work follow these simple instructions:

Go to admin control panel & enable 'Use PATH_INFO style URLs' if your web server supports them.
Now go to the theme manager and create a new theme based on the path_info template set.
Make the new theme default & enable it
Disable the old theme.


But i don't disable old themes, because many users was online.

After this steps i go to forum
Links was changed to new style: http://linuxportal.ru/forums/index.php/f/55/rid=5

I click on the any link
Page was reloaded, but i still stay on the same forums main page - i can't enter in any subforums...

You can see my server configuration:
  • Attachment: phpinfo.php
    (Size: 45.77KB, Downloaded 868 times)


sorry for my poor english Smile

[Updated on: Thu, 05 June 2003 07:28]

Report message to a moderator

Re: Problems with PATH_INFO temlate set [message #10589 is a reply to message #10584] Thu, 05 June 2003 12:36 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
If you do not disable the old themes the users using those themes will see urls which are a mix of PATH_INFO and normal urls, like:
http://linuxportal.ru/forums/index.php/f/55/rid=5

You also need to make sure that the PATH_INFO based theme is made the default theme.


FUDforum Core Developer
Re: Problems with PATH_INFO temlate set [message #10650 is a reply to message #10589] Fri, 06 June 2003 06:38 Go to previous messageGo to next message
belmax is currently offline  belmax   Russian Federation
Messages: 114
Registered: October 2002
Location: Saint-Petersburg, Russia
Karma: 0
Senior Member
I disable all non-rath_info themes
Enable only one path_info based theme, called "russian1251"
In global settings set "Enable path_info" to YES
BUT, if I enter in "global settings" again, i see settings of "Enable path_info" like old (NO)
I change this parameter manually in GLOBALS.php

Same result Sad
links likes as http://linuxportal.ru/forums/index.php/f/55/rid=5

When I click on them, page just reload...

Why CP cannot change settings of "Enable path_info" in Global settings"?

access rigths of GLOBALS.php are 666, owner "www", like other FUD files


sorry for my poor english Smile
Re: Problems with PATH_INFO temlate set [message #10651 is a reply to message #10650] Fri, 06 June 2003 07:41 Go to previous messageGo to next message
belmax is currently offline  belmax   Russian Federation
Messages: 114
Registered: October 2002
Location: Saint-Petersburg, Russia
Karma: 0
Senior Member
one row from apache log:

81.3.159.2 - - [06/Jun/2003:09:51:05 +0400] "GET /forums/index.php/f/36/rid=5 HTTP/1.0" 200 34479 "http://linuxportal.ru/forums/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"


sorry for my poor english Smile
Re: Problems with PATH_INFO temlate set [message #10660 is a reply to message #10651] Fri, 06 June 2003 12:40 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
Hmm... could check that the GLOBALS.php inside the adm/ directory is actually a symlink to the GLOBALS.php inside the include directory?
And that the GLOBALS.php inside the forum's root directory is a symlink the GLOBALS.php in the include/ directory as well.


FUDforum Core Developer
Re: Problems with PATH_INFO temlate set [message #10733 is a reply to message #10660] Mon, 09 June 2003 05:25 Go to previous messageGo to next message
belmax is currently offline  belmax   Russian Federation
Messages: 114
Registered: October 2002
Location: Saint-Petersburg, Russia
Karma: 0
Senior Member
Thanks, Ilia

Partially problem solved - registred user can use forum.
After remaking symlinks to GLOBALS.php.

BUT, anonymous users cannot browse forum. After any click main page just refresh.

Awaiting your help.


sorry for my poor english Smile
Re: Problems with PATH_INFO temlate set [message #10741 is a reply to message #10733] Mon, 09 June 2003 10:46 Go to previous messageGo to next message
belmax is currently offline  belmax   Russian Federation
Messages: 114
Registered: October 2002
Location: Saint-Petersburg, Russia
Karma: 0
Senior Member
I change row #462 in index.php
before:
define('_rsid', ''); define('_rsidl', '');

after:
define('_rsid', '1/'); define('_rsidl', '');

Now guests can browse forum

One more bug:
If PATH_INFO is default template, images with SRC-path like
<img src="images/smiley_icons/icon_rolleyes.gif" border=0 alt="Rolling Eyes">
not work


sorry for my poor english Smile

[Updated on: Mon, 09 June 2003 10:47]

Report message to a moderator

Re: Problems with PATH_INFO temlate set [message #10747 is a reply to message #10741] Mon, 09 June 2003 12:50 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The image url bug in PATH_INFO is fixed in later releases. The anonymous user problem is something I cannot replicate.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Setting default body content for a single forum
Next Topic: Defaults in new Profiles
Goto Forum:
  

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

Current Time: Sun Nov 24 14:29:05 GMT 2024

Total time taken to generate the page: 0.02594 seconds