Jump to content
zouleo

Errorlog Full Of Alerts. "script Tried To Increase Memory_Limit"

Recommended Posts

zouleo    1
zouleo

My error log is full of these messages:

ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker '208.85.238.208', file '/www/public_html/wp-content/themes/pagelines/includes/library.pagelines.php', line 4)

It seems as if Pagelines is trying to change memory_limit to WP_MAX_MEMORY_LIMIT on every page load (see pagelines/includes/library.pagelines.php).

WP_MAX_MEMORY_LIMIT is 256m. I don't want PHP/Pagelines to use that much memory. Why is Pagelines doing this? Is there a easy fix to disable this functionality (without editing library.pagelines.php)?

Thank you

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

I am not entirely sure why this would be doing this but before I ask one of our developers, can you please update to the latest version of PageLines Framework which is 2.3.5, you're using 2.2.5.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
zouleo    1
zouleo

I'm actually using 2.3.5. I'm using PageLines at two sites.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Ive change the way this is called in 2.3.6, the memory is only raised when the CSS is built, thats when its actually needed.

Share this post


Link to post
Share on other sites
zouleo    1
zouleo
I still get the same errormessage:

Mar 23 11:15:37 debian suhosin[24965]: ALERT - script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker '36.197.131.44', file '/www/domain.com/public_html/wp-content/themes/pagelines/incl
udes/library.pagelines.php(4) : runtime-created function', line 1)

 

I'm now using PageLines Version 2.4.1

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Can you enable PageLines debug mode and reply here when enabled.

 

You can enabled PageLines debug mode by going to PageLines > Site Options > Advanced.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
zouleo    1
zouleo

What should I do when debug mode is activated?

Share this post


Link to post
Share on other sites
Simon    247
Simon

Provide a url please.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×