Support

Home Forums Event Espresso Premium Have upgraded to PHP 5.4.20-nfsn1 and functions have stopped working

Have upgraded to PHP 5.4.20-nfsn1 and functions have stopped working

Posted: October 11, 2013 at 9:22 am


Barry Moore

October 11, 2013 at 9:22 am

Wordpress V
Event Espresso 3.1
New installation

We were trying to stop the error in System Status on memory as we were getting memory errors on certain pages.

Hosting company is NFS and they now don’t increase memory on server but get you to upgrade to PPP 5.4. I am told by my developer that we don’t need to change the PHP files in WordPress now as server hosting company don’t allow it.

In doing so the pages we had built that listed events by category are not loading. Source shows the body not evenloading.
I have used [EVENT_LIST category_identifier=juniors]. Page is
http://poolerunners.nfshost.com/junior/

Any ideas. Dean has log in details

Barry


Josh

  • Support Staff

October 11, 2013 at 11:02 am

Hi Barry,

Updating to PHP 5.4 is not going to solve the out of memory issues you are having. What does NearlyFreeSpeech.net set as the maximum amount of memory? If they will not increase it to the recommended amount to run WordPress and Event Espresso then there isn’t much we can do.

I checked and the website doesn’t load up when I try to view the homepage.

This is the error that I’m seeing when I try to load up the homepage:

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://poolerunners.nfshost.com.alias/

The following error was encountered:

Connection to 172.17.1.253 Failed
The system returned:

(61) Connection refused
The remote host or network may be down. Please try the request again.

Your cache administrator is support@nearlyfreespeech.net.

It may help if they can reboot the server.


Barry Moore

October 14, 2013 at 2:04 am

Hi Josh

The immediate problem I have I would not have thought was caused by memory. We had the “Junior” and “Senior” pages working but they stopped once I upgraded to PHP 5.4.
The current dev site home page is at :
http://poolerunners.nfshost.com/
the two pages causing the problem are at:
http://poolerunners.nfshost.com/event-registration/
http://poolerunners.nfshost.com/junior/
Both of which are using your short cut code to load the events by catageory.

The hosting company used to increase memory on request but now tell us we don’t need to when upgrading to PHP 5.4. This needs to be done due to a memory issue that has been happening before we made the upgrade.

This is what the hosting company say

How do I increase the PHP memory limit?
The PHP memory_limit is a legacy option that applied only to PHP Fast 5.2 and 5.3. No other PHP types (PHP >= 5.4 or any Flex) impose a per-process memory limit.

Our default PHP memory_limit value for PHP Fast 5.2 and 5.3 is set at 32m. This is more than adequate for almost all needs (about 99.75% of sites, by our measurement). However, sometimes more memory is needed, particularly for sites that manipulate high-resolution images using the GD image library, or modular applications such as Drupal or WordPress when large numbers of resource-intensive plugins are in use.

With the release of PHP 5.4, raising the memory limit is no longer supported. If you encounter memory issues with a PHP 5.2 or 5.3 Fast site, the solution is to upgrade to PHP 5.4.

Any help you can give would be useful, thanks
Barry


Tony

  • Support Staff

October 14, 2013 at 4:26 am

Hi Barry,

WordPress itself will attempt (by default) to allocate a minimum of 40MB. Assuming the default value for 5.2/3 on that host is 32MB, we can safely assume this value is the same for 5.4 with one difference, it now is not allowing WordPress to allocate more.

We had the “Junior” and “Senior” pages working but they stopped once I upgraded to PHP 5.4.

Your host has stated once you upgrade to PHP 5.4 then raising the memory limit is no longer supported which would explain more as to why these pages no longer work, your memory limit would appear to be static now at (likely) 32MB.

It is likely those pages worked previously with 40MB of memory (although again that was likely almost all depleted) and now with PHP 5.4 your stuck at 32MB which is no longer enough.

Having said that is it possible to get your login details to double check all is right within Event Espresso? If so please use http://eventespresso.com/send-login-details/

I very much doubt there is anything we can do but can take a look. In the end this is likely all down to hosting.

The support post ‘Have upgraded to PHP 5.4.20-nfsn1 and functions have stopped working’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 5 years, 8 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!