Thread: MSQL Error

Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    682
    Plugin Contributions
    0

    Default MSQL Error

    Hi All,

    Running version 1.58a on a linux server running PHP Version: 8.1.31

    Template Bootstrap Version 3.7.4

    CKEditor version 5

    Image Handler version 5

    I have not been getting any error logs for a while on the live site and was wanting to confirm that this message is just related to the MYSQL that I had in the past where it was saying MySQL server has gone away. Meaning that the MYSQL server was not contactable causing all the file errors shown in the error log.

    [20-May-2025 16:14:50 Australia/Sydney] Request URI: /index.php?main_page=index&manufacturers_id=2&sort=20a&filter_id=178&action=multi ple_products_add_product, IP address: 114.77.145.119, Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/classes/db/mysql/query_factory.php(667): trigger_error()
    #2 /includes/classes/db/mysql/query_factory.php(634): queryFactory->show_error()
    #3 /includes/classes/db/mysql/query_factory.php(324): queryFactory->set_error()
    #4 /includes/modules/bootstrap/centerboxes/new_products.php(49): queryFactory->ExecuteRandomMulti()
    #5 /includes/templates/bootstrap/centerboxes/tpl_modules_whats_new.php(14): require('/home/a1ntacdk3...')
    #6 /includes/templates/bootstrap/templates/tpl_index_product_list.php(239): require('/home/a1ntacdk3...')
    #7 /includes/modules/pages/index/main_template_vars.php(231): require('/home/a1ntacdk3...')
    #8 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntacdk3...')
    #9 /index.php(94): require('/home/a1ntacdk3...')
    --> PHP Fatal error: 2006:MySQL server has gone away :: SELECT DISTINCT p.products_id, p.products_image, pd.products_name, p.products_price, p.master_categories_id
    FROM products p, products_description pd
    WHERE p.products_id = pd.products_id
    AND pd.language_id = 1
    AND p.products_status = 1 ==> (as called by) /includes/modules/bootstrap/centerboxes/new_products.php on line 49 <== in /includes/classes/db/mysql/query_factory.php on line 667.

    Any assistance would be appreciated if I need to do anything or not with files.

  2. #2
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    255
    Plugin Contributions
    4

    Default Re: MSQL Error

    Quote Originally Posted by Bruce1952 View Post
    Hi All,

    Running version 1.58a on a linux server running PHP Version: 8.1.31

    Template Bootstrap Version 3.7.4

    CKEditor version 5

    Image Handler version 5

    I have not been getting any error logs for a while on the live site and was wanting to confirm that this message is just related to the MYSQL that I had in the past where it was saying MySQL server has gone away. Meaning that the MYSQL server was not contactable causing all the file errors shown in the error log.

    [20-May-2025 16:14:50 Australia/Sydney] Request URI: /index.php?main_page=index&manufacturers_id=2&sort=20a&filter_id=178&action=multi ple_products_add_product, IP address: 114.77.145.119, Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/classes/db/mysql/query_factory.php(667): trigger_error()
    #2 /includes/classes/db/mysql/query_factory.php(634): queryFactory->show_error()
    #3 /includes/classes/db/mysql/query_factory.php(324): queryFactory->set_error()
    #4 /includes/modules/bootstrap/centerboxes/new_products.php(49): queryFactory->ExecuteRandomMulti()
    #5 /includes/templates/bootstrap/centerboxes/tpl_modules_whats_new.php(14): require('/home/a1ntacdk3...')
    #6 /includes/templates/bootstrap/templates/tpl_index_product_list.php(239): require('/home/a1ntacdk3...')
    #7 /includes/modules/pages/index/main_template_vars.php(231): require('/home/a1ntacdk3...')
    #8 /includes/templates/bootstrap/common/tpl_main_page.php(233): require('/home/a1ntacdk3...')
    #9 /index.php(94): require('/home/a1ntacdk3...')
    --> PHP Fatal error: 2006:MySQL server has gone away :: SELECT DISTINCT p.products_id, p.products_image, pd.products_name, p.products_price, p.master_categories_id
    FROM products p, products_description pd
    WHERE p.products_id = pd.products_id
    AND pd.language_id = 1
    AND p.products_status = 1 ==> (as called by) /includes/modules/bootstrap/centerboxes/new_products.php on line 49 <== in /includes/classes/db/mysql/query_factory.php on line 667.

    Any assistance would be appreciated if I need to do anything or not with files.
    Yes, its the same error - whether or not its caused by the same issue I can't comment because we don't know what you've done to rectify.

  3. #3
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    682
    Plugin Contributions
    0

    Default Re: MSQL Error

    Quote Originally Posted by royaldave View Post
    Yes, its the same error - whether or not its caused by the same issue I can't comment because we don't know what you've done to rectify.
    Have not done anything at this stage. Just want to be pointed in the right direction to try to fix it or not.

    I was assuming that it is all related to not being able to connect the the MYSQL server

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,197
    Plugin Contributions
    63

    Default Re: MSQL Error

    Quote Originally Posted by Bruce1952 View Post
    Have not done anything at this stage. Just want to be pointed in the right direction to try to fix it or not.

    I was assuming that it is all related to not being able to connect the the MYSQL server
    Most likely too many queries for your hoster's limits.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    682
    Plugin Contributions
    0

    Default Re: MSQL Error

    Quote Originally Posted by mprough View Post
    Most likely too many queries for your hoster's limits.
    Thanks for what I thought it might be it is appreciated.

 

 

Similar Threads

  1. v155 Error after upgrading to MSQL to MariaDB 10.3, how do I see error messages
    By patrioticflags in forum General Questions
    Replies: 10
    Last Post: 13 Jun 2019, 07:20 PM
  2. MSQL and PHP update - PCI Compliance
    By wapnoj in forum General Questions
    Replies: 0
    Last Post: 3 Aug 2010, 03:06 AM
  3. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  4. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  5. Backup MSQL errors
    By gcampos in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 15 Nov 2007, 08:49 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