Support

Home Forums Event Espresso Premium Can't access WP-Admin after EE update

Can't access WP-Admin after EE update

Posted: October 1, 2014 at 8:19 am


John Davies

October 1, 2014 at 8:19 am

I was working on some changes to a tickets for an event, updated the page, and after doing so, backed up my database and updated EE to 4.3.2 (this was the version available to update), migrated the data, went to view the page and all of the event details, location, tickets and date/times were no longer there. At this time I panicked and went to the plugins and noticed there was another update to 4.4.3. Updated it and still no luck. Restored my web server to the backup from 9/28, reimported my database, and now every time I try and access the wp-admin there is no content to be displayed.

You can still access EE from the front end and it appears to work, however, I can’t access wp-admin to verify. I tried turning off all plugins and then turning them back on, but as soon as I turn on EE it goes blank.

Any help would be greatly appreciated.


Lorenzo Orlando Caum

  • Support Staff

October 1, 2014 at 8:27 am

Hi John,

The update service will always take you to the latest software.

Did you use the update service through the dashboard or did you manually update through SFTP or FTP?

A manual update will work but there are two things to be aware of:

1) You can’t overwrite old files
2) Missing files due to the FTP connection dropping will break the install

Also, do you know if your host is running a current version of PHP (e.g 5.3, 5.4, 5.5)?


Lorenzo


John Davies

October 1, 2014 at 8:33 am

When I updated initially it was through the Dashboard. Then it migrated data to v4.3 and thats when I lost event information. Went back to the dashboard, saw another update, updated, migrated, and then could not access wp-admin.

PHP Used is 5.4.32


Josh

  • Support Staff

October 1, 2014 at 8:38 am

Hi John,

You’ll need to turn on WP_DEBUG to find out the error that’s being thrown.

IF you add the following to your wp-config file you’ll be able to log the errors to a debug.log file in /wp-content/

http://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


John Davies

October 1, 2014 at 8:44 am

Hello Josh,
I just completed adding the:
// Enable WP_DEBUG mode
define(‘WP_DEBUG’, true);

// Enable Debug logging to the /wp-content/debug.log file
define(‘WP_DEBUG_LOG’, true);

// Disable display of errors and warnings
define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’,0);

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define(‘SCRIPT_DEBUG’, true);

To the wp-config file.


Josh

  • Support Staff

October 1, 2014 at 8:50 am

Hi John,

I was able to view the log file with the creds you sent via the support token form.

This is the error that’s filling the logs:

WordPress database error Got error 28 from storage engine for query

The error 28 means that it’s out of disk space.

https://www.google.com/search?q=mysql+Got+error+28+from+storage+engine&gws_rd=ssl

You will need to contact your host and request that they free up some space or upgrade to more space.


John Davies

October 1, 2014 at 9:08 am

Hello Josh,
I am still waiting for the site files to be restored before I can do anything about the size of their hosting plan or delete old backups. Is this time counting towards my token? Not sure how this support really works yet as I haven’t needed it up until now.


Josh

  • Support Staff

October 1, 2014 at 9:28 am

Hi John,

I followed up with your email and answered your question about the priority support time.

In addition to off-loading those backups and unneeded files to free up some disk space, please keep an eye on the site’s error logs. If you continue to see WordPress Database errors, you can ask your host to run a repair on the tables that make up your WordPress site.


John Davies

October 1, 2014 at 9:58 am

Josh, I have updated the amount of storage and removed a few backups. I deactivated all of the plugins, logged into wordpress, went to plugins, activated just the v4.2. EE core plugin but it takes me to:
http://americansunrise-sa.org/wp-admin/admin.php?page=espresso_about

Which is a blank page. I then cant access wp-admin and have to go back to PHP My Admin and set the plugins back to deactivated.

Please help!!!!! 🙁


John Davies

October 1, 2014 at 10:42 am

Hello Guys,
Not sure if you are working on trying to fix this for me or if I need to buy another support token?


Josh

  • Support Staff

October 1, 2014 at 10:49 am

Hi John,

It turns out your Event Espresso plugin folder has files from both 4.2.4 and 4.4.3. I’m in the process of cleaning up this up, but it will take a few more minutes.


John Davies

October 1, 2014 at 10:54 am

Thank you so much!

So are you updating us to the 4.4.3? This is the most recent version correct?

I am just hoping there hasn’t been too many attempts at purchasing tickets thru the front end over the past 24 hrs. Also, is there a way to edit the data that shows up in the reports? I made changes to the ticket prices and was wondering if we can rebuild that data?

Thanks again and I can’t wait to get this all up and running to the newest version etc.


Josh

  • Support Staff

October 1, 2014 at 10:59 am

Hi John,

I replaced what was there with the last stable branch of 4.2 (which is 4.2.9).

You’re welcome to update to the most recent version, please note that when you do, you’ll need to go through the migration steps after you activate.

You can redo your changes via the admin, the data from before was borked because the disk was full.


John Davies

October 1, 2014 at 11:20 am

Can I now remove all of the plugins for EE3, or could that break the site again?


Josh

  • Support Staff

October 1, 2014 at 11:29 am

Removing all the EE3 plugins is recommended and will not break the site. The reason the site broke before was:

1) The disk was full and cause mySQL to error out.
2) The restore from backup didn’t remove the files that were installed with the newer version of EE4. It left them in place alongside the restored back up files.


John Davies

October 1, 2014 at 12:58 pm

Thank you so much!
One last thing, before this happened, on the event ticket purchase page:
http://americansunrise-sa.org/?espresso_events=12th-annual-american-sunrise-gala-celebrity-song-slam

The ticket and datetime sections were below the Main Event Image before. I can’t remember if I had made an adjustment before or if its something that is standard to EE4?


Josh

  • Support Staff

October 1, 2014 at 1:34 pm

Hi John,

There was a decision made a few versions back that the ticket selector should be moved to the top of the event page. If you want it to be displayed where it was before, this can be easily modified by adding some code to your custom functions file or plugin.

https://gist.github.com/joshfeck/1151c89082ccb5c0b478


John Davies

October 6, 2014 at 3:01 pm

AHHH I can’t delete price modifiers on tickets for an event that is currently selling tickets. PLEASE HELP!!!


John Davies

October 6, 2014 at 3:03 pm

Even when I change the event to draft to make changes, it won’t record them to the database.


Josh

  • Support Staff

October 6, 2014 at 3:33 pm

Hi John,

It won’t let you change these because if it did, the ticket sale data will not be accurate. I can advise changing the Sell Until date on the existing tickets to right now, then add new tickets without the price modifiers.


Lorenzo Orlando Caum

  • Support Staff

November 18, 2015 at 8:22 am

Hi John,

As of Event Espresso 4.8.21, there is a template re-order option available in the WordPress dashboard.

Backup your WordPress and update your software

https://eventespresso.com/wiki/how-to-back-up-your-site/

You can see the change log for Event Espresso 4 here:

https://eventespresso.com/wiki/ee4-changelog/

Remove existing filters for adjusting the order

If you have used some of the suggested filters to adjust the order of your event elements, then you’ll want to first remove those from your website and they may have been added to your child theme’s functions.php file or a site specific plugin.

Set a custom order through the Templates screen

Afterwards, go to your WP dashboard (WP-admin) –> Event Espresso –> Events –> Templates. The Use Custom Display Order options in the Templates screen can be used to reorder the events elements on the single event page as well as the events listing page.

Again, be sure that any of the filters have been removed before turning on the template reorder option. Otherwise, you may see duplicate content.

Thanks


Lorenzo

The support post ‘Can't access WP-Admin after EE update’ 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