Support

Home Forums Community Forum Activation failure for Event Espresso Lite

Activation failure for Event Espresso Lite

Posted: August 25, 2013 at 12:28 pm


Rebecca Krogman

August 25, 2013 at 12:28 pm

I downloaded and installed the free version Event Espresso Lite on WordPress. I am using:
Wordpress 3.6
Event Espresso Lite 3.1.33.L, brand new installation

When attempting to activate, I get the following error: Plugin could not be activated because it triggered a fatal error.
Followed by:
Parse error: syntax error, unexpected '"', expecting ',' or ';' in /hermes/bosoraweb178/b2523/ipg.montanaafsorg/wp-content/plugins/event-espresso-free.3.1.33.L/gateways/PaymentGateway.php on line 132

I do not yet have a registration page made. Please let me know if there is a simple fix to this. Thank you!


Jonathan Wilson

August 26, 2013 at 12:24 pm

Hi Rebecca,

Sorry for the trouble. Try to rule out any plugin conflicts. Deactivate all non Event Espresso plugins and test to see if the issue is still occurring. If it is not, then we know it is a problem with another plugin. You can then find out which plugin it is by reactivating each plugin individually and testing to see if the problem starts happening after the activation. When it occurs after activating a plugin, then we know this is the culprit.

Also, there may be a theme function that is causing the issue. You can check for this by first switching to the TwentyTwelve theme (or any other theme from the wordpress.org theme repository, all of these themes pass a thorough code quality review before inclusion.)

Let us know whether this helps.


Rebecca Krogman

August 27, 2013 at 7:33 pm

Thanks for the advice! I tried deactivating all of the plugins, and that didn’t fix it.

I then tried switching to Twenty Twelve, and that didn’t fix it either.

Any other ideas? I’m still getting the same error.


Josh

  • Support Staff

August 27, 2013 at 8:11 pm

Hi Rebecca,

The server may be running an older version of PHP. Normally the code on line 132 will not throw any errors and the plugin installs. You can check to see if your server is running an Event Espresso-compatible version of PHP by installing the Event Espresso requirements check plugin. After activating it, you’ll find a new menu item under WP>Tools.

https://eventespresso.com/requirements/


Rebecca Krogman

August 27, 2013 at 8:22 pm

Hi, I installed that nice requirements plugin, and I am missing a few Apache modules. However, my PHP is version 5.3.13


Sidney Harrell

August 27, 2013 at 8:56 pm

Can you open that file, plugins/event-espresso-free.3.1.33.L/gateways/PaymentGateway.php, in a text editor and confirm that it reads:

echo "action=\"" . $this->gatewayUrl . "\">\n";

and that the file continues down to line 231? It’s possible that your copy of that file was corrupted somehow. If the file is not corrupted, you could try changing that line to:

echo 'action="' . $this->gatewayUrl . '">' . "\n";


Rebecca Krogman

August 27, 2013 at 9:05 pm

On line 132, it says:
echo "action=../event-espresso-free/gateways//"" . $this->gatewayUrl . "\">\n";


Josh

  • Support Staff

August 27, 2013 at 10:08 pm

Hi Rebecca,

The code you posted doesn’t match what I have when I download the plugin from WordPress.org. That line should read:

echo "action=\"" . $this->gatewayUrl . "\">\n";

Please be sure to download the lite version from the WordPress.org repository:

http://wordpress.org/plugins/event-espresso-free/

The support post ‘Activation failure for Event Espresso Lite’ 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