Bluehost Upgraded Servers / homepage content showing on every page
Posted: 10 January 2008 10:18 AM   [ Ignore ]  
Summer Student
Total Posts:  3
Joined  05-11-2007

Bluehost upgraded their Apache servers last night. Now every page on our site shows the homepage content over and over. For example…

http://www.economybydesign.com/index.php
http://www.economybydesign.com/index.php/about

Both are showing home page content. I called them and asked them if the are still supporting the PATH_INFO variable, and they said that they were and nothing should have changed. However, I noticed that my php.ini file was also replaced by Bluehost during the overnight upgrades.

Any help you can give me would be great.

Profile
 
 
Posted: 10 January 2008 10:25 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23545
Joined  05-20-2002

This is the second one I’ve seen on this- see here for another case.  At the moment, you’ll need to force query strings- see the Kblog entry, it’s a path_info problem.

I’ve suggested in the other thread contacting the host, explaining the problem, and asking them to add support.  For the short term, forcing query strings will solve the problem - see http://www.economybydesign.com/index.php?/aboutus. 

Make sense what’s going on?

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 11 January 2008 11:43 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  3
Joined  05-11-2007

I fixed it by changing two things inside my index.php page.

FIRST: 

$qtype variable was set to 0 (auto). I changed it to 1 (path_info).

$qtype = 1;

SECOND:

Then I looked at around line 78 in the code and made sure that it was:

$path_info = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : @getenv('PATH_INFO');

and not…

$path_info = (isset($_SERVER['ORIG_PATH_INFO'])) ? $_SERVER['ORIG_PATH_INFO'] : @getenv('ORIG_PATH_INFO');

That fixed mine, and it also worked for the guy who posted a similar issue in this forum a couple days earlier. Hope it helps someone else.

Profile
 
 
Posted: 11 January 2008 11:51 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32921
Joined  05-14-2004

Thanks for posting this info, Andy! Glad you got it working =)

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65063 Total Logged-in Users: 51
Total Topics: 82196 Total Anonymous Users: 24
Total Replies: 441740 Total Guests: 238
Total Posts: 523936    
Members ( View Memberlist )
Newest Members:  1nvidiousjaris1skinnygirlaexermk1979Andrew_IDmdutahDanielJ8Forward GearCBlalock