Posted: April 1, 2015 at 10:55 am
|
We moved a staging site to production on MediaTemple WP hosting and received a license error/warning. MediaTemple disabled the plug-in, and we then updated to the latest build and reactivated the plug-in. Front-end is fine once again, but no admin menu item appears for managing any aspect of EE. I can go to Plug-Ins and click settings for EE and still access the main EE Settings page, but I can no longer edit Events, etc. |
Hi Greg, some files may not have transferred during the move from staging to live. Could you try deactivating and removing the Event Espresso core plugin, downloading a new copy from your account page and re-installing through WordPress Plugins within your WP dashboard? — |
|
|
No dice – I disabled and deleted the core and then uploaded/installed a new copy = same result. No admin menu options… |
|
I am logged in as the site super admin – when I click on ‘Events’ from the plug-in page to try and manage events, I get an error saying “You do not have access to this route.” Is there a file permissions issue somewhere??? |
|
We are not using any access control plug-ins or capability managers, etc BTW. |
Hi,
This sounds like a WP multisite install. Is the staging site also showing this strange behavior with the missing menus? — |
|
|
Not multi-site (unless MediaTemple handles their staging cites/copies like a multi-site set-up). I searched for the route access error and found a post regarding resetting EE capabilities (add /wp-admin/admin.php?page=espresso_maintenance_settings) to the end of your root URL) – that seems to have fixed my issue. |
Hi, I think you are referring to these steps: https://eventespresso.com/topic/you-do-not-have-access-to-this-route/#post-148436 Did you upgrade from an older version of Event Espresso 4 such as 4.4.9 on the staging site? — |
|
|
No, that is what was so weird. Both sites had the same install (the staging site was a copy of the live site), and things went awry when we tried to merge changes/edits back to the live site. There was an error and MediaTemple had to disable EE in order for us to access the site. I then upgraded to the latest build (we were only one version behind previously, I believe – so I deleted the plug-in and uploaded/installed the latest core). This fixed access to the site and displayed the Events and Calendar on the front-end, but with capabilities messed up we had no admin menus. |
Hi Greg, One thing that could have played a role in this is the serialized options stored in the options table. When you move a database from one site to another, the serialized option values that include any server file paths or URLs need to be updated so that they new site URLs and paths replace the old site’s. Along with that, when it’s in a serialized array, the serialized string length values also need to be updated. For example:
If the serialized string length values don’t get properly updated, eg:
The serialized date becomes broken. There are a few tools that help automate this, and they are: https://wordpress.org/plugins/wp-migrate-db/ https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
|
|
The support post ‘Admin Options missing after last upgrade’ 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.