Zen Cart Logo
Forums / General Questions / Can someone help me PLEASE been trying for three days

Can someone help me PLEASE been trying for three days

Locked

Views: 1,507

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
11 Nov 2009, 2:15 AM
#1
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Can someone help me PLEASE been trying for three days

I sell Zencart sites that are preloaded with my graphics, my question is if I took one of my stores and made a backup on CPANEL could I then take this store as a template with the products and attributes loaded and use it on other url's I know I probably cant do this but thought i would ask as it would save me alot of time

Thanks
Angie

11 Nov 2009, 4:20 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Yes you can do that. You'll have to backup the database and Zen Cart separately. There's info on doing those things in the Tutorials/FAQ. You might want to start with https://www.zen-cart.com/tutorials/index.php?article=99

11 Nov 2009, 4:34 AM
#3
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Mary Ellen you made my night!!!
Thank you so much hun
Angie

11 Nov 2009, 5:20 AM
#4
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Had a couple of questions please

3- Simply take all the files the way they are and upload them to your new host. BE SURE TO INCLUDE THE "zc_install" folder.

On the files so I just copy and zip and install all the files under the Public_html onto the new server

Also I am not sure where to locate the zc_install folder this was installed via cpanel should I have done a manuel installation

11 Nov 2009, 5:22 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

You can do it without the zc_install, but you'll have to edit some of the information yourself.

https://www.zen-cart.com/tutorials/index.php?article=122

11 Nov 2009, 8:04 AM
#6
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

6- Using phpMyAdmin, restore your old site's database into the new database you created in step 4.

I am not familiar with My PHP Admin how do I replace the database I think I saved the old right it is called local host sql do I just click on the import section and import the file

Thanks
Angie

11 Nov 2009, 3:16 PM
#7
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Ok I figured out how to save and upload my database via My PHp Admin but here is the error I get

SQL query:

--
-- Database: digiscra_zc1

CREATE DATABASE digiscra_zc1 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

MySQL said: Documentation
#1044 - Access denied for user 'wahmcomm'@'localhost' to database 'digiscra_zc1'

So I thought well I need to add a database on the site called digiscra_zc1 but it will not let me create a database name with a underscore in it so I am losts could someone offer assitance

Thank you in advance
Angie

11 Nov 2009, 5:10 PM
#8
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

I went in and checked and it made a clone of my first site except for the products and attributes are not added is that because I have not gotten my database added correctly

I need help asap please
Angie

11 Nov 2009, 9:23 PM
#9
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Hi I have a site where I sell zencart's already preloaded wtih my graphics This takes a ton of time because each product also has a digital attribute to attach. So I posted yesterday that I would like to be able to create a store and then use that as my template to create other stores quickly. So I was referred to this posts
https://www.zen-cart.com/tutorials/index.php?article=99

Now I have done everything except the part where it says to replace the the database with the old one in the TheMy PHP Admin section here is the error I am getting

***SQL query:

--
-- Database: digiscra_zc1

CREATE DATABASE digiscra_zc1 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

MySQL said: Documentation
#1044 - Access denied for user 'wahmcomm'@'localhost' to database 'digiscra_zc1'***

So I thought well I need to add a database on the site called digiscra_zc1 but it will not let me create a database name with a underscore in it so I am losts could someone offer assitance. It made a copy of the store for me on the new site but it is not showing the loaded products or attributes and I am assuming it is because I don't have the database added yet. I really need this fixed so I really need help THANK YOU IN ADVANCE

Angie

Thank you in advance
Angie

11 Nov 2009, 9:36 PM
#10
hem avatar

hem

Totally Zenned

Join Date:
Sep 2007
Location:
Dublin, Ireland
Posts:
1,281
Plugin Contributions:
5

Re: Can someone help me PLEASE been trying for three days

Just change the database name (use something like digiscrazc1) in the CREATE DATABASE statement. You will need to make this change in your includes/configure.php and admin/includes/configure.php

11 Nov 2009, 9:45 PM
#11
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Ok did just what you said I went in and created a new database and then changed the info in the configure files in both locations now how do I upload the database from the old site to replace the database I just created it said to do it the themyphpadmin and I am afraid I anew to this so I don't want to screw anything up

Thank you so much for your help I really appreciate this! I love learning new things lol
Angie

11 Nov 2009, 10:16 PM
#13
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

I saw that was how to export the database files but how do I input the new database files

What i did was change the txt file I had with the new database name and tried to click on the input and got this error code

SQL query:

--
-- Dumping data for table zen_address_format

INSERT INTO zen_address_format ( address_format_id , address_format , address_summary )
VALUES ( 1, '$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country', '$city / $country' ) , ( 2, '$firstname $lastname$cr$streets$cr$city, $state $postcode$cr$country', '$city, $state / $country' ) , ( 3, '$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country', '$state / $country' ) , ( 4, '$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country', '$postcode / $country' ) , ( 5, '$firstname $lastname$cr$streets$cr$postcode $city$cr$country', '$city / $country' ) , ( 6, '$firstname $lastname$cr$streets$cr$city$cr$state$cr$postcode$cr$country', '$postcode / $country' ) ;

MySQL said: Documentation
#1062 - Duplicate entry '1' for key 'PRIMARY'

11 Nov 2009, 10:58 PM
#14
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

I know I am so close to getting this figured out I only have this one thing to do and I am sure there is a simple thing I am doing wrong lol Just need to know what I have been working on this for 24 hours
Angie

12 Nov 2009, 12:24 AM
#15
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Willing to pay $20-30 for support via IM like Yahoo or AOL on here I just need to get this figured out tonight I am desperate at this moment I have lost out on 24 hours of work due not being able to figure this out
Thanks
ANgie

12 Nov 2009, 5:24 AM
#16
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

OK I am trying to follow the following tutorial
https://www.zen-cart.com/tutorials/index.php?article=99

I am stuck on number 6 I created a new database and then I went in and changed the name of the old database and tried to upload it via myphpadmin by clicking on import and get the following error message I just need help this is hte only things I need to complete for the products and attributes to be displayed and I really really need help and I am willing to pay for help via IM on Yahoo or AOL if you want

*SQL query:

--
-- Dumping data for table zen_address_format

INSERT INTO zen_address_format ( address_format_id , address_format , address_summary )
VALUES ( 1, '$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country', '$city / $country' ) , ( 2, '$firstname $lastname$cr$streets$cr$city, $state $postcode$cr$country', '$city, $state / $country' ) , ( 3, '$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country', '$state / $country' ) , ( 4, '$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country', '$postcode / $country' ) , ( 5, '$firstname $lastname$cr$streets$cr$postcode $city$cr$country', '$city / $country' ) , ( 6, '$firstname $lastname$cr$streets$cr$city$cr$state$cr$postcode$cr$country', '$postcode / $country' ) ;

MySQL said: Documentation
#1062 - Duplicate entry '1' for key 'PRIMARY' *

12 Nov 2009, 5:48 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Can someone help me PLEASE been trying for three days

You're attempting to import data into tables that already contain data ... thus you're violating the database's rules that enforce prevention of duplicate entries.

If you want to import a full database, you need to delete all the records in the existing tables. Ideally one uses a the DROP command first and imports full table STRUCTURE and DATA as part of the import process.

12 Nov 2009, 5:49 PM
#18
doll5272 avatar

doll5272

Zen Follower

Join Date:
Feb 2008
Posts:
111
Plugin Contributions:
0

Re: Can someone help me PLEASE been trying for three days

Ok in a nut shell I sell Zencart sites preloaded with 300 graphics each graphics has an attribute so people can download the graphics after checkout! I was wanting to use an old database so that the zencart is installed and products uploaded automatically making the process ALOT faster! I was using the following tutorial

https://www.zen-cart.com/tutorials/index.php?article=99

When I get to part 6 and I try to upload my database everytime I get this error message

SQL query:

--
-- Dumping data for table zen_address_format

INSERT INTO zen_address_format ( address_format_id , address_format , address_summary )
VALUES ( 1, '$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country', '$city / $country' ) , ( 2, '$firstname $lastname$cr$streets$cr$city, $state $postcode$cr$country', '$city, $state / $country' ) , ( 3, '$firstname $lastname$cr$streets$cr$city$cr$postcode - $statecomma$country', '$state / $country' ) , ( 4, '$firstname $lastname$cr$streets$cr$city ($postcode)$cr$country', '$postcode / $country' ) , ( 5, '$firstname $lastname$cr$streets$cr$postcode $city$cr$country', '$city / $country' ) , ( 6, '$firstname $lastname$cr$streets$cr$city$cr$state$cr$postcode$cr$country', '$postcode / $country' ) ;

MySQL said: Documentation
#1062 - Duplicate entry '1' for key 'PRIMARY'

I want someone to TEACH me what I am doing wrong I have been at this for THREE DAYS and need to get this fixed ASAP