Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Attempt to install demo store pre-upgrade appears to have overwritten my live store?

Attempt to install demo store pre-upgrade appears to have overwritten my live store?

24 Jan 2014, 5:38 AM
#1
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Post #1 by stitchjunkie

i have really done it now. Live store was v1.3.9b.
Was attempting to install demo v1.5.1 store in different folder so to view how it worked before upgrading and now it looks like doing this has overwritten my live store.

•Installed the demo store by running the zc_install with a new database without errors. PHP 5.2.17 MySQL 5.5.32
•original store v1.3.9 is at http://www.gingerbreadtearoom.com
Attempted demo store is at http://www.gingerbreadtearoom.com/151demo151
**i didn't rename the admin or remove the zc_install yet as i was afraid to make matters worse
Host company=ipower. Unable to find similar posts or anything in FAQs.
Afraid this was because i installed instead of upgraded... but thought since i was attempting to see an actual new version, and not trying to touch my live store, that i would install instead of upgrade....

  1. How do I get my live store back -- i have backups on my pc & copies of my database
  2. How should i have installed a demo, new version to test/view?
24 Jan 2014, 6:18 AM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #2 by twitchtoo

The new install should have remained entirely in the demo folder, however if your root files were overwritten it's likely your configure.php is confused.

Is it possible to roll back to a server backup of the site before the install?

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

24 Jan 2014, 7:18 AM
#3
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Post #3 by stitchjunkie

i just did a restore from a backup of 2 days ago and imported my saved database file. Still getting same errors.

24 Jan 2014, 7:27 AM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #4 by twitchtoo

You could be getting the 'uninstall zc_install folder' because the folder exists regardless of the integrity of your original cart.

Rename the zc_install folder on your remote server to save some time. Then let's see what errors if any you get :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

24 Jan 2014, 7:48 AM
#5
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Post #5 by stitchjunkie

renamed 'admin' and 'zc_install' No change

Also there is a folder with my website name in the same level as the public_html folder. i don't know if that has always been there or not... i usually only edit in the public_html folder and haven't noticed. anyway, if i open that gingerbreadtearoom folder, the '151demo151' folder shows there, but is empty.

24 Jan 2014, 7:55 AM
#6
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #6 by twitchtoo

Okay, looks like your configure.php files have been overwritten. There may be other files conflicting but the error page you see now is still accurately explaining what is wrong.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

24 Jan 2014, 7:59 AM
#7
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Post #7 by stitchjunkie

so you believe this is the issue?
2.Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information

in addition to doing the system restore on my server, i also manually replaced the 2 config files with the ones i had backed up on my computer.

24 Jan 2014, 8:08 AM
#8
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #8 by twitchtoo

Indeed, without seeing your actual files to compare what 'should' be there and what really is there.

You are welcome to PM me ftp access if you'd like I'll take a quick look before bed :)

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

25 Jan 2014, 12:20 AM
#9
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Post #9 by stitchjunkie

Thanks so much for suggesting restoring from backup. Up and running again with my live store. Here's what ipower did:

restored the website files from the backup dated January 23, 2014 to the folder named 'backup'. I have also updated the domain to point to the folder 'backup'. The website http://gingerbreadtearoom.com/ is now loading fine. Can you tell me briefly how they 'point' the domain to the folder? If that's too involved, nevermind, just magic....

Now just need to find out if i placed the folder in the correct location to install a demo store while keeping my live store open, and not overwrite this time. The folder is in public_html/151demo/...does it need to be below the public_html folder....outside? confused
the main store and all of my old files are now in public_html/backup/

25 Jan 2014, 12:46 AM
#10
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #10 by twitchtoo

They love making people believe this 'coding' stuff is 'magic'.

Here's the ticket, they most likely changed the path listed in your htaccess, php.ini or the zen configure.php files OR your site backup had the correct 'original' files (not overwritten by zc_install)

I manage multiple test carts on my own servers like this:

Root folder exists at ...public_html/

I want to install ZenCart 1.51 here ...public_html/twitch_carparts/

So I upload (ftp) the unpacked ZenCart zip files, then navigate to https://www.thecarpartssite.com/zc_install/ and run the install from FireFox.

My domain (thecarpartsite.com) is set with cPanel to point at the sub directory 'twitch_carparts' before I run the install.

Navigating to ...public_html/ you will also find these installed and self contained ZenCarts:

...public_html/twitch_testing_site/

**...public_html/some_other_client_site/

...public_html/showcase_site/
**
In each case the respective domains are 'pointed' at the sub directory from cPanel or the server side. Therefore ZC is never capable of overwriting any other directories or anything in the root folder of public_html.

Keep asking questions, learn by trial and error it's way more fun!

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian