Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default WARNING: An Error occurred, please refresh the page and try again.

    As the title says. I have done a clean install (new website) and have hit an interesting problem. If you visit my Registration page, against Country I have 'WARNING: An Error occurred, please refresh the page and try again.' I thought it may have been the template I installed however it is not. This site only has one plugin installed and that is 'Display logs'.

    Log file:
    [21-May-2018 14:40:36 Europe/London] Request URI: /index.php?main_page=login, IP address: 10.71.76.142
    #1 trigger_error() called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/classes/db/mysql/query_factory.php:171]
    #2 queryFactory->show_error() called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/classes/db/mysql/query_factory.php:143]
    #3 queryFactory->set_error() called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/classes/db/mysql/query_factory.php:270]
    #4 queryFactory->Execute() called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/functions/functions_lookups.php:47]
    #5 zen_get_countries() called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/functions/html_output.php:541]
    #6 zen_get_country_list() called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/templates/template_default/templates/tpl_modules_create_account.php:116]
    #7 require(/homepages/20/d503465712/htdocs/shops/idoshop/includes/templates/template_default/templates/tpl_modules_create_account.php) called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/templates/template_default/templates/tpl_login_default.php:92]
    #8 require(/homepages/20/d503465712/htdocs/shops/idoshop/includes/templates/template_default/templates/tpl_login_default.php) called at [/homepages/20/d503465712/htdocs/shops/idoshop/includes/templates/responsive_classic/common/tpl_main_page.php:171]
    #9 require(/homepages/20/d503465712/htdocs/shops/idoshop/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/homepages/20/d503465712/htdocs/shops/idoshop/index.php:97]

    [21-May-2018 14:40:36 Europe/London] PHP Fatal error: 1054:Unknown column 'status' in 'where clause' :: select countries_id, countries_name
    from uw15_countries where status != 0 order by countries_name ==> (as called by) /homepages/20/d503465712/htdocs/shops/idoshop/includes/functions/functions_lookups.php on line 47 <== in /homepages/20/d503465712/htdocs/shops/idoshop/includes/classes/db/mysql/query_factory.php on line 171
    But now the log file is putting up:
    [21-May-2018 16:06:25 Europe/London] PHP Fatal error: 1054:Unknown column 'status' in 'where clause' :: select countries_id, countries_name
    from uw15_countries where status != 0 order by countries_name ==> (as called by) /homepages/20/d503465712/htdocs/shops/idoshop/includes/functions/functions_lookups.php on line 47 <== in /homepages/20/d503465712/htdocs/shops/idoshop/includes/classes/db/mysql/query_factory.php on line 171
    Any ideas, please? (d503465712 is not my db)
    Learning Fast.
    Eden Craft Supplies

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,026
    Plugin Contributions
    61

    Default Re: v1.5.5f very strange problem

    Have you checked your database tables?

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  3. #3
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: v1.5.5f very strange problem

    What source did you use for your installation. Did you download it from this sit or use some auto-installer?

  4. #4
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: v1.5.5f very strange problem

    Quote Originally Posted by mprough View Post
    Have you checked your database tables?

    ~Melanie
    Yes I have, but thanks Melanie
    Learning Fast.
    Eden Craft Supplies

  5. #5
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: v1.5.5f very strange problem

    Quote Originally Posted by Design75 View Post
    What source did you use for your installation. Did you download it from this sit or use some auto-installer?
    Now there is a thing I used the "1 and 1 app centre". I have never had a problem with this before, however, there is always a first time. I will contact them to see what is going on, if it is a problem with their installation process.
    Learning Fast.
    Eden Craft Supplies

  6. #6
    Join Date
    Jul 2012
    Posts
    16,737
    Plugin Contributions
    17

    Default Re: v1.5.5f very strange problem

    Quote Originally Posted by adb34 View Post
    Now there is a thing I used the "1 and 1 app centre". I have never had a problem with this before, however, there is always a first time. I will contact them to see what is going on, if it is a problem with their installation process.
    Not so much their "process" although any auto-installer is not the method developed by the Zen Cart Team, but like most if not all of the auto-installers recently, they skipped at least one database field as part of their install. The status field found in the countries table.... it's been in the standard install for some 3+ years...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,524
    Plugin Contributions
    88

    Default Re: v1.5.5f very strange problem

    Those auto-installers seem to have an issue with the update (made in Zen Cart 1.5.2) that adds a status field to the countries table in the database.

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,173
    Plugin Contributions
    11

    Default Re: v1.5.5f very strange problem

    And, since most don't include the zc_install folder they never update the database.

  9. #9
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: v1.5.5f very strange problem

    So my next question is; how can I fix this?
    Learning Fast.
    Eden Craft Supplies

  10. #10
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: v1.5.5f very strange problem

    Quote Originally Posted by adb34 View Post
    So my next question is; how can I fix this?
    Download the installation package from this site. Unpack and upload it using ftp. Go to your domain and follow the online instructions.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 WARNING: An Error occurred, please refresh the page and try again.
    By karine in forum General Questions
    Replies: 3
    Last Post: 17 Mar 2018, 06:59 PM
  2. v151 WARNING: An Error occurred, please refresh the page and try again
    By pramitha in forum General Questions
    Replies: 5
    Last Post: 12 Jul 2016, 10:25 AM
  3. v150 WARNING: An Error occurred, please refresh the page and try again.
    By lar48ry in forum General Questions
    Replies: 2
    Last Post: 29 Jun 2012, 08:33 PM
  4. Replies: 6
    Last Post: 22 May 2012, 02:57 AM
  5. v150 WARNING: An Error occurred, please refresh the page and try again
    By ccn1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 9 Apr 2012, 06:48 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