Thread: Moving woes

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Moving woes

    If you've "installed" Zen Cart, you had to supply a database for it to operate from. You said you also elected for it to add the demo products to the database (which means it will insert various records into the appropriate various tables in the database you specified for installation).
    You imply that the installation "worked" and that you could see the demo products shown in the cart.

    But then you said that when you looked at the database there were no tables in it.
    This clearly means you're not looking at the same database that you specified for installation.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Moving woes

    Quote Originally Posted by Nipple View Post
    I just re-did everything. Wiped the new db, wiped the domain's public_html directory and started over. Followed the guides (the ones linked to previously in this thread) precisely. As advised, I chose to install the demo products.

    The end result is a store with English set as its default language and Finnish not even installed (should these settings not have followed with the "old" files or the "old" database? Why do I have to reinstall the languages?).
    If the Finnish language files were part of the files you uploaded but the language is not being offered, that means your database hasn't been told about the new language yet. This is normal for a new installation. Restoring your old database into the new one would add in your settings for whatever languages you had configured in your old database.

    So, this additionally suggests that you're looking at the wrong database.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Moving woes

    Do you have access to MySQL via phpMyAdmin? If so, the information in the left frame of phpMyAdmin will list all your databases...

    ... or in your host C-Panel, use the MySQL link to see what databases are set up.

    Did you use Fantastico perhaps, to install your on your new host...? If so, Fantastico creates the dbase for you. This may be why you are under the impression that you have just one database.

    You can also COMPARE the two sets of configure.php files - the two in the ORIGINAL host set-up, and the two in your NEW host set-up.

    See if the NAME of the database in the first set, is the same (or different) from the NAME in the second set.

  4. #14
    Join Date
    Mar 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Moving woes

    Quote Originally Posted by fairestcape View Post
    Do you have access to MySQL via phpMyAdmin? If so, the information in the left frame of phpMyAdmin will list all your databases...

    ... or in your host C-Panel, use the MySQL link to see what databases are set up.

    Did you use Fantastico perhaps, to install your on your new host...? If so, Fantastico creates the dbase for you. This may be why you are under the impression that you have just one database.

    You can also COMPARE the two sets of configure.php files - the two in the ORIGINAL host set-up, and the two in your NEW host set-up.

    See if the NAME of the database in the first set, is the same (or different) from the NAME in the second set.
    My host does use CPanel. I didn't use Fantastico to install ZC though because they offer 1.3.8 and I need 1.3.7. So I did it by hand.

    I am quite certain I only have one database as I created it by hand before installing ZC. Yes, I can see how it seems that I am looking at the wrong database, but I literally only have one. When I log into phpmyadmin, it's just the one database there. The new config files have the right mysql login info in them.

    Looks to me as though I'll have to ask my host what's going on. They recently transferred my Mysql db to a SQL 5 server from a v4 server. but myphpadmin still reports it as v4...and the old host used v5. Might not mean anything...

  5. #15
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Moving woes

    So what you have is ONE database on your new host...

    ... and ONE database on your old host.

    The database on your NEW host cannot (will not) contain the data from your database on your OLD host, until you port that database across.

  6. #16
    Join Date
    Mar 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Moving woes

    Quote Originally Posted by fairestcape View Post
    So what you have is ONE database on your new host...

    ... and ONE database on your old host.

    The database on your NEW host cannot (will not) contain the data from your database on your OLD host, until you port that database across.
    I have imported the backed up database from the old hose into the new one after installing ZC with demo products. I followed the two guides mentioned in this thread precisely.

    What was strange though was that after ZC was installed and the demo products applied, the database remained empty.

    I contacted my host (Hostgator) about this and they said they will "reset the cart script" and see if that helps. Honestly, if the db is empty, what does resetting the script do? The data must be somewhere, unless the demo products are NOT stored in a database, which I doubt.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Moving woes

    What exactly do *you* mean when you say the database is allegedly "empty"??
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #18
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Moving woes

    Before Importing a db you should first remove all Tables from the current db. Do not Delete the db, just the Tables within it. Otherwise, you could end up with the "old" products still there and will have to remove them manually.

  9. #19
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Moving woes

    What I think happened is that the install (with demo products) OVER-WROTE the existing database... ?

  10. #20
    Join Date
    Mar 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Moving woes

    Quote Originally Posted by DrByte View Post
    What exactly do *you* mean when you say the database is allegedly "empty"??
    That I log into phpmyadmin and there is nothing there, no tables, nothing. And the demo products are nevertheless in the store when I visit it. And yes I've made certain that it's the same db as what's in the configure.php files. I only have one db.

    Quote Originally Posted by Website Rob View Post
    Before Importing a db you should first remove all Tables from the current db. Do not Delete the db, just the Tables within it. Otherwise, you could end up with the "old" products still there and will have to remove them manually.
    Yes, I dump all tables before importing the sql backup. That didn't remove the demo products, though.

    Quote Originally Posted by fairestcape View Post
    What I think happened is that the install (with demo products) OVER-WROTE the existing database... ?
    It was welcome to do so, because the database was empty.

    The tech support at my new host has been rather baffled, but they created a new database and imported the database again (they took the backup themselves) I have products now, but they had to manually go into the database to turn off maintenance mode, because adjusting it through the admin console refused to take effect (which worries me.) I have my products showing now, but all customer data is still gone, even though it's the same database import.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Email Woes
    By g2ktcf in forum General Questions
    Replies: 3
    Last Post: 11 Oct 2011, 05:13 PM
  2. FedEx woes
    By Namtaru in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 May 2008, 11:25 PM
  3. Upgrading Woes
    By noleafclover614 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 11 Dec 2007, 08:12 PM
  4. SSL Woes
    By shareinnc in forum General Questions
    Replies: 3
    Last Post: 10 May 2006, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg