If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / Website hasnt worked correctly since the 2.0.1 upgrade

Website hasnt worked correctly since the 2.0.1 upgrade

Started by jodean on 27 Jul 2024, 6:36 PM · Views: 1,929

Results 1 to 20 of 27
27 Jul 2024, 6:36 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #1 by jodean

URL tennesseetraditionalflies.com/shop/
ZC Version 2.0.1
Plugins
backup_mysql_plugin
CKEditor5-for-ZenCart
clone_template-2.0.0
dbio-2.0.1
edit_orders-4.7.1
one_page_checkout
sales_report-4.0.1
Stock_By_Attributes_Combined-master
upsoath-1.3.5
usps-USPS_2024_02_14_K11j
view_schema_installed

Enter tennesseetraditionalflies.com/shop/ in browser

Home page comes up.

Click on any menu item.

Error includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set

includes/configure.php define('DIR_FS_CATALOG', '/home/tennesseetraditionalflies.com/public_html/shop/');

Does anyone have any idea what could cause this?

27 Jul 2024, 6:43 PM
#2
swguy avatar

swguy

Administrator

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

Post #2 by swguy

Are you sure /home/tennesseetraditionalflies.com/public_html/ is the path to your webroot?

Generally it's something more like /home/jodean/public_html (where jodean is your account name).

FTP to your site and put a file called show_dir.php at the top level (where /images and /includes and /email are). Put this content in it:

<?php echo getcwd(); Then go to tennesseetraditionalflies.com/show_dir.php in your browser and see what it says.

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.

27 Jul 2024, 7:00 PM
#3
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #3 by jodean

Return is /home/customer/www/tennesseetraditionalflies.com/public_html

And that is what I had in the configure.php file yesterday and dblte had me change it to /home/tennesseetraditionalflies.com/public_html yesterday.

27 Jul 2024, 7:56 PM
#4
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #4 by jodean

swguy:

Are you sure /home/tennesseetraditionalflies.com/public_html/ is the path to your webroot?

Generally it's something more like /home/jodean/public_html (where jodean is your account name).

FTP to your site and put a file called show_dir.php at the top level (where /images and /includes and /email are). Put this content in it:

<?php echo getcwd(); Then go to tennesseetraditionalflies.com/show_dir.php in your browser and see what it says.

Return is /home/customer/www/tennesseetraditionalflies.com/public_html

And that is what I had in the configure.php file yesterday and dblte had me change it to /home/tennesseetraditionalflies.com/public_html yesterday.

27 Jul 2024, 8:25 PM
#5
swguy avatar

swguy

Administrator

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

Post #5 by swguy

You have a test version of your site and a live version. Each is in a different folder, and each will have different settings for DIR_FS_CATALOG.

I have honestly never seen paths like the ones you're showing, so I'd suggest you talk to your hoster.

Typically this is the setup people have (assuming deployment is not in a subfolder):

LIVE is in /home/customer/public_html

Test is in /home/customer/test-folder

So test is above the public_html folder and can't be accessed unless you have created a subdomain to point to test.

These help pages might give you some ideas:

https://docs.zen-cart.com/user/upgrading/multiple_php_versions/

https://docs.zen-cart.com/user/first_steps/deployment_configurations/

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.

27 Jul 2024, 9:43 PM
#6
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #6 by jodean

The development files are in a sub directory devel.tennesseetraditionalflies.com and the production directory is tennesseetraditional.com. This is how Siteground said it had to be set up since my old production tennesseetraditonalflies.com Shop_158a was running with a different version of PHP while I was testing PHP 8.0. I have tried chating with Siteground and they tell me the problem I am having is an application problem and they do not support it.

I guess it is sounding like am at a dead end and will have to go back to the old Shop_158a version. The upgraded .devel version did run in store front and admin but form some reason Zencart 2.0.1 just does not like it copied to tennesseetraditionalflies.com.

If anyone comes up with a better idea let me know.

28 Jul 2024, 4:01 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

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

Post #7 by dbltoe

jodean:

Return is /home/customer/www/tennesseetraditionalflies.com/public_html

And that is what I had in the configure.php file yesterday and dblte had me change it to /home/tennesseetraditionalflies.com/public_html yesterday. You have opened a second thread and I said to use your account name, NOT your URL.

Your host should be helping with this as you've created such a daisy chaiin that you may never recover without some professional help. First stop: your host.

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

28 Jul 2024, 5:21 PM
#8
swguy avatar

swguy

Administrator

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

Post #8 by swguy

As another option, if you move your cart to one of our certified hosters who actually know Zen Cart, they will help you instead of blowing you off the way Siteground is.

https://www.zen-cart.com/content.php?16-Compatible-Hosting

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.

29 Jul 2024, 7:41 PM
#9
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
146
Plugin Contributions:
0

Post #9 by n8pbm

I can verify that /home/customer/www/tennesseetraditionalflies.com/public_html should be the correct path for siteground. However this should be your live production site.

If you have your development site in a subdomain, it should be pointing to a folder unless you set it up as an application. I think you need to figure out the correct path for the subdomain.

29 Jul 2024, 7:50 PM
#10
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
146
Plugin Contributions:
0

Post #10 by n8pbm

I believe the path should be: /home/customer/www/devel.tennesseetraditionalflies.com/public_html.

29 Jul 2024, 7:51 PM
#11
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #11 by jodean

