WordPress.org

Forums

WooCommerce - excelling eCommerce
Checkout-Fields Ajax went to infinity - MySQL server has gone away (3 posts)

  1. BBIndikator
    Member
    Posted 1 year ago #

    Hello,

    I run newest Woo 2.1.2 with the actual Installation of BuddyPress, bbPress and Digimember (it´s a german Membership-Plugin).

    Since I updated Woo, there are some trouble with the Checkout. If I type datas in the fields to register a new customer, the payment methods changes to half transparency and I think ajax is working to see that all the relevant datas for an evaluation are already available ??

    The Problem: it goes to infinity. If I do nothing, there comes this message:

    Session timeout. Please go to Frontpage.

    If I try to break the ajax loading on the way that I restart the page in the browser, the complete website breaks for 30 seconds with the message: Error for Database Connection.

    It´s very strange because there is no directly PHP Error to find in my Logfile. There are only hundreds of entries like this: WordPress-Database-Error MySQL server has gone away

    This is every time the first entry:

    [23-Feb-2014 08:03:41 UTC] WordPress-Datenbank-Fehler MySQL server has gone away für Abfrage SELECT option_value FROM myprfx_options WHERE option_name = '_wc_session_TDmcRX9wD9VcWJAxdItllWeLRkqcwLgK' LIMIT 1 von require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, WooCommerce->init, WC_Session_Handler->__construct, WC_Session_Handler->get_session_data, get_option

    If I deactivate all plugins that manages the possibility to register new users, all works fine. (In this case I have to deactivate BuddyPress, bbPress and Digimember).

    All other pages works pretty fine in Woo. It´s just the trouble with the checkout in the new version.

    I also set this in wp-db.php in line 1175: $this->query("set session wait_timeout=600" );

    But it doesn´t help. I´m this moment on a shared hoster. I know it´s not perfect and we wanna change it in the nearly future, but everything works fine, except this issue.

    I think it must be a conflict between the named plugins, but it doesn´t show me an special error in the Logfile ?

    I use this for Logfile in wp-config:

    // log php errors
    @ini_set('log_errors','On'); // enable or disable php error logging (use 'On' or 'Off')
    @ini_set('display_errors','Off'); // enable or disable public display of errors (use 'On' or 'Off')
    @ini_set('error_log','/path/logs/errors.log'); // path to server-writable log file

    Has anybody an idea what I should do, please ?

    Best regards

    https://wordpress.org/plugins/woocommerce/

  2. BBIndikator
    Member
    Posted 1 year ago #

    This time the first entries are some others:

    [23-Feb-2014 12:04:05 UTC] WordPress-Database-Error MySQL server has gone away für Abfrage SELECT option_value FROM myprfx_options WHERE option_name = 'wp-optimize-enable-admin-menu' LIMIT 1 von require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wp-optimize/wp-optimize.php'), get_option

    [23-Feb-2014 12:04:05 UTC] WordPress-Database-Error MySQL server has gone away für Abfrage SELECT option_value FROM myprfx_options WHERE option_name = 'active_sitewide_plugins' LIMIT 1 von require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), call_user_func_array, bp_loaded, do_action('bp_loaded'), call_user_func_array, bp_include, do_action('bp_include'), call_user_func_array, BP_Activity_Component->includes, BP_Component->includes, require('/plugins/buddypressx/bp-activity/bp-activity-admin.php'), bp_core_admin_hook, bp_core_do_network_admin, bp_is_network_activated, get_site_option, get_option

    [23-Feb-2014 12:04:06 UTC] WordPress-Database-Error MySQL server has gone away für Abfrage SELECT * FROM myprfx_posts WHERE ID = 858 LIMIT 1 von require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, WC_Cart->init, WC_Cart->get_cart_from_session, get_product, WC_Product_Factory->get_product, get_post, WP_Post::get_instance

    It generates 907 entries like this, but no exact error warning for PHP.. I´m using Chrome. Nothing to see in Console.

  3. BBIndikator
    Member
    Posted 1 year ago #

    Sorry,

    WordPress PHP-Memory Limit: is set to 128 MB. This value shows green in Woo-Settings.

    I also tried to open a function that not exists in a separate file with the Browser. It shows me an PHP Error in my Logfile, so I´m sure that PHP-Errors will be shown..

    This was shown: [Sun Feb 23 17:00:10 2014] [error] [client IP] PHP Fatal error: Call to undefined function gibtsnicht() in /path/domain/test.php on line 3

    But no errors for Woo..

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags