17452 Posts in 4473 Topics by 1971 members
|Go to End||Next >|
14 November 2007 at 6:43am
I've been developing a site with SilverStripe in a local dev environment using MAMP. Works great. I am nearing the end of development/testing and getting ready to go live with the site and would like to know if there are any necessary steps to take in order to make it a seemless transition. Also, I've also already added content through the CMS. Is there any way to preserve that while making the transition to the live environment?
14 November 2007 at 8:00am
Just ftp/copy all your files as-is, and export the entire database, to your new environment.
No need to "install" the package using the installer. All the installer is doing is adding some options to mysite/_config.php.
If your database name or other options are different on the live server you can manually edit _config.php easily.
15 November 2007 at 10:42am
Thanks for the help, Sigurd.
I am having a little issue importing the database. I keep getting the following error, which prevents it from importing. See attached screenshot of error message.
Do you have any suggestions on how to fix this?
15 November 2007 at 10:52am
You haven't told phpmyadmin which database you want to import the data to.
You may not have even created the database for it?
You need to create the database, and then insert the data to it.
15 November 2007 at 10:53am
Yeah, I just realized that's what it meant. After creating the database it imported correctly.
15 November 2007 at 4:29pm
Okay. So I've copied over all the files, created the database and imported the data, manually modified the _config.php file to reflect the database info of the live site, but am unable to access the site now. When I point my browser to the silverstripe directory I just get an index of all the files contained within it. I'm not sure what I'm doing wrong. Any ideas?
15 November 2007 at 7:33pm Last edited: 15 November 2007 7:36pm
I also tried a fresh install of SilverStripe instead of copying over the existing files I was using in my testing environment. First I got this error in the "File Permissions" section of the install page:
Is the .htaccess file writeable?
User needs to write be able to write to this file:
There was no .htaccess file located in that directory, so I uploaded a blank .htaccess file. That got me one step further but now get the following issues in the "Web Server Configuration" section of the install page:
I can't tell what webserver you are running. Without Apache I can't tell if mod_rewrite is enabled.
I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself.
I confirmed that my web server is running Apache version 1.3.37 (Unix).
I'm at a complete loss. Thoughts?
15 November 2007 at 8:45pm
Just to advise, I get the mod_rewrite warning too, but my hoster tells me the message is wrong, and I found no actual issues after I continued.
So what issues are you now left with other than this ?
regards, Dave Porter
|Go to Top||Next >|