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, biapar, Willr, Ingo, swaiba, simon_w

Error page has incorrect base url


Reply

3 Posts   871 Views

Avatar
cinek

24 June 2010 at 4:45am Community Member, 17 Posts

I have a strange problem with my error page - it uses base url of http://localhost/silverstripe even though the application is installed on the server.
Other pages using the same Page.ss template work fine.
Does the error page have a special configuration somewhere?

(I'm still using Silverstripe 2.3)

Avatar
Willr

25 June 2010 at 1:58am Forum Moderator, 5511 Posts

The error page is probably rendering from the /assets/ section. Delete the /assets/error-404.html page and republish the page in the cms.

Avatar
cinek

25 June 2010 at 6:35am Community Member, 17 Posts

Thanks, that fixed it.