Thread: Mess

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Mess

    Upgrade help. 1.3.8a - 1.3.9h

    OK. My 2nd attempt.

    D/L LIVE site. (1.3.8a)
    D/L ORIGINAL INSTALL. (1.3.8a)

    Compared ORIGINAL to LIVE.
    Wrote notes for files needed to edit for mods.

    INSTALLED NEW ZC (1.3.9h) in sub directory.
    D/L 1.3.9h from Web Server.

    Edited NEW ZC files with LIVE note list I made from MOD installs.
    Uploaded to server.

    Also uploaded template files from LIVE to NEW ZC.

    There has been no visual change.

    I'm unsure the correct process to upgrade database?

    /zc_install/index.php?main_page=database_upgrade

    I have downloaded my LIVE database and want to upload but when you select upgrade you just select 1.38 to 1.3.9 How do I upload the database from my LIVE site into my NEW ZC ?

    I also can't access my admin

    maybe one issue at a time?
    That wasn't the plan!

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

    Default Re: Mess

    It's not as complicated as you think. There are no special secret-handshakes required.

    To upgrade the database, you simply upload the zc_install folder, and then run zc_install/index.php in your browser, and choose the Database Upgrade button.

    So, if you're trying to upgrade your temporary new ZC for staging, you import your live database backup into your new database, then run zc_install and choose database-upgrade.
    .

    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. #3
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Mess

    Quote Originally Posted by DrByte View Post
    So, if you're trying to upgrade your temporary new ZC for staging, you import your live database backup into your new database, then run zc_install and choose database-upgrade.
    Thats the bit I'm unsure of how.

    I click on the upgrade option.

    It lists current database information.

    Please confirm your desired upgrade steps

    Upgrade DB from 1.3.8 to 1.3.9 SELECTED

    Change Database Table-Prefix ??? Do I leave this blank?

    Database Security
    I added username and password.

    Where/How to I upload my LIVE database backup ?
    That wasn't the plan!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Mess

    Quote Originally Posted by Muzz View Post
    Where/How to I upload my LIVE database backup ?
    It's the same as doing a database-restore, with phpMyAdmin

    So, given that the context here is upgrading, and you're supposed to be creating a temporary staging area, and you're supposed to be uploading a copy of your Live database INTO your temporary staging site's database, you would open phpMyAdmin, select Import, select the .sql file for the backup you made of your live database, and click Go
    .

    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.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Mess

    Quote Originally Posted by Muzz View Post
    Change Database Table-Prefix ??? Do I leave this blank?
    As the text in that section says, you ONLY use those fields IF you're INTENTIONALLY trying to change the table prefixes. If you're not intending to do that, or have no idea what that means or why you'd do it, then you'll just leave that section alone.
    .

    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.

  6. #6
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Mess

    Quote Originally Posted by DrByte View Post
    It's the same as doing a database-restore, with phpMyAdmin

    So, given that the context here is upgrading, and you're supposed to be creating a temporary staging area, and you're supposed to be uploading a copy of your Live database INTO your temporary staging site's database, you would open phpMyAdmin, select Import, select the .sql file for the backup you made of your live database, and click Go
    Great thanks.

    Was wondering during the upgrade process was nowhere to upload DB :S

    So go into myPhpADMIN

    select the database of TEST NEW ZC and go to IMPORT.

    Then upload LIVE DB backup?

    Does it matter that they have dif names or compressed myDBfile.sql.gz.gz ?




    ?
    That wasn't the plan!

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

    Default Re: Mess

    Quote Originally Posted by Muzz View Post
    So go into myPhpADMIN

    select the database of TEST NEW ZC and go to IMPORT.
    Yes
    Quote Originally Posted by Muzz View Post
    Then upload LIVE DB backup?
    Um, no. The IMPORT *is* your upload.
    Quote Originally Posted by Muzz View Post
    Does it matter that they have dif names or compressed myDBfile.sql.gz.gz ?
    The tutorial for making and restoring backups is here: https://www.zen-cart.com/tutorials/i...hp?article=103

    You'll likely have problems if you've got double-compressed files like .gz.gz
    I'd probably gunzip it before using it.


    You can get help for phpMyAdmin questions at http://www.phpmyadmin.net/documentation/#faq6_5
    .

    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. #8
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Mess

    OK imported the file in.. said it was successful. Can see same amount of matching ables in myphp admin with both DB live and the NEW ZC test.

    Now the site doesn't load at all. I get a Custom 404 Error Page in my LIVE cart.

    Admin loads a blank page.

    I do have admin profiles installed.

    be nice to get website loading before trying to figure that one out?
    That wasn't the plan!

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Mess

    If you're suddenly having problems in your *live* site, then you've been touching files from the wrong folder, and/or importing data into 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.

  10. #10
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Mess

    No problems with LIVE site only NEW ZC in sub folder.

    This installed and worked before DB upgrade.
    That wasn't the plan!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. I mess up
    By messer in forum General Questions
    Replies: 1
    Last Post: 11 Dec 2009, 03:36 PM
  2. a little mess up
    By Barcelona in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Feb 2007, 08:17 PM
  3. IE mess
    By mex in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Feb 2007, 11:32 AM

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