Support

Home Forums Event Espresso Premium Unable to install: Fatal Error (w/o details)

Unable to install: Fatal Error (w/o details)

Posted: September 20, 2013 at 7:10 am


Raycheal Murphy

September 20, 2013 at 7:10 am

I purchased the business version of Event Espresso yesterday and unzipped all the files on my computer then uploaded them to my FTP, following the installation directions. When I go to Plugins on my wordpress site and try to activate Event Espresso I get a “Fatal Error” message but nothing else, no descriptor like I’ve seen in the other posts on here which would lead me to know what the error is involving. It just says ” Plugin could not be activated because it triggered a fatal error.”

Wordpress Version: 3.6.1
Version of Event Espresso: 3.1.35.P
New Installation
My site is online but I don’t have a event registration page as I’m still trying to activate Event Espresso.

Thanks!


Josh

  • Support Staff

September 20, 2013 at 7:42 am

This may require turning on the WordPress Debugging constant.

If it’s possible to do so, can you please send temporary WordPress admin level log in credentials and working FTP credentials via the contact form on this page so we can investigate further?

https://eventespresso.com/send-login-details/


Josh

  • Support Staff

September 20, 2013 at 11:09 am

Hi Nichole,

When I tried to log into the WP admin it displays this:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

The FTP credentials will not allow me to log in as well.

The first issue may be resolved by changing a security setting on your server as mentioned in this thread from the wp.org forums:

http://wordpress.org/support/topic/error-service-temporarily-unavailable


Raycheal Murphy

September 20, 2013 at 11:30 am

I’m really sorry about that and not sure why that is.
Regarding the log in to the site I am wondering if it’s because I reactivated a photo plugin for a bit there and once I realized it was causing trouble again (not letting others log in) I disabled it again. So maybe that’s all it needed and might work now?

For some reason the school I work at has my server site blocked so I cannot sign in currently and change the security settings. I expect to be home by 3:30pm CST and should be able to get onto the server at that point and resend you the credentials if that’s ok.

It’s weird though because when I go into another browser and log onto my site with the credentials that I gave you, it worked for me. Same with when I log into the FTP server using WinSCP on my computer. Not saying you’re doing anything wrong because you’re the pro and I’m the newbie but I wonder what I’m missing. Maybe it’s because it knows my IP address? Either way, once I get home I’ll log onto my server and change the security settings. Sorry for the inconvenience and thank you very much for your help and time.


Josh

  • Support Staff

September 20, 2013 at 11:54 am

I can log into the admin now, but the FTP client says this when I try to FTP in:

The user name or password was not accepted by the server. The site may be inaccessible or your password may be incorrect. Please double-check your login settings.

If I had FTP credentials I would go into the wp-config.php file and set WP-DEBUG to true. While there I would also try increasing the amount of memory allowed for PHP (which can help in cases like this one)

http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

What may be happening is the limit is set at 40MB. Since the Memory usage on your site is at 39.81MB right now activating a memory consuming plugin like Event Espresso might throw the fatal error.


Raycheal Murphy

September 20, 2013 at 12:41 pm

Thanks, Josh, I’m glad that you were able to get into the site now.

I was able to go in through FTP on my end and set WP-DEBUG to true. I tried to set the PHP memory to be increased but I wasn’t sure where to do so. I tried to within the WP-DEBUG file but that didn’t seem to help.

My husband was able to get into the FTP with the credentials that I sent you but he also set up a new user so I will send you those credentials the way I did last time.

Thank you!


Josh

  • Support Staff

September 20, 2013 at 12:48 pm

If increasing the memory limit by adding

define( 'WP_MEMORY_LIMIT', '64M' );

to wp-config.php does not increase the memory limit there may be a limit set by the host that’s overriding this. You can contact the hosting company’s support staff to find out if they can raise the limit.


Josh

  • Support Staff

September 20, 2013 at 2:06 pm

Hi Nicole,

I’ve checked through the admin and the files and I’m not finding anything out of order. The custom files add-on was not installed in the correct location so I deleted it from there (it needs to be installed in /wp-content/uploads/espresso/ as directed here: https://eventespresso.com/wiki/custom-files-addon/)

Have you tried ruling out a plugin or theme conflict by deactivating all the other plugins and temporarily switching to the default WP theme? I have used the super skeleton theme successfully with Event Espresso myself, but there’s that slight chance there is a modification to your copy that could potentially cause an issue.


Josh

  • Support Staff

September 20, 2013 at 2:19 pm

You can scratch that. With a little trial and error I was able to get the plugin to install by commenting out line 43 of espresso.php which kicks off the auto update feature.

I’m going to check with one of the developers to see what to do next. For now you can use Event Espresso and it will function, the exception is the auto updater will not work.


Raycheal Murphy

September 20, 2013 at 2:27 pm

Great! Thank you!


Raycheal Murphy

September 20, 2013 at 2:32 pm

Though now I’m not able to log into my site. It says server error.

I was able to log in once and then got this:

Session expired

Please log in again. The login page will open in a new window. After logging in you can close it and return to this page.

+ – Γ—
Linux infong 2.4 #1 SMP Mon Aug 5 20:05:43 CEST 2013 i686 GNU/Linux
#1
PHP
5.2.17
MySQL
5.1.71
Memory Usage
46,945,084 bytes
Deprecated
Object Cache
File Gallery
Total Functions:1

Total Arguments:1

Total Files:0

wp-content/themes/super-skeleton/update-notifier.php:47 – get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead.
wp-admin/menu-header.php:115 – Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
Cache Hits: 1231
Cache Misses: 66


Josh

  • Support Staff

September 20, 2013 at 3:03 pm

Sorry about that. You should be able to log in now. I deactivated Event Espresso. While I was able to activate Event Espresso, loading up the Event Espresso>General Settings screen locked up the admin.

I set up an error log file (which I am going to delete for security purposes). This is the error that shows up when Event Espresso is activated (after the admin crashes) :

PHP Fatal error: Out of memory (allocated 47185920) (tried to allocate 413767 bytes) in /xx/wp-includes/functions.php on line 252

At this point I can advise checking with the host about getting more memory allocated.

There was another fatal error that was logged that was related to S2 Members that should be checked into as well:

PHP Fatal error: Class declarations may not be nested in /xx/wp-content/plugins/s2member/includes/classes/tracking-codes.inc.php on line 29

These might be related to the s2-hacks.php file that’s in the wp-content/mu-plugins file. I don’t really know much about s2 to say for sure, but the developer who added this may be able to look into it.


Raycheal Murphy

September 20, 2013 at 3:13 pm

Ok, thank you. I’ll check into both of those things and hopefully get this resolved.
Thanks for your time and hard work!


Josh

  • Support Staff

September 20, 2013 at 3:18 pm

You’re welcome. Thank you for your patience and I’m sorry I couldn’t get the plugin working, this was a tricky one because it wasn’t showing any errors until I set up the log file.


Raycheal Murphy

September 27, 2013 at 8:08 am

Hello again!
I have upgraded my memory and still can’t activate EventEspresso without errors. When I activate it and attempt to update settings like I’m told, I end up getting a page that says I do not have the permissions to do so; but I’m SuperAdmin on the site so I don’t know why it would say that.

My husband who help me set up this site looked into the S2Member-hack file but didn’t see anything wrong with it and was wondering if you still had the log that you saw the error in that I’d be able to show him. I’m guessing you don’t since you said you got rid of it for security reasons but thought I’d ask anyway πŸ™‚

Let me know what you think regarding the ‘not sufficient access’ problem and if you still have the passwords from last week; they’re the same if you need to look into the site at all. Thanks!


Josh

  • Support Staff

September 27, 2013 at 11:23 am

Hi Nicole,

It may require rebooting the server after increasing the memory. I was getting the exact same error last week after activating Event Espresso where it said I do not have the permissions. What was happening was the site was crashing when I followed the link to the settings and that was triggering the No permissions error.

I can turn error logging on again and send you a copy of the error log when I get a minute this afternoon. In the meantime can you check with the server admin to see if they will reboot the server?


Josh

  • Support Staff

September 27, 2013 at 2:29 pm

Hi again,

I did some further investigating and I logged back in with the Super Admin account you set up for us and set up an admin account. While logged in with the regular admin account I was able to configure Event Espresso. So it looks like you may need to set up an admin account with the way S2 is set up on this site in order to use Event Espresso. I will delete the admin account I set up.

Re: the log file: I left the code that generates the log file in wp-config.php but I commented it out so that it would not keep logging every error thrown on the site.

You can make it log all the errors to a “debug.log” file in the wp-content directory by uncommenting in lines 84-88 of wp-config.php so it looks like this:

if ( WP_DEBUG ) {
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
} 

Then two lines above that set WP_DEBUG to true:

define('WP_DEBUG', true);

Then when you’re done you can set WP_DEBUG back to false and delete the log file.


Raycheal Murphy

September 29, 2013 at 7:01 am

Hi Josh,
You’re amazing! Thank you SOOOO much! I really appreciate all you’ve done and I’m so glad that you got it figured out. I was starting to wonder if the admin vs super admin was part of the issue but figured that super meant better, right? πŸ™‚ I’m so glad that it’s all worked out and that I can start setting up event espresso for our next event!
Thank you SO much!!

The support post ‘Unable to install: Fatal Error (w/o details)’ 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