Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    application error Trouble upgrading - database won't upgrade!

    Hello Zenners,

    I have a slight problem.

    I have experienced trouble upgrading from 1.3.8 to 1.3.9d. I have backups of both the database and all the files.

    What I then proceeded to do was to simply upload all the new files and let them overwrite everything.

    Then I went to /zc_install/index.php and followed the steps. My admin is named "adm" so I got some errors with files inside "admin" not existing or being unwritable. Fair enough - wrong directory name!

    I went on and took the steps to upgrade. When I got to the final step and tried to upgrade the db, I just got a page with this:

    1253 COLLATION 'latin1_general_ci' is not valid for CHARACTER SET 'utf8'
    in:
    [CREATE TABLE zen_counter_history_clean as SELECT * FROM zen_counter_history WHERE 1 GROUP BY startdate COLLATE latin1_general_ci;]

    I then hit the back button and tried to view the site etc. anyway. At the top of both the site and the admin part, a box with this text is to be found:
    Your database appears to need patching to a higher level. See Tools->Server Information to review patch levels.

    I went to see and yes, "Zen Cart 1.3.9d" but "Database Patch Level: 1.3.8".

    I have then tried a couple of different things, renaming "adm" back to "admin" for instance. But I must admit that I am a bit lost in this matter!

    The url is http://www.sogrenibikes.com/, but I guess that it is closed for maintenance at the moment for the public.

    If anyone could help out, I would be forever grateful.

    Thank you!

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

    Default Re: Trouble upgrading - database won't upgrade!

    Sounds like your database itself is set to utf8 and so is your connection to it.

    So, try this:
    Edit /zc_install/includes/installer_params.php
    Change define('DB_CHARSET', 'latin1'); to define('DB_CHARSET', 'utf8');
    .

    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
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Trouble upgrading - database won't upgrade!

    Great, it works! Database upgraded just as it should.

    Only trouble now is that I get a blank page when I try to add a product to the cart... New thread, perhaps?

    Anyway, thank you so much

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

    Default Re: Trouble upgrading - database won't upgrade!

    Great -- glad it sorted it out for you.

    Yes, a new thread for the other issues would be appropriate
    .

    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. Trouble upgrading the database from 1.3.8a to 1.3.9h
    By Ormhaugen in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 5 Jan 2011, 09:39 AM
  2. Trouble upgrading database
    By KathyM in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 29 Jul 2010, 06:31 AM
  3. Trouble upgrading database
    By ardhill in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 30 Apr 2010, 05:29 AM
  4. Trouble upgrading database
    By gift-taggs in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 20 Apr 2008, 04:11 AM
  5. Database Problems Upgrading from 1.3.6 to 1.3.7 (my export won't work)
    By TLC in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 3 Jan 2007, 03:57 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