Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1
    Join Date
    May 2014
    Location
    Jonesboro, Arkansas
    Posts
    58
    Plugin Contributions
    0

    Default Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    OK.... I made a copy of my original database then I renamed it. I made the modifications to the new site and uploaded it to a sub directory. I ran the zen-cart install answered all the questions!


    http://www.petestown.com here is the working site.


    http://www.petestowntest.com here is the test site.

    It just seems the database is just not there? Did i do wrong by making a copy of the old database and renaming it? I have read several posts here in the forum but the database is not my strong suite shall i say.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,739
    Plugin Contributions
    17

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Here's the instructions that are ideal to follow:

    http://www.zen-cart.com/entry.php?3-...d-of-upgrading

    As to renaming the database, technically can do whatever you want, but you have to keep track of the bits and pieces so that they all still fit together...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Quote Originally Posted by petestownrich View Post
    It just seems the database is just not there? Did i do wrong by making a copy of the old database and renaming it? I have read several posts here in the forum but the database is not my strong suite shall i say.
    In all the upgrade documentation and all the FAQs about setting up a new server or moving to a new server (all similar actions) it reminds you that when you're copying a database from one server to another, you MUST use the same DB_PREFIX on the new server as what was on the old server, else Zen Cart will look at the wrong tablenames in your database.

    So ... it's simple:
    a) when installing the new site, simply provide the correct prefix to start with
    or
    b) if you screwed that up, go look at DB_PREFIX in the /includes/configure.php of the old server and make DB_PREFIX on the new server be the same thing. Repeat for the admin configure.php file too.
    .

    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.

  4. #4
    Join Date
    May 2014
    Location
    Jonesboro, Arkansas
    Posts
    58
    Plugin Contributions
    0

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Thanks Doc you just helped a bunch. I appreciate that.

  5. #5
    Join Date
    May 2014
    Location
    Jonesboro, Arkansas
    Posts
    58
    Plugin Contributions
    0

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Hi Doc

    OLD

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'p3nl41mysql5.secureserver.net');
    define('DB_SERVER_USERNAME', 'petesdbgodaddy');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXXXX');
    define('DB_DATABASE', 'petesdbgodaddy');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

    NEW

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_CHARSET', 'utf8');
    define('DB_SERVER', 'petesdb2godaddy.db.3390044.hostedresource.com');
    define('DB_SERVER_USERNAME', 'petesdb2godaddy');
    define('DB_SERVER_PASSWORD', 'XXXXXXXXX');
    define('DB_DATABASE', 'petesdb2godaddy');

    They are the same. But one thing dies bother me. When I ran the installer it did not ask me about a database upgrade. It just asked for database information? Did I miss it?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Given that the prefixes are the same and it's not suggesting an upgrade, it sounds like you've not successfully imported the data from the old db into the new db.
    .

    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.

  7. #7
    Join Date
    May 2014
    Location
    Jonesboro, Arkansas
    Posts
    58
    Plugin Contributions
    0

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Ok Doc....I dont know why but I should have went and physically looked but i did not. I appreciate the direction and I will play from there.

  8. #8
    Join Date
    May 2014
    Location
    Jonesboro, Arkansas
    Posts
    58
    Plugin Contributions
    0

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    OK..... So I restored the database again and I now have product SOME WHAT!.. When I go to the control panel it tells me I need to do a database upgrade using the ZEN-CART install program? So do I need to just start all over?

  9. #9
    Join Date
    Jul 2012
    Posts
    16,739
    Plugin Contributions
    17

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Quote Originally Posted by petestownrich View Post
    OK..... So I restored the database again and I now have product SOME WHAT!.. When I go to the control panel it tells me I need to do a database upgrade using the ZEN-CART install program? So do I need to just start all over?
    No, now is when you reupload the zc_install folder, run zc_install and do a database upgrade and then remove the zc_install folder... Links and posts in this thread previously provided cover this aspect in more detail.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    May 2014
    Location
    Jonesboro, Arkansas
    Posts
    58
    Plugin Contributions
    0

    Default Re: Upgraded from 1.3.7 to 1.5.3 BUT database does not seem to be there

    Hi MC yes I went back up and read that. One thing I dont understand... do I need to rename the folder that SHOULD BE CALLED ADMIN back to ADMIN? I am getting a 404 error denied access? I am in the test site of coarse and reloaded the zc_install folder via FTP

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v153 Upgraded the database, but
    By kalastaja in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 28 Dec 2014, 06:20 PM
  2. Replies: 5
    Last Post: 22 Nov 2014, 04:26 AM
  3. Google base feeder installed but does not seem to work!
    By antpez in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Oct 2009, 10:54 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR