17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 5993 Views |
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

16 July 2008 at 7:50am
if you export is as a mysql document and save it in notepad (remember to change the file type to all files) save it as name.mysql. Once this is done open up your hosting and look for php databases and make sure you enter a database and user and add the user to the database with full privileges. Then after you do that go back to your hostings main control panel and open phpMyAdmin and open up the database that you just made and import the "name".mysql document into that table. One final step you need to change the silver stripe config (mysite/_config.php) and where it shows your db details enter the details that you made in your hosting phpMyAdmin. Your details have to be entered like this.
Hosting Username_database
Hosting Username_userand localhost is fine and you just enter your password how it is in the _config.php file allready
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

16 July 2008 at 7:51am
thanks!
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

17 July 2008 at 11:15am
where is the .htaccess file?
I looked for it, but I can't seem to find it
thank you in advance -
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

17 July 2008 at 11:17am
It's an invisible file in the same folder as sapphire/, cms/ and jsparty/
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

17 July 2008 at 11:32am Last edited: 17 July 2008 11:53am
I have to edit all of them?
also how do I view these invisible files?
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

17 July 2008 at 4:06pm
are you trying to find them on local host or web server
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

17 July 2008 at 8:48pm
.htaccess is in the root of your site ie. yourwebsite/httpdocs/.htaccess
To be able to view it locally you need to show hidden files. If using a Mac you can download this nifty little application that turns hidden files on and off at a click of a button
http://www.macupdate.com/info.php/id/22318
Then you can view .htaccess and modify it.
If you need to find it on a remote site then it should be visible in the files folder on your VPS admin (ie Plesk)
-
Re: I want to move my entire SilverStripe to another location - what files do I need to edit?

22 July 2008 at 5:46am
what if I am not using local host?
| 5993 Views | ||
| Go to Top | Next > |




