Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Fresh install but old data

Fresh install but old data

Locked

Views: 2,121

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
2 Oct 2010, 3:40 PM
#1
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Fresh install but old data

Hi,

I am on mission today and i have decided to do a fresh install of Zencart after getting so many issues with current setup.

Biggest problem is customers can not create an account easily. Whenever they try, nothing happens and fields become blank.

In new new installation, all I want is Customers, their orders, address book.

I then plan to install only a few modules that i need coz at the moment i have so much crap.

What is the best way to complete this mission? I have made a list of database files.

Also my db is in this format gjh6_orders. In new install, would i get the same prefix ( gjh6 ) or i would have to change that manually?

A small guide will help me to complete this job with peace of mind.

Thanks

2 Oct 2010, 4:01 PM
#3
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Re: Fresh install but old data

HI Kobra,

Trouble is there is much junk in db which i do not want in new site thats why i want to do a fresh install and import whatever i need.

Let me know if im making any sense.

2 Oct 2010, 4:07 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Fresh install but old data

thats why i want to do a fresh install and import whatever i need.
Because you are asking, it is apparent that you are not fully up to speed on the dependencies in the DB
If there are orders and products have attributes there are many tables inter-indexed to maintain the customer history
Leave something out and it can break things with mysql errors
there is much junk in db
Please elaborate on what you class as "junk"

2 Oct 2010, 4:09 PM
#5
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Re: Fresh install but old data

My Junk means modules that i have installed over the past 3 years and never used them.

There is so much mess and biggest issue is customers can not create account and due to that we have seen drop in sale.

2 Oct 2010, 4:15 PM
#6
kobra avatar

kobra

Black Belt

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

Re: Fresh install but old data

My Junk means modules that i have installed over the past 3 years and never used them.
And you have a list of exactly what these are??
Need to ferret out which ones add tables, alter tables, have no DB interaction.

Those that only add tables - can drop those tables
Those that alter a table, must determine how to back out the alteration
Some well written mods have uninstall sql
Others are only files and will not be part of your new install

There is so much mess and biggest issue is customers can not create account and due to that we have seen drop in sale.
Correcting why an account cannot be created is a seperate issue and should be fixed first

2 Oct 2010, 4:26 PM
#7
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Re: Fresh install but old data

I have been playing with other test sites to make sure whatever action i take is right and finally managed to assign the same db prefix " gjh6" to the new database and then imported customers and address book which worked fine.

Only issue that system shows them as these customer registered for an account today. Can this date be changed to orginal one when they signed up?

Here is the list of tables i plan to export/import.

customers
address book
orders
customer_orders
order_products
order_status_history
order_status
orders_total
products_quantity_discount
customer_admin_notes
reviews
reviews_description

Please have a look and let me know this will be enough. All products have been saved using EP module.

Thanks Kobra

2 Oct 2010, 4:36 PM
#8
kobra avatar

kobra

Black Belt

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

Re: Fresh install but old data

You continue to want to pick & choose, so you are on your own

Being that it is a test install no harm done but you most likely will experience additional issues

2 Oct 2010, 4:39 PM
#9
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Re: Fresh install but old data

Can i then leave everything under your capable softhands?:flex:

Pick n choose is the only way i can think of with fresh install without any modules.

Help please

2 Oct 2010, 4:43 PM
#10
kobra avatar

kobra

Black Belt

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

Re: Fresh install but old data

Biggest problem is customers can not create an account easily. Whenever they try, nothing happens and fields become blank.
Fix this first
https://www.zen-cart.com/tutorials/index.php?article=82

2 Oct 2010, 4:59 PM
#11
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Re: Fresh install but old data

Not sure but could this be issue?

[01-Oct-2010 10:52:27] PHP Warning: require_once(/home/softhand/public_html/admin/includes/classes/class.String.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/softhand/public_html/aadmin/includes/functions/extra_functions/ceon_uri_mapping.php on line 21
[01-Oct-2010 10:52:27] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/softhand/public_html/admin/includes/classes/class.String.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/softhand/public_html/aadmin/includes/functions/extra_functions/ceon_uri_mapping.php on line 21

4 Oct 2010, 8:55 AM
#12
hamid84 avatar

hamid84

Zen Follower

Join Date:
Feb 2007
Location:
Walsall
Posts:
223
Plugin Contributions:
0

Re: Fresh install but old data

Game over... I decided to go through pick and choose route and successfully done what i wanted to.:clap: