Support

Home Forums Event Espresso Premium Migration problem from 4.4.6p to 4.6.0

Migration problem from 4.4.6p to 4.6.0

Posted: February 4, 2015 at 5:40 pm

Viewing 6 reply threads


amereghetti

February 4, 2015 at 5:40 pm

I was working without problem with 4.4.6p, but after the today upgrade Event espresso goes in Maintanance mode to upgrade de DB and is saying that my DB need an upgrade from 4.4.10 to 4.5 to 4.6, and is hanging, is not going on processing the migration. On the header appear a warning: Invalid argument suply.. path…/plugins/event-espresso-core-reg/core/helpers/EEH_Autoloader.helper.php on line 183.
What can i do to fix it?


Josh

  • Support Staff

February 4, 2015 at 6:05 pm

Hi there,

You can fix this by making sure that in your wp-config.php file WP_DEBUG is set to false. Along with that, you can add the following on the next line:

@ini_set( 'display_errors', 0 );

So, to be clear, your wp-config.php file should look something like this near its end:

define( 'WP_DEBUG', false );
@ini_set( 'display_errors', 0 );

/* That's all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

Then you go to the Maintenance mode page and re-start the migration.


amereghetti

February 4, 2015 at 8:28 pm

Thanks Josh,
adding the instruction, no warnings, migration start again, but hangs. 0% (0/1).


amereghetti

February 4, 2015 at 8:37 pm

Dear Josh,
after the third try, migration started, now it’s at 96% 650/672, i’m going to wait, but i think hangs again. :(!

May i try to run again the migration? Could be dangerous at this point?
Rgds.


Josh

  • Support Staff

February 4, 2015 at 8:53 pm

That last bit may take awhile.

However, if you want to try the migration again, I can advise starting from the backup that you took of your database before the update.

So step 1 is deactivate Event Espresso.
Step 2 is restore the database to the backup point.
Step 3 is activate Event Espresso
Step 4 is run the migration.


amereghetti

February 4, 2015 at 9:03 pm

Josh, here the final situation, after the hang i’ve problem with payments & currency tables. I’ve added drob bad tables, but nothing change.

Thanks a lot for your help!

Rgds.

Database table nrkwrr_esp_currency existed when it shouldn’t, and probably contained erroneous data. You probably restored to a backup that didn’t remove old tables didn’t you? We recommend adding

define( ‘EE_DROP_BAD_TABLES’, TRUE );

to your wp-config.php file then restore to that backup again. This will clear out the invalid data from nrkwrr_esp_currency. Afterwards you should undo that change from your wp-config.php file.
If you cannot edit wp-config.php, you should remove the data from nrkwrr_esp_currency manually then restore to the backup again.

Dismiss

Database table nrkwrr_esp_currency_payment_method existed when it shouldn’t, and probably contained erroneous data. You probably restored to a backup that didn’t remove old tables didn’t you? We recommend adding

define( ‘EE_DROP_BAD_TABLES’, TRUE );

to your wp-config.php file then restore to that backup again. This will clear out the invalid data from nrkwrr_esp_currency_payment_method. Afterwards you should undo that change from your wp-config.php file.
If you cannot edit wp-config.php, you should remove the data from nrkwrr_esp_currency_payment_method manually then restore to the backup again.

Dismiss

Database table nrkwrr_esp_log existed when it shouldn’t, and probably contained erroneous data. You probably restored to a backup that didn’t remove old tables didn’t you? We recommend adding

define( ‘EE_DROP_BAD_TABLES’, TRUE );

to your wp-config.php file then restore to that backup again. This will clear out the invalid data from nrkwrr_esp_log. Afterwards you should undo that change from your wp-config.php file.
If you cannot edit wp-config.php, you should remove the data from nrkwrr_esp_log manually then restore to the backup again.

Dismiss

Database table nrkwrr_esp_payment_method existed when it shouldn’t, and probably contained erroneous data. You probably restored to a backup that didn’t remove old tables didn’t you? We recommend adding

define( ‘EE_DROP_BAD_TABLES’, TRUE );

to your wp-config.php file then restore to that backup again. This will clear out the invalid data from nrkwrr_esp_payment_method. Afterwards you should undo that change from your wp-config.php file.
If you cannot edit wp-config.php, you should remove the data from nrkwrr_esp_payment_method manually then restore to the backup again.


Josh

  • Support Staff

February 4, 2015 at 9:17 pm

Hi there,

So did restoring from your backup help?

Viewing 6 reply threads

The support post ‘Migration problem from 4.4.6p to 4.6.0’ 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.

Event Espresso