Support

Home Forums Event Espresso Premium Event Espresso recommends PHP version 5.3 or greater – Hostgator Reseller

Event Espresso recommends PHP version 5.3 or greater – Hostgator Reseller

Posted: June 2, 2014 at 7:13 pm

Viewing 7 reply threads


Amy Cockrell

June 2, 2014 at 7:13 pm

Hey guys … In the dashboard, EE4 gives me the error “Event Espresso recommends PHP version 5.3 or greater in order for everything to operate properly. You are currently running version 5.2.17. In order to update your version of PHP, you will need to contact your current hosting provider.”

I run a Hostgator reseller account. I have already updated my .htaccess file to use PHP 5.4…

# Use PHP 5.4
AddHandler application/x-httpd-php54 .php

If I check the “EE/Maintenance/System Information” log, it says I’m using PHP 5.4.29.

However this error will not dismiss. Sometimes it “dismisses” only to come back on the next reload. Or upon dismiss, says, “An unknown error has occured on the server while attempting to dissmiss this notice.”

Any ideas?


Josh

  • Support Staff

June 2, 2014 at 8:40 pm

Hi there,

I checked the code that runs the version compare and it’s using the PHP_VERSION constant.

Can you copy the following into a file ( you can name it version.php ) and run it by going to yoursite.com/version.php and check what it outputs?

<?php echo '<h3>I am running PHP version ' . PHP_VERSION . '</h3>'; ?>


Amy Cockrell

June 3, 2014 at 12:30 am

Hey Josh…

It outputs “I am running PHP version 5.4.29”

Check it: http://www.heartforathletes.org/version.php


Tony

  • Support Staff

June 3, 2014 at 5:23 am

Hi Amy,

When you click the dismiss button, the notices get updated in the DB via AJAX, the error “An unknown error has occured on the server while attempting to dismiss this notice” meaning something unexpected happened with the server during the AJAX Request.

Any number of plugins/theme’s could cause this unfortunately.

We can provide instructions on how to remove the option within the DB that flags this notice if you are comfortable within phpMyAdmin or equivalent?

Or if you could provide us with temporary login details we could troubleshoot this a little further to see if we can find the underlying cause. This would involve enabling WP_Debug and capturing the AJAX Request/Response when dismissing the message.


Amy Cockrell

June 3, 2014 at 10:24 pm

I can provide you temp login details if you’d like to investigate / learn from this. You need an admin login? Let me know how you want me to get you this info. — Bryan (Amy’s tech guy)


Tony

  • Support Staff

June 4, 2014 at 1:25 am

Hi Bryan,

If you could provide those details it may help us narrow down the cause of this.

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

To note, WP_Debug will need to enabled on the site in order for us to capture any errors within the AJAX call. This may results in Notices/Warnings/Errors being displayed on the front-end of the site for a brief period whilst it is enabled (dependent on theme/active plugins) is that ok?


Amy Cockrell

June 5, 2014 at 9:50 am

I posted them to the provided link yesterday (don’t know if I needed to add a note here too).


Tony

  • Support Staff

June 5, 2014 at 5:04 pm

Hi,

Sorry for the delay getting back to you.

Thank you for the login details, we believe we have found the cause and have included a fix within the latest version of EE4 (which has just been released).

If you update to the latest version (which is now 4.2.5.p) you should then be able to dismiss the notice.

Please let us know if you encounter any issues 🙂

Viewing 7 reply threads

The support post ‘Event Espresso recommends PHP version 5.3 or greater – Hostgator Reseller’ 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