EllisLab text mark
Advanced Search
     
Moved site to new server, now can only access homepage
Posted: 14 June 2012 08:33 PM   [ Ignore ]
Avatar
Joined: 2008-04-26
67 posts

Hi

I’m in the process of migrating a client’s site to a new server. Unfortunately, I’m only able to see the home page. All links redirect back to the home page, even though the paths appear correct in the browser’s address.

Site files and db transferred over without incident, and I logged into the CP fine. I used Deeploy Helper to configure all the paths for the new site. All CSS paths appear to be OK.

I read some of the other similar threads, but my issue seems different as I don’t have an .htaccess file and am not removing index.php from the URL.

The site’s viewable at s419838706.onlinehome.us/index.php I am waiting until everything is running well before I repoint the domain.

Thanks for your help!

 Signature 

Ed Hebert | The Blue Ocean Design & Communications | Massachusetts, USA

 
Posted: 15 June 2012 06:08 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2008-04-26
67 posts

I was able to find a solution at this FAQ, using the code specified for the $path_info variable

http://expressionengine.com/wiki/Workaround_for_Forced_Query_Strings/

My next question is, my next step is to upgrade this install from 1.x to 2.x. Will I need to perform a similar fix in the code once I upgrade? Of note, the client is on a 1and1 business hosting plan.

Thanks

 Signature 

Ed Hebert | The Blue Ocean Design & Communications | Massachusetts, USA

 
Posted: 15 June 2012 03:53 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello Ed,

I am glad to see that you were able to get to the resolution! Nice.

It sounds like you may be on a windows server, if that is the case you may need to stick with forced query strings. It really depends on your hosting setup.

If there is anything else I can help with, please let me know!

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 15 June 2012 03:58 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2008-04-26
67 posts

Hi Shane

Actually, no this is a Linux sever. Weird, because I have another client on 1and1, and didnt have to wrestle with path_info. Will the procedure need to be repeated after my 2.x upgrade? I should note that setting forced query strings by itself didn’t fix the issue.

 Signature 

Ed Hebert | The Blue Ocean Design & Communications | Massachusetts, USA

 
Posted: 18 June 2012 12:38 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello Ed Hebert,

I am not sure, I would think not, but I do not know what your environment looks like. It really depends on your server. But I see this being needed so rarely that I would think not.

Does that help?

Thank you,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 18 June 2012 12:49 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2008-04-26
67 posts

Thanks. I guess I’ll just give it a shot and report back with how it goes!

 Signature 

Ed Hebert | The Blue Ocean Design & Communications | Massachusetts, USA

 
Posted: 18 June 2012 04:55 PM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hi Ed,

I will be on the lookout for your update.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 18 June 2012 07:43 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2008-04-26
67 posts

Hi Shane-

When attempting to upgrade, I got the following error:

A Database Error Occurred

Error Number
1060

Duplicate column name 
'can_search'

ALTER TABLE exp_member_groups ADD COLUMN can_search char(1NOT NULL default 'n'

Filenameupdates/ud_009.php

Line Number
112 

Not sure how to best proceed at this point. Please advise, thanks.

 Signature 

Ed Hebert | The Blue Ocean Design & Communications | Massachusetts, USA

 
Posted: 20 June 2012 12:10 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey Ed,

That error seems to indicate that there are still artifacts in the DB. Did you drop the tables before you started the process? You may want to start with a new DB if you can, somehow things are not being cleared out.

It might also be worth paying a Developer to help you with the upgrade process, maybe someone from the Pro Network.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade