Zen Cart Logo
Forums / General Questions / Broken EzPages after move to new server

Broken EzPages after move to new server

Views: 2,634

Results 1 to 14 of 14
9 Aug 2011, 10:11 PM
#1
slbergh avatar

slbergh

New Zenner

Join Date:
Aug 2011
Posts:
5
Plugin Contributions:
0

Broken EzPages after move to new server

Today I migrated a client's site from one host to another. I got Zen Cart up and running and imported her previous database. Now, however, virtually every link is broken.

For example, clicking About Us (which has ID-20) tries to go to http://culinarysupplies.org/about-us-ezp-20.html, which of course doesn't exist. I'm not that familiar with Zen Cart, although I have used other systems. The information is in the database and shows in the Admin section, but all of the links are broken except Home, Blog (external link) and My Account.

9 Aug 2011, 11:44 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Broken EzPages after move to new server

Did you move ALL the files?

They were using one of the SEO Url 3rd party mods

10 Aug 2011, 12:33 AM
#3
slbergh avatar

slbergh

New Zenner

Join Date:
Aug 2011
Posts:
5
Plugin Contributions:
0

Re: Broken EzPages after move to new server

I copied everything that was in the old web directory. I installed Zen Cart fresh on the new server and copied in the old files and directories. I also dropped all the tables in the default database and imported the backup I'd made before the move. I'm baffled, since I can see the content in the database itself. It's there...I just can't get to it.

None of the category links are working, but if I do a search, I can get to the products, add them to the cart and go through the entire checkout process without issue.

10 Aug 2011, 1:00 AM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,288
Plugin Contributions:
39

Re: Broken EzPages after move to new server

It has Ultimate SEO URLs installed. Under configuration >> SEO URLs reset the cache and make sure ALL of the rules from the old catalog root .htaccess were imported.

~Melanie

10 Aug 2011, 1:56 AM
#5
slbergh avatar

slbergh

New Zenner

Join Date:
Aug 2011
Posts:
5
Plugin Contributions:
0

Re: Broken EzPages after move to new server

I was able to reset the cache, but there was no .htaccess in the old web directory. It was a pretty severely locked down host, so I'm guessing they must've hidden a bunch of files.

Ideas on how to proceed now?

10 Aug 2011, 2:03 AM
#6
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,288
Plugin Contributions:
39

Re: Broken EzPages after move to new server

Some FTP programs do not display [DOT] files. Look for a setting referencing the display of hidden files..... It was/is there on the old site. It contains rewrites for the USEO mo0dule.

~Melanie

10 Aug 2011, 4:26 AM
#7
slbergh avatar

slbergh

New Zenner

Join Date:
Aug 2011
Posts:
5
Plugin Contributions:
0

Re: Broken EzPages after move to new server

I use Filezilla and normally, I can see [DOT] files without a problem.

When I say the old host was locked down, I mean it was REALLY locked down! In their control panel, they had FTP information listed, access to databases and that's it. No options, no preferences, no file manager, no account settings, no nothing. And, to top it off, of course, they're completely unresponsive.

Actually, when I saw the control panel, I urged my client to run away to a new host as soon as possible!

Given that I have what I have, is there any other way to salvage the storefront she has?

10 Aug 2011, 5:58 AM
#8
slbergh avatar

slbergh

New Zenner

Join Date:
Aug 2011
Posts:
5
Plugin Contributions:
0

Re: Broken EzPages after move to new server

I finally solved it by turning off SEO URLs. As soon as I did that, it worked perfectly.

1 Sep 2011, 1:20 AM
#9
contrive_it avatar

contrive_it

New Zenner

Join Date:
Jul 2011
Posts:
34
Plugin Contributions:
0

Re: Broken EzPages after move to new server

I ran into the same problem while transferring a clients files and DB from a working folder under my domain, to his domain. i didnt have any seo addons but what I found s that under each category and custom page, the hardlink was still pointing to the path of the old address. I had to edit each category and custom page to change the link path. I think after you do that, you can reactivate your seo addon and everyhing will work for you.

Hope this helps.

1 Sep 2011, 1:56 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Broken EzPages after move to new server

contrive.it:

I ran into the same problem while transferring a clients files and DB from a working folder under my domain, to his domain. i didnt have any seo addons but what I found s that under each category and custom page, the hardlink was still pointing to the path of the old address. I had to edit each category and custom page to change the link path. I think after you do that, you can reactivate your seo addon and everyhing will work for you.

Hope this helps.
If that was the case then you're using "External links" to point to internal pages, instead of using "internal" links for that purpose as intended.

2 Sep 2011, 2:52 AM
#11
contrive_it avatar

contrive_it

New Zenner

Join Date:
Jul 2011
Posts:
34
Plugin Contributions:
0

Re: Broken EzPages after move to new server

DrByte:

If that was the case then you're using "External links" to point to internal pages, instead of using "internal" links for that purpose as intended.

No, the categories pages made their own internal links but those links would still refer to the path of the old address after having transferred files and db to the new domain.

2 Sep 2011, 2:53 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Broken EzPages after move to new server

... not if the configure.php files were updated properly.

2 Sep 2011, 3:18 AM
#13
contrive_it avatar

contrive_it

New Zenner

Join Date:
Jul 2011
Posts:
34
Plugin Contributions:
0

Re: Broken EzPages after move to new server

DrByte:

... not if the configure.php files were updated properly.

Wrong again doc.

The db didn't really move. it was already on the same server while I was working on the page. Then when the domain was registered to my account, I did a fresh install, linked it to the already existing db, copied all files over and edited both config.php to the new path. So perhaps it was the DB that still kept the old path, I dunno, but that's what happened.

So speaking from a very similar experience, I was just trying to help the OP out. I don't see any purpose in your senseless arguing of what happened when you weren't really there to see. Just a failed attempt to patronize I guess. :no:

2 Sep 2011, 12:37 PM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Broken EzPages after move to new server

Not trying to patronize at all. Merely saying that the actual Zen Cart code only generates URLs using the settings in your configure.php files. Any other URLs it outputs are entries you've hard-coded in the database or your PHP files.