Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Custom Page Type - Blank Pages all of a sudden

Go to End

2 Posts   1933 Views


Community Member, 607 Posts

14 April 2011 at 10:24pm

I never thought I would say it, but this CMS is becoming impossible to combat.

I have a client running SS 2.4. This site has been running for 2 years over various versions. The last upgrade took place when 2.4 was released.

This site has a custom page type. Quite a large page type with the only structural change being the addition of a HTML text field, which for all instances of this page type, is empty.

For no apparent reason, on the live linux server ONLY, some of these pages have started appearing blank in all browsers. No error, no html in view source, nothing, even in dev mode.

However the same data, the exact same DB dump, runs just fine over WAMP on a local machine.

I have, one by one, removed the contents (from the html window) for each field to try and narrow down the issue, with no luck. If I change the page type to just a standard "Page", it displays. Then I change it back to the custom page type and it is still displaying, although all custom content is lost (which is not a surprise). Then I re-enter content and it goes blank again.

What could this possibly be? The most frustrating part is a complete lack of reporting of any sort. I can't even narrow down the issue.


Community Member, 607 Posts

16 April 2011 at 8:24pm

To anyone else experiencing similar issues, the PHP memory limit for this site was set to 64MB and has been for several years.

Maybe these custom pages have become for content heavier lately with the addition of a new HTMLText field. But I changed the memory limit to 128 and they started to work again.

For those unsure how to do this, just add the following to the top of your .htaccess file, but be aware that some shared hosts will not allow the use of this

php_value memory_limit 128M