Jump to content

Archived

This topic is now archived and is closed to further replies.

surefoot

PageLines PHP Memory Limit error

Recommended Posts

surefoot    0
surefoot

Hello,

 

I have just started working with PageLines theme. It was working fine and I was happy with it till I added CSS to the Custom CSS option of the theme. It then started giving PHP memory limit error.

 

Our site already has PHP limit set as 712 MB so not sure what this actually means.

 

Please, help.

 

Thanks!

Share this post


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

Hi,

 

It is physically impossible for DMS to be using so much memory. The only way your site could run out of memory if you have it set to that much, is if you have about 1000 plugins installed, which I bet isn't the case.

Therefore, it is most likely that you do not have that much memory. Some hosts say they give X memory, but then install a script that actually gives you much lower value. Would it be possible for you to provide a link to the site in question and enable DMS Debug mode ~ DMS Toolbar > Site Settings > Advanced. So we can take a closer look.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
surefoot    0
surefoot

Hello,

 

Thanks the issue got resolved when I found I could delete the css from wp-admin. But why did it give memory error when the issue was with css?

Share this post


Link to post
Share on other sites
Simon    247
Simon
what was the error produced?

Share this post


Link to post
Share on other sites
surefoot    0
surefoot

Hello,

 

The error was as below:

 

Looks like your hosting providers have limited the amount of memory you can use for PHP

You are only allocated 31.92MB.

Anyway at least the fix is easy. Just add the following to wp-config.php and we should be good to go.
define( 'WP_MEMORY_LIMIT', '128M' );

Share this post


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

I would still contact your web host provider and ask them to increase your memory.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×