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.

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

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

Setting up Hosting - problems

Go to End

3 Posts   1991 Views


Community Member, 95 Posts

20 February 2009 at 10:28am

I've just completed my first Silverstripe site locally and am wanting to upload it to my host (
I'm getting 404 Not Found errors - "The requested URL /CityCareClinic/sapphire/main.php was not found on this server."
I removed "CityCareClinic" (the folder in WAMP) and I get errors saying it can't access the MySQL database.

Any help would be appreciated.
~ James


Forum Moderator, 5523 Posts

20 February 2009 at 5:42pm

Have alook in your .htaccess on the live site. Because you installed in a subdirectory with WAMP it may have hard coded that folder name in the 'RewriteBase' line in that file. You will just need to change that line to / on the live site


Community Member, 95 Posts

23 February 2009 at 3:45pm

Thanks again Willr! That fixed it.