Posted: March 17, 2017 at 8:50 am
|
Hello, just bought your plugin. But I had 2 warning messages after installing the plugin: There were errors creating the Event expresso database tables and Event Expresso has been deactivated. To view erros, please enable WP_DEBUG in your wp-config.php file And also: What is wrong? Thanks Yvan The incoming statuses argument must be an array with keys as the $status_id and values as the $status_code EEM_Status – localized_status – 284 |
Hello, Was Event Espresso manually uploaded through SFTP or FTP? If so, could you try removing the current folder and re-installing a fresh copy through the WordPress plugins screen as a zip file? If SFTP / FTP is the only option at this time, then try transferring all of the files and folders again. — |
|
|
Hi Lorenzo, sorry but I did what you adviced and the result is the same. If I enable the DEBUG MODE my website is down … can you help? Regards Yvan The following errors have occurred: |
Hello, I see the issue. There is a restriction on the site on creating new database tables. Could you reach out to your web hosts for help on adjusting the restrictions on your site? That should then allow Event Espresso to set up its tables. — |
|
|
Hello Lorenzo, the answer of my web host is negative: OVH told me that I had the full right and no limitation to create tables in my databases. Any other idea ? Regards Yvan |
Hi Yvan, Earlier, you mentioned that WP debuggin breaks your site and that isn’t something that I’ve seen before. Could you reach out to OVH on how to you can safely enable WordPress debugging? https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging Then try activating Event Espresso again and you’ll see a more thorough report of what is happening in this file: /wp-content/debug.log If you see anything related to database tables, then there may be a restriction on the site on creating new tables which is why the activation is failing. You can turn off debugging after. We just need it enabled briefly to pinpoint what is happening. — |
|
|
Hi Lorenzo, we have installed a new database on a test serveur where it was possible to install the plugin. We did a dump of the tables created by EE4 and it’s now working on the production server, but still I don’t like the process and still don’t understand why we had this issue. As I told you it’s possible to create tables with my host OVH, it’s more a problem of code due to EE4. Here’s the debug message, can you give me more news in order to solve definitively this issue ? Thank you Yvan Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question’ doesn’t exist] Erreur de la base de données WordPress : [Table ‘peacesposite.dev_esp_question_group_question’ doesn’t exist] Notice: WPDB Error “Table ‘peacesposite.dev_esp_payment_method’ doesn’t exist” while running wpdb method “get_var” with arguments [“SELECT COUNT(Payment_Method.PMD_ID) FROM dev_esp_payment_method AS Payment_Method WHERE Payment_Method.PMD_scope LIKE ‘%CART%'”]. Automatically attempting to fix EE Core DB in /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/db_models/EEM_Base.model.php on line 2263 Notice: WPDB AGAIN: Error “Table ‘peacesposite.dev_esp_payment_method’ doesn’t exist” while running the same method and arguments as before. Automatically attempting to fix EE Addons DB in /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/db_models/EEM_Base.model.php on line 2263 Fatal error: Uncaught exception ‘EE_Error’ with message ‘WPDB Error: “Table ‘peacesposite.dev_esp_payment_method’ doesn’t exist”‘ in /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/db_models/EEM_Base.model.php:2202 Stack trace: #0 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/db_models/EEM_Base.model.php(2134): EEM_Base->_do_wpdb_query(‘get_var’, Array) #1 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/db_models/EEM_Payment_Method.model.php(136): EEM_Base->count(Array) #2 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/helpers/EEH_Activation.helper.php(1208): EEM_Payment_Method->count_active(‘CART’) #3 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/helpers/EEH_Activation.helper.php(153): EEH_Activation::insert_default_payment_methods() #4 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/EE_System.core.php(376): EEH_Activation::initialize_db_content() #5 [internal function]: EE_System->init in /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/db_models/EEM_Base.model.php on line 2202 |
As you found, your test server had no trouble with creating new database tables. If there were a code problem in Event Espresso 4, why would your test server create the database tables? |
|
|
@Josh Can you find an explanation to this problem? |
Are there any differences between your test server environment and the live server? That’s the place to look for an explanation. |
|
|
Hi I have tried to install the plugin People Addon and again I had a warning message (see bellow) I can access the plugin event if I had this warning but I want to understand why we continue to have this issue. I don’t have technical skills to understand what is going on, I can give you full access to my host and backoffice in order to solve the problem. Here is the message : WordPress database error: [] Stack Trace:#0 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/helpers/EEH_Activation.helper.php(745): EventEspresso\core\services\database\TableManager->createTable(‘esp_people_to_p…’, ‘\n\t\t\tPTP_ID bigi…’, ‘InnoDB ‘) #1 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/data_migration_scripts/EE_Data_Migration_Script_Base.core.php(557): EEH_Activation::create_table(‘esp_people_to_p…’, ‘\n\t\t\tPTP_ID bigi…’, ‘ENGINE=InnoDB ‘, true) #2 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/data_migration_scripts/EE_Data_Migration_Script_Base.core.php(430): EE_Data_Migration_Script_Base->_create_table_and_catch_errors(‘esp_people_to_p…’, ‘\n\t\t\tPTP_ID bigi…’, ‘ENGINE=InnoDB ‘, true) #3 /home/peacespo/www/wp-content/plugins/eea-people-addon/core/data_migration_scripts/EE_DMS_People_1_0_0.dms.php(57): EE_Data_Migration_Script_Base->_table_is_new_in_this_version(‘esp_people_to_p…’, ‘\n\t\t\tPTP_ID bigi…’) #4 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/EE_Addon.core.php(348): EE_DMS_People_1_0_0->schema_changes_before_migration() #5 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/EE_Addon.core.php(305): EE_Addon->initialize_db() #6 [internal function]: EE_Addon->initialize_db_if_no_migrations_required(”) #7 /home/peacespo/www/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #8 /home/peacespo/www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #9 /home/peacespo/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #10 /home/peacespo/www/wp-content/plugins/event-espresso-core-master/core/EE_System.core.php(856): do_action(‘AHEE__EE_System…’) #11 [internal function]: EE_System->perform_activations_upgrades_and_migrations(”) #12 /home/peacespo/www/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #13 /home/peacespo/www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #14 /home/peacespo/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #15 /home/peacespo/www/wp-settings.php(449): do_action(‘init’) #16 /home/peacespo/www/wp-config.php(95): require_once(‘/home/peacespo/…’) #17 /home/peacespo/www/wp-load.php(37): require_once(‘/home/peacespo/…’) #18 /home/peacespo/www/wp-admin/admin.php(31): require_once(‘/home/peacespo/…’) #19 /home/peacespo/www/wp-admin/plugins.php(10): require_once(‘/home/peacespo/…’) #20 {main} Best regards Yvan |
Hi there, I’m afraid this isn’t a problem we can solve. When the server does not allow database tables to be created by WordPress plugins, that’s something the server admin can go in and change to allow. |
|
|
Hi, Have a look to the SQL of wordpress : CREATE TABLE dev_esp_people_to_post ( MySQL said: Documentation As you can see, WordPress gives back a error message with the creation table request. The problem comes on the SQL query with the quote MySQL said: Documentation Can you help ? |
The error indicates that your server’s version of MySQL does not support that character set. Your host should be able to upgrade your server to the versions recommended by WordPress: |
|
The support post ‘Failed installation of EE4’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.