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   938 Views

Avatar
cinek

Community Member, 17 Posts

24 June 2010 at 4:45am

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

Forum Moderator, 5513 Posts

25 June 2010 at 1:58am

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

Community Member, 17 Posts

25 June 2010 at 6:35am

Thanks, that fixed it.