Zen Cart Logo
Forums / Upgrading to 2.x.x / Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

Views: 787

Results 1 to 5 of 5
03 Feb 2025, 17:14
#1
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

I am upgrading my site from Zen Cart v.1.5.8 to v.2.1.

I have completed by test site on my local computer, all addons inserted, all custom files compared and merged, etc. I've imported my live site db into my test site, and again tested everything.

I have copied my test site to a subfolder on my server (and uploaded the db from my test site to a new db on my server) and when I go to this, I just the words for everything (Categories, New Products, Featured, etc.) but no display of the site. I have checked and rechecked my config and Admin/config files and they all have been changed to point to this new subfolder and correct db.

When I go to my admin I can see everything, the database is obviously working and there as I see all my order info, etc.

I've missed something but cannot figure what it is as there is nothing in the Debug Log to point me to where I've gone wrong.

Can someone shed some light on my user error??

To see this test site... https://www.nitwitcollections.com/new210/

Thanks,

Jeff

03 Feb 2025, 20:21
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

You probably have something wrong in one of the configure.php files.

Make sure both are pointing to the right places.

https://docs.zen-cart.com/user/miscellaneous/configure/#quick-summary

03 Feb 2025, 22:14
#3
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

Thank for your suggestion on this dbltoe!

I thought the same thing....so I even put my current site and test site config file in WinMerge to make sure I wasn't missing an area and they are all pointing to the subfolder on my server.

Weird that I can easily access my Admin panel and navigate around yet not the site.

I also thought it may be a PHP version but am running PhP 8.2.27

I will triple check my config file again.

Any other thoughts???

03 Feb 2025, 22:19
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

Dbltoe is correct. Your configure.php file is wrong. Look at this:

<link rel="canonical" href="https://www.nitwitcollections.com/new210/new210/">

the subfolder new210 is doubled.

Check DIR_FS_CATALOG.

03 Feb 2025, 22:21
#5
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Copied Test Site To Subfolder On Server...Cart Does Not Display Properly

I take it back dbltoe....you were totally correct!

I had the extra /new210 in there.....wow...need to clean my glasses!

Thank you for your help!

Thanks as well for pointing this out swguy....appreciate it!