Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    application error Not sure if upgrade worked properly

    I followed the long upgrade HTML doc from v1.5.0 package. I'm on the last step where you have the second kinda-hidden copy of the store and are testing it before it goes live. Basically, I'm running 2 parallel folder/copies ... each with their own database.

    In the v1.5.0 folder/database set ... All the items, customers, and orders made it. HOWEVER, the HomePage and all the other "static" pages ( Shipping and Returns, Conditions of Use, etc.) ... all contain the "clean install" or default text. Did something go wrong?

    This is what I started with:
    ZenCart: 1.3.8a Fresh install back in 2008 (Admin folder renamed recently)
    Addons: Request For Quote (RFQ v1.01), FCK Editor 2.5
    Template: ezBlue
    Customizations: Maybe a few display text changes in the PHP code here and there (footer, etc) ... nothing special
    PHP: 4.3
    mySQL: 4.1

    Since I only made a few minor text changes to the PHP files, I skipped the WinMerge step.
    Then, because I read v1.5.0 warnings about:
    - a new template system
    - needing updated or compatible Add-ons anyway
    I decided to:
    - Clean Install Files
    - Upgrade install database
    ... and then fix up site (install updated template and Add-Ons) until it looks right.

    From the Hosting Control Panel:
    - I backed up the old 4.1 database.
    - Created a new 5.0 database (now, 5.0 was only choice)
    - Using CP, restored old 4.1 database (.sql backup) to new 5.0 database.

    I uploaded the new 1.5.0 fileset (to a new folder)
    I uploaded the item picture files from the local backup
    I fixed up the configure.php files

    When I ran the installer ...

    Clicked Continue a couple of times
    On Prerequisites page, everything should be "Green" or good.
    On this install, all was green except this was !yellow (but it said it was ok)
    "PHP Output Buffering (gzip) = OFF"

    (Saved this page as "Complete HTML" for later reference ... nice display of specs)

    "Database Upgrade" is offered so we know the Installer/Upgrader COULD connect to DB and is also able to read structure
    Clicked "Databse Upgrade" button
    Next Page ... Both of these are Pre-Selected (which looked right to me)
    - Upgrade DB from 1.3.8 to 1.3.9
    - Upgrade DB from 1.3.9 to 1.5.0

    Don't change Prefix

    Entered ZC Admin User and password

    Clicked ok and got this:
    NOTE: Skipped upgrade statements: 4
    See details at bottom of page for your inspection.
    (Details also logged in the "upgrade_exceptions" table.)
    Note: In most cases, these failed statements can be ignored,
    as they are indications that certain settings may have already been set on your site.
    If all the suggested upgrade steps have been completed (no recommendations left),
    you may proceed to Skip Upgrades and continue configuring your site. more info...

    SKIPPED: Cannot drop index page_accessed on table admin_activity_log because it does not exist.
    SKIPPED: Cannot drop index access_date on table admin_activity_log because it does not exist.
    SKIPPED: Cannot add index idx_page_accessed_zen to table admin_activity_log because it already exists.
    SKIPPED: Cannot add index idx_access_date_zen to table admin_activity_log because it already exists.

    Looks ok, all errors are about Admin activity Log (minor?)
    Clicked Re-Check and says:
    Upgrade Sniffer predicts: *** No upgrade required ***
    Clicked
    "Done with Updates" button

    Congratulations!

    You have successfully installed Zen Cart on your system!

    ******************
    So, did it work or not? Is the HTML code for those basic pages in the database ...
    - or -
    was it something I was suppose to carry over from the backup (either new standalone files or modified standard files)
    ... similar to the graphics files I carried over
    Maybe I missed them because I basically skipped the WinMerge step?
    Last edited by Tezla; 22 Aug 2012 at 11:10 PM. Reason: typo

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

    Default Re: Not sure if upgrade worked properly

    Quote Originally Posted by Tezla View Post
    the HomePage and all the other "static" pages ( Shipping and Returns, Conditions of Use, etc.) ... all contain the "clean install" or default text. Did something go wrong?
    Those are contained in your language files.
    .
    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
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Not sure if upgrade worked properly

    Quote Originally Posted by DrByte View Post
    Those are contained in your language files.
    Thanks for the quick reply.

    I don't mind doing additional work. I just wanted to make sure what I have done so far worked properly.

    What threw me off was that some of the EZ-Pages are fine. It's just the default or common ones that are incorrect. Seems that when some are edited, a real file is created or modified. Others (like special ones you create for just your own site) ... seems that content (HTML code) is instead stored in the database.

  4. #4
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Not sure if upgrade worked properly

    I'm sure others are searching here, so I wanted to mention this. Not sure if I was doing somthing wrong or not, but this was my experience.

    After you finish the Upgrade procedure, you get a message that says you can't use the new store until you delete the ZC_install folder and rename the admin folder ... ok, fine (good idea).

    So, you delete the zc_install folder.

    HOWEVER, it says that if you are running 1.5.0 now (I am), you can freely rename the admin folder (like normal) but you DO NOT have to edit the admin's folder configure.php settings.

    That was not my experience. I only got a 404 page. With a renamed admin folder, the only was I could reach Admin was to edit the paths in configure.php like usual.

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

    Default Re: Not sure if upgrade worked properly

    And that would be true if you kept the original configure.php file contents from before the upgrade.

    If one uses the new configure.php file built by doing a *new* install, then there's no need to edit the file contents when simply renaming the admin folder.
    And no, you don't need to go change the file now. Either will work. The new format just makes things more flexible for people doing new installations.
    .
    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.

 

 

Similar Threads

  1. v154 various things not working properly after upgrade
    By DarkAngel in forum General Questions
    Replies: 32
    Last Post: 26 Jun 2015, 12:33 PM
  2. upgrade 1.3.9a > h gift vouchers not working properly?
    By jgold723 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 6 Dec 2011, 04:14 PM
  3. Not all pages working properly after upgrade
    By sarjenwd in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 16 Sep 2011, 03:34 AM
  4. Making sure everything is set up and running properly
    By AirsoftOutfitter in forum PayPal Express Checkout support
    Replies: 10
    Last Post: 2 Feb 2010, 07:28 PM
  5. Has the upgrade worked?
    By daveky in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 5 Jan 2007, 02:04 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