Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Error Page 404 - Displays HTML Source Partial Compile

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

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

Page: 1
Go to End
Author Topic: 1485 Views
  • jamesb
    Community Member
    1 Post

    Error Page 404 - Displays HTML Source Partial Compile Link to this post

    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)

  • dalesaurus
    Community Member
    283 Posts

    Re: Error Page 404 - Displays HTML Source Partial Compile Link to this post

    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.