Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Upgrade error from 1.36-1.38a

    Hi Guys,

    my webhost upgraded to MySql 5 a few days ago and I'm using Zen Cart 1.36. I didn't know about the upgrade and my homepage (www.xtreme-stunts.com) doesn't display anymore. I started this thread previously http://www.zen-cart.com/forum/showthread.php?t=86852 . To fix my dilemma, i tried to upgrade from version 1.36 to 1.38a now but when i run the database upgrade, i recieve this error message:

    in:
    [select admin_id, admin_name, admin_pass from zen_admin where admin_name = 'stuntsmo']


    When i login to my admin, it displays as version 1.38 and everything seems to be working alright. However, my website just doesn't show anymore.

    Any idea what the problem could be? I disabled Ultimate SEO's..

    Thanks!!!!!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade error from 1.36-1.38a

    Quote Originally Posted by StuntsMovie.com View Post
    i recieve this error message:

    in:
    [select admin_id, admin_name, admin_pass from zen_admin where admin_name = 'xyxyxyxyx']
    Do your database-upgrade steps one at a time, instead of all at once.
    ie: uncheck the extra selected boxes so you do the earliest suggested step first, alone. Then the next one, etc.
    .

    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
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Upgrade error from 1.36-1.38a

    Hi DrByte, I did the steps one by one but still have a problem with the upgrade. I could at least login to my admin now by disabling SSL.

    What I did now is wipe out my complete server (I made a backup). I installed a fresh version of Zen-Cart 1.38a on there and it is working fine. Base configuration. no products, no mods,no changed texts, etc...

    Then dumbed everything from the newly created database and upload my old 1.36 database into the newly created, empty 1.38a database. however, i started receiving the same error again. Therefore, the problem lays in database compatibility for php4, mysql 4 versus the new php5 & mysql 5 to which my host upgraded.

    can anyone of you tell me what i have to modify in my 1.36 database version to make it compatible with the new zen cart 1.38a. I want to use my old zen cart database because of all my products and configurations. The categories i have in the database are as follows (Please ignore "Browse"):


    * Browse zen_address_book
    * Browse zen_address_format
    * Browse zen_admin
    * Browse zen_admin_activity_log
    * Browse zen_authorizenet
    * Browse zen_banners
    * Browse zen_banners_history
    * Browse zen_categories
    * Browse zen_categories_description
    * Browse zen_configuration
    * Browse zen_configuration_group
    * Browse zen_counter
    * Browse zen_counter_history
    * Browse zen_countries
    * Browse zen_coupons
    * Browse zen_coupons_description
    * Browse zen_coupon_email_track
    * Browse zen_coupon_gv_customer
    * Browse zen_coupon_gv_queue
    * Browse zen_coupon_redeem_track
    * Browse zen_coupon_restrict
    * Browse zen_currencies
    * Browse zen_customers
    * Browse zen_customers_admin_notes
    * Browse zen_customers_basket
    * Browse zen_customers_basket_attributes
    * Browse zen_customers_info
    * Browse zen_customers_wishlist
    * Browse zen_db_cache
    * Browse zen_email_archive
    * Browse zen_ezpages
    * Browse zen_featured
    * Browse zen_files_uploaded
    * Browse zen_geo_zones
    * Browse zen_get_terms_to_filter
    * Browse zen_group_pricing
    * Browse zen_languages
    * Browse zen_layout_boxes
    * Browse zen_manufacturers
    * Browse zen_manufacturers_info
    * Browse zen_media_clips
    * Browse zen_media_manager
    * Browse zen_media_to_products
    * Browse zen_media_types
    * Browse zen_meta_tags_categories_description
    * Browse zen_meta_tags_products_description
    * Browse zen_music_genre
    * Browse zen_newsletters
    * Browse zen_news_articles
    * Browse zen_news_articles_text
    * Browse zen_news_authors
    * Browse zen_news_comments
    * Browse zen_news_comments_description
    * Browse zen_nochex_apc_transactions
    * Browse zen_nochex_sessions
    * Browse zen_orders
    * Browse zen_orders_products
    * Browse zen_orders_products_attributes
    * Browse zen_orders_products_download
    * Browse zen_orders_status
    * Browse zen_orders_status_history
    * Browse zen_orders_total
    * Browse zen_paypal
    * Browse zen_paypal_payment_status
    * Browse zen_paypal_payment_status_history
    * Browse zen_paypal_session
    * Browse zen_paypal_testing
    * Browse zen_products
    * Browse zen_products_attributes
    * Browse zen_products_attributes_download
    * Browse zen_products_description
    * Browse zen_products_discount_quantity
    * Browse zen_products_notifications
    * Browse zen_products_options
    * Browse zen_products_options_types
    * Browse zen_products_options_values
    * Browse zen_products_options_values_to_products_options
    * Browse zen_products_to_categories
    * Browse zen_product_music_extra
    * Browse zen_product_types
    * Browse zen_product_types_to_category
    * Browse zen_product_type_layout
    * Browse zen_project_version
    * Browse zen_project_version_history
    * Browse zen_query_builder
    * Browse zen_record_artists
    * Browse zen_record_artists_info
    * Browse zen_record_company
    * Browse zen_record_company_info
    * Browse zen_reviews
    * Browse zen_reviews_description
    * Browse zen_salemaker_sales
    * Browse zen_seo_cache
    * Browse zen_sessions
    * Browse zen_sources
    * Browse zen_sources_other
    * Browse zen_so_payments
    * Browse zen_so_payment_types
    * Browse zen_so_purchase_orders
    * Browse zen_so_refunds
    * Browse zen_specials
    * Browse zen_tax_class
    * Browse zen_tax_rates
    * Browse zen_template_select
    * Browse zen_upgrade_exceptions
    * Browse zen_whos_online
    * Browse zen_zen_upgrade_exceptions
    * Browse zen_zones
    * Browse zen_zones_to_geo_zones


  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade error from 1.36-1.38a

    If you imported your 1.3.6 database data into your 1.3.8a database, you need to use zc_install again to upgrade the 1.3.6 data to 1.3.8 format.
    .

    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
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Upgrade error from 1.36-1.38a

    The error I receive now when dropping this 1.36 database into the 1.38a version of zen-cart reads:

    1146 Table 'xtremest_zc138a.project_version' doesn't exist
    in:
    [select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    this is for the admin login.


    the error i get for the homepage: www.xtreme-stunts.com is:

    1146 Table 'xtremest_zc138a.configuration' doesn't exist
    in:
    [select configuration_key as cfgkey, configuration_value as cfgvalue from configuration]

    Thanks for the help guys!!!!

  6. #6
    Join Date
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Upgrade error from 1.36-1.38a

    So after installing the new zen version 1.38a, i would dump the 1.38a database and import my old 1.36 database into it. Then i try to run the install procedure again?

    Thanks.

  7. #7
    Join Date
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Upgrade error from 1.36-1.38a

    I actually just tried what I implied in the previous post but the installation manager tells me that:

    Previous Zen Cart™ Installation Found
    However, the version level of your database cannot be determined, usually resulting from wrong table prefixes, or other database settings mismatches.



    It just overwrites my database and doesn't give me the option for an upgrade.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade error from 1.36-1.38a

    It seems as though your old database had a table-prefix (DB_PREFIX) set and your new site is using a different prefix.
    Thus you're dealing with two separate sets of tables, and you've got total confusion.

    So:
    1. Look at your 1.3.6 database, and see what the table-names start with.
    Are they named "address_book", "admin", "coupons", etc? If so, your prefix is blank.
    Or are they named "zen_address_book", "zen_admin", "zen_coupons", etc?
    If it's the latter then "zen_" is your table-prefix, and you'd find that setting in your configure.php files as DB_PREFIX.

    2. In your 1.3.8 configure.php files, set the appropriate DB_PREFIX to match the data you imported from 1.3.6

    3. Run zc_install again to do the upgrade.

    4. Delete all the extra tables from your database ...ie: the ones using a different prefix than what you set in #2 above.
    .

    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.

  9. #9
    Join Date
    Oct 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Upgrade error from 1.36-1.38a

    Dear DrByte,

    thank you soooooo much!!!! The database prefix was the problem. I upgraded and everything is working now. I just have to change all the texts again, as i'm still not very familiar with the override system

    I will get back to work now. So much till ahead of me.

    I really appreciate your help. You are doing a fantastic job here!!!

    Best Regards,

    Stunts...

 

 

Similar Threads

  1. after upgrade from 1.38a to 1.39h,cannot register
    By win8win in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 4 Jan 2013, 09:37 PM
  2. after upgrade from 1.38a to 1.39h,cannot register
    By win8win in forum General Questions
    Replies: 1
    Last Post: 4 Jan 2013, 03:53 PM
  3. Statements skipped during the upgrade from 1.38a to 1.3.9h
    By musicfreer in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 13 Jan 2011, 08:40 PM
  4. Upgrade from 1.38a to 1.3.9d
    By mattyg30 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 8 Jul 2010, 02:50 PM
  5. After upgrade from 1.38a to 1.39c. I could go to my website?
    By kimsonvu in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 17 Jun 2010, 08:53 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