n8pbm:

I can verify that /home/customer/www/tennesseetraditionalflies.com/public_html should be the correct path for siteground. However this should be your live production site.

If you have your development site in a subdomain, it should be pointing to a folder unless you set it up as an application. I think you need to figure out the correct path for the subdomain.

The subdomain works. The primary domain only partially works. The 1.5.8a old site still works but I have been unable to get a reliable 2.0.1 upgrade. I am going to try a new fresh 2.0.1 and see if that works.

29 Jul 2024, 8:40 PM
#12
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #12 by jodean

dbltoe, I apologize if this problem has caused you any trouble. I did not mean to disrupt the support process. This installation has been a real pain in the you know what. I have rebuilt this version and upgraded now about 6 or 8 times just to find the symptoms changing. I haven't given up yet but it is looking pretty bleak. Again I apologize if I have given anyone any inconvenience.

29 Jul 2024, 9:16 PM
#13
dbltoe avatar

dbltoe

Totally Zenned

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

Post #13 by dbltoe

The only one responsible for an inconvenience is this matter is your host.

As one of the certified hosts, I can verify that /home/customer/www/tennesseetraditionalflies.com/public_html is NOT a standard setup. Even in situations where the host has decided to use www versus public_html, there normally would be no mention of the URL in the path.

At one time, you might have seen /home/YOUR_ACCOUNT/domains/domainDOTcom/public_html. Note that there is no www in that method AND, it's seldom used in today's hosting.

It should either be /home/YOUR_ACCOUNT/public_html or /home/YOUR_ACCOUNT/www with today's cPanel setups.

You've got such a scramble that, in order to get to checkout at the back of the store, you have to go in the front door, out one side door, around to the other side of the building, in that door and then proceed to checkout at the back. And to make matters worse, if you start at either side door, you cannot get to checkout without going back out the front door and starting over.:shocking:

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

29 Jul 2024, 10:50 PM
#14
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Post #14 by jodean

dbltoe:

The only one responsible for an inconvenience is this matter is your host.

As one of the certified hosts, I can verify that /home/customer/www/tennesseetraditionalflies.com/public_html is NOT a standard setup. Even in situations where the host has decided to use www versus public_html, there normally would be no mention of the URL in the path.

At one time, you might have seen /home/YOUR_ACCOUNT/domains/domainDOTcom/public_html. Note that there is no www in that method AND, it's seldom used in today's hosting.

It should either be /home/YOUR_ACCOUNT/public_html or /home/YOUR_ACCOUNT/www with today's cPanel setups.

You've got such a scramble that, in order to get to checkout at the back of the store, you have to go in the front door, out one side door, around to the other side of the building, in that door and then proceed to checkout at the back. And to make matters worse, if you start at either side door, you cannot get to checkout without going back out the front door and starting over.:shocking:

I tried Siteground again and they told me that they do not use cPanel which is why they set it up the way they do. They us their own cPanel type tool which doesn't require the set up that you are referring to.

29 Jul 2024, 11:22 PM
#15
dbltoe avatar

dbltoe

Totally Zenned

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

Post #15 by dbltoe

Kudos to Siteground for their excellent customer service in assiting you with your problem by avoiding fixing it. :blink:

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

30 Jul 2024, 6:02 AM
#16
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Post #16 by shop_suey

Can't you just look up the path structure in the file manager?
Their cpanel should have sth. like that.

Or in a SSH terminal.

User rights probably are jailed so you have only access to the paths within your /home/<customer>/ or /home/<customer>/www/
But that should be enough to look up everything necessary.

Attachment 20718

Attachment 20719

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

30 Jul 2024, 7:53 AM
#17
dbltoe avatar

dbltoe

Totally Zenned

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

Post #17 by dbltoe

jodean:

I tried Siteground again and they told me that they do not use cPanel which is why they set it up the way they do. They us their own cPanel type tool which doesn't require the set up that you are referring to.

Just another lovely aspect of Siteground.

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

30 Jul 2024, 9:25 AM
#18
swguy avatar

swguy

Administrator

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

Post #18 by swguy

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.

30 Jul 2024, 9:58 AM
#19
swguy avatar

swguy

Administrator

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

Post #19 by swguy

It should either be /home/YOUR_ACCOUNT/public_html or /home/YOUR_ACCOUNT/www with today's cPanel setups.

That was what I was expecting too. I realized I had a customer on siteground, so I checked them, and their DIR_FS_CATALOG value is

/home/customer/www/DOMAIN/public_html/

weird.

The other fun thing about siteground is that they cache like crazy and it's hard to know if you have cleared it/turned it off, so you may already have solved the problem but you're still getting bad pages from the cache.

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.

30 Jul 2024, 2:16 PM
#20
n8pbm avatar

n8pbm

Zen Follower

Join Date:
Mar 2005
Posts:
146
Plugin Contributions:
0

Post #20 by n8pbm

swguy:

The other fun thing about siteground is that they cache like crazy and it's hard to know if you have cleared it/turned it off, so you may already have solved the problem but you're still getting bad pages from the cache.

That is true. You may have to go in your dashboard and go to Speed - Caching - Dynamic Caching and Flush Cache for the site. This may solve some issues.

I would also make sure the other two areas in that location are turned off.

Siteground "Upgraded" from cpanel to their own dashboard a few years ago.