If this is your first visit, check our documentation. To post, register or login.
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

Started by nwce on 3 Feb 2025, 5:14 PM · Views: 802

Results 1 to 5 of 5
3 Feb 2025, 5:14 PM
#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

3 Feb 2025, 8:21 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

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

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

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

3 Feb 2025, 10:14 PM
#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???

3 Feb 2025, 10:19 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
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.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Feb 2025, 10:21 PM
#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!