Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
0 registered (), 33 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/07/07
Posts: 218
Top Posters (30 Days)
Ruben 46
Bert 26
Gizmo 18
Rob Provencher 10
Rimex 9
SD 7
sw55 7
Eugene 5
Matthias1976 4
Dunny 3
Latest Photos
Uhm...
Mayan End of World
Gas Station Disco Video Shoot
Test Pictures
Audrey Kate
Page 2 of 3 < 1 2 3 >
Topic Options
#228599 - 08/24/09 08:53 AM Re: spider friendly URLs [Re: Bad Frog]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 596
Loc: Coast of Maine
this is the answer I was given...
Quote:

PATHINFO works fine, except there is a php bug with it.

If your using php, php breaks it, and you probably need to have it look for $_SERVER["ORIG_PATH_INFO"] also, instead of just $_SERVER["PATH_INFO"]

A search/replace should get it working.
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#228600 - 08/24/09 09:54 AM Re: spider friendly URLs [Re: Bad Frog]
Gizmo Online   cat

Registered: 06/05/06
Posts: 15455
Loc: Portland, OR; USA
UBB.t7 I believe looks for orig_path_info as of ~7.3 so that isn't really it...

You could try creating a phpinfo.php page:
Code:
<?php phpinfo(); ?>


And then accessing it as:
phpinfo.php/this/is/a/test

Then looking for "this/is/a/test" in the result and seeing if it shows at all...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime Supporter, Beta Tester & Resident Post-A-Holic.
Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Top
#228601 - 08/24/09 09:56 AM Re: spider friendly URLs [Re: Gizmo]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 596
Loc: Coast of Maine
i am at work now and have limted access to the net, will have to wait till I get home to mess with it.
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
#228602 - 08/24/09 10:00 AM Re: spider friendly URLs [Re: Bad Frog]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10177
Loc: Aberdeen, WA
I thought we looked for ORIG_PATH_INFO as well, but it looks like not. But it's a quick change. Line 1310 of libs/ubbthreads.inc.php is where it needs to be changed:

Php Code:

$PATH_INFO = array_get($_SERVER, 'PATH_INFO', '');
 


Change to:

Php Code:

$PATH_INFO = array_get($_SERVER, 'ORIG_PATH_INFO', '');
 
Top
#228603 - 08/24/09 10:03 AM Re: spider friendly URLs [Re: Rick]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 596
Loc: Coast of Maine
thanx for looking into this Rick. will test it out this evening when I get home and let you know what happens.
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
#228604 - 08/24/09 11:24 AM Re: spider friendly URLs [Re: Bad Frog]
Gizmo Online   cat

Registered: 06/05/06
Posts: 15455
Loc: Portland, OR; USA
Really? I could have sworn you updated the code for that way way way back when...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime Supporter, Beta Tester & Resident Post-A-Holic.
Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Top
#228605 - 08/24/09 12:57 PM Re: spider friendly URLs [Re: Gizmo]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10177
Loc: Aberdeen, WA
I was positive as well. However, I looked through the code and didn't find it. I think what happened is was the function was redone by Ian and he just forgot to add the check for ORIG_PATH_INFO back in.
Top
#228607 - 08/24/09 01:20 PM Re: spider friendly URLs [Re: Rick]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 596
Loc: Coast of Maine
that did the trick, spider friendly URLS are now working.
Thanx!
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
#228609 - 08/24/09 01:52 PM Re: spider friendly URLs [Re: Rick]
Gizmo Online   cat

Registered: 06/05/06
Posts: 15455
Loc: Portland, OR; USA
Originally Posted By: Rick
I was positive as well. However, I looked through the code and didn't find it. I think what happened is was the function was redone by Ian and he just forgot to add the check for ORIG_PATH_INFO back in.
It does make sense, he did a lot of updates for 7.3 so a small overlook would explain it...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime Supporter, Beta Tester & Resident Post-A-Holic.
Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Top
#228612 - 08/24/09 04:47 PM Re: spider friendly URLs [Re: Gizmo]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 596
Loc: Coast of Maine
this wont mess with your sitemap mod will it gizmo?
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
Page 2 of 3 < 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Time zone setup
by skicomau
Yesterday at 12:16 AM
Express hosting.
by Ruben
05/16/13 03:54 PM
Level of detail in new user registration emails
by Mitch P.
05/15/13 10:20 PM
Approving users
by Bert
05/15/13 09:22 PM
Users randomly added to other group
by Bert
05/15/13 09:15 PM
Forum Stats
10967 Members
36 Forums
33958 Topics
183410 Posts

Max Online: 978 @ 06/24/07 10:19 PM
Random Image