Support

Home Forums Event Espresso Premium Trouble activating core plugin

Trouble activating core plugin

Posted: September 30, 2016 at 9:54 am

Viewing 5 reply threads


nexus

September 30, 2016 at 9:54 am

Hi there,

I have a live site and I am currently using the plugin Events Manager for events. I decided to switch to EE4 but am having a lot of trouble activating the plugin.

I have the plugin installed properly (so I think) and when I click on the activate link, it activates and takes me to the welcome screen. But I don’t see the Espresso Events menu on the left. When I click on the link that says something like “Create your first event” I get the following error message:

You do not have access to this route.

Same thing happens if I click on the “Events” link under the plugin name on the plugins page.

This is what the Requirements shows me:

PHP
Your version5.6.24 PASS
PHP memory90M PASS
Max Upload Size64M PASS
Current PHP memory usage51.67 MB
PHP allowed to open files over url protocolYes
PHP equipped with GD image manipulation libraryYes
PHP Info View your server configuration details.
Test actual PHP memory limit
Test

MySQL
Your version5.6.28-log PASS

WordPress
Your version4.6.1 PASS

Theme
Nexus PASS

Server environment
Server typeApache
cURLFound! PASS
Recommended Apache ModulesNot Found! WARNING
Some recommended Apache modules appear to be missing from your installation. This may be because of your PHP configuration or because they have not been enabled in your Apache configuration. While this may not cause any obvious errors, some features may not work correctly. Please contact your webhost about activating additional Apache modules or upgrading Apache.
Apache securityNot found! WARNING
Your site may be vulnerable to spam registrations without the Apache module mod_security active on your server. We recommend enabling reCAPTCHA on the Event Espresso General Settings page to avoid spam registrations.
Home directory .htaccess fileFound! PASS View .htaccess file
.htaccess fileNot Found! RECOMMENDED
You do not appear to have an .htaccess file or mod_rewrite is not enabled. This is not a problem per se, but it means you cannot use WordPress' "Pretty Permalinks". What are "pretty" permalinks?
Requirements Check version 0.9.2


Josh

  • Support Staff

September 30, 2016 at 10:14 am

This doesn’t sound like the plugin activation scripts ran completely. Since you’re not seeing an Event Espresso menu item in the WordPress dashboard, you can going to this URL:

yoursite.com/wp-admin/admin.php?page=espresso_maintenance_settings&action=data_reset

That should take you to a Maintenance page, where you can click the button that says “Reset Event Espresso Capabilities”.


nexus

September 30, 2016 at 10:31 am

Wow, that did something! And it sort of worked! So now I get the menu on the left. But now sometimes when I load a page (like for example /wp-admin/admin.php?page=espresso_payment_settings) sometimes it gives me a 404 error and sometimes it just takes a long time to load.

I’ve tried to do the data reset a few times and it keeps loading forever then giving me a 404 error. (at this URL /wp-admin/admin.php?page=espresso_maintenance_settings&action=data_reset&data_reset_nonce=5ea42e645e&return=data_reset) I’m wondering if maybe there’s some corrupted data (I previously had Decaf installed but I uninstalled that and I thought I removed the data)… is there a manual way to reset the data?


Josh

  • Support Staff

September 30, 2016 at 10:43 am

A 404 error to load an admin page would not normally be fixed by resetting data. Does the site’s .htacess file have special redirects in place? If so, you could try renaming the htaccess file and creating a new one with just the basic WP rewrite rules in it. You can also check your site’s PHP error logs to see what may be causing the slow down.

The other thing to check is the wp-config file. I’ve seen something similar happen before where the site URL was set after WordPress code starts its loading process. So the end of the wp-config.php file should be this:

/* 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');

If there’s any other code after that line that says to stop editing, such as
define('WP_SITEURL','http://www.yoursite.com');
then the custom code needs to be moved to a line before where it says to stop editing.


nexus

September 30, 2016 at 2:47 pm

The site does not have special redirects. the .htaccess file only contains the basic WP stuff.

The wp-config file is also as you suggested.

I haven’t looked at an error log yet, but I found another issue that I presume is related.

As I described (I hope), the issue is somewhat intermittent. Like, it’s slow and sometimes it loads and sometimes it doesn’t.

I managed to get my payment gateway page to load and there’s nothing in the page. This is what it looks like https://img42.com/YNe0n


Josh

  • Support Staff

September 30, 2016 at 2:54 pm

This all may be related to a server that’s overloaded and timing out, which fits because things are running slow, and it seems like scripts are terminated before finishing what they need to do.

The payment method page being blank is caused by not having the capabilities in the user account for editing payment methods. You can use a plugin like User role editor to add the following capabilities to your account manually:

ee_payment_method_aim
ee_payment_method_bank
ee_payment_method_check
ee_payment_method_invoice
ee_payment_method_mijireh
ee_payment_method_paypal_pro
ee_payment_method_paypal_standard

And if you have the Stripe add-on activated:
ee_payment_method_stripe_onsite

Then you should probably contact your host to see if they can move your site to a server that has more resources available or is less overloaded.

Viewing 5 reply threads

The support post ‘Trouble activating core plugin’ 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