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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

Error Page 404 - Displays HTML Source Partial Compile


Go to End


2 Posts   2066 Views

Avatar
jamesb

Community Member, 1 Post

20 November 2009 at 11:42pm

Hi All, having bizarre problem with Error Pages on 2.3.3 when calling random page name instead of 404 page compiled in HTML i am getting source code from line 200 until end of document. Other times it partially compiles html but leaves whole top section but includes footer.

Can sometimes be coaxed into working for some reason if FTP program is connected to assets/error-404.html open for 'Hot Fixing' via sourcecode viewer. Have tried usual delete of page-not-found and database flush.

Any ideas??? More of an annoyance rather than anything else. This problem is across multiple templates including default SS.

P.S. assets/error-404.html is fully compiled after delete and flush but still displays partial compile(IE) or source code (FF)

Avatar
dalesaurus

Community Member, 283 Posts

26 November 2009 at 4:55am

Whoa, trippy. Have you checked the mime types that are coming back in the headers? Or is the .html page being rendered with PHP code in it? Have you set a custom error page in the CMS with any kind of odd content?