4873 Posts in 7127 Topics by 1471 members
|Go to End|
21 April 2009 at 2:55pm
When up loading and installing SilverStripe on to the web server, should the entire content of SilverStripe be placed directly into the htdocs, or with in its own separate SilverStripe directory?
21 April 2009 at 8:24pm
simply upload content to site ,
upload thing inside silverstripe to
have a nice day...
6 May 2009 at 2:41am
I've installed SilverStripe v2.3.1 locally on Wampserver, happily created all my website content. Now the site is almost ready to move across to the live hosting server. However, this is where I am stuck. I have searched around and come across many threads with answers (http://ssorg.bigbird.silverstripe.com/archive/show/129819#post129819), but still unable to move across successfully.
I've used phpMyadmin to export ss_mysite.sql then import the sql to live server. Also ftp everything in Silverstripe-2.3.1 to public_html, but when typed in my url to view (www.myurl.org/SilverStripe-v2.3.1) only the following message appears:
There has been an error
The website server has not been able to respond to your request.
Because the error message doesn't indicate what the error is, I have no idea where to start fixing things. Any ideas?
In the thread it was also suggested rather than copy whole project directory, you can also download a new 'fresh' copy of SS. I've also tried this method, upload the SilverStripe-v2.3.1.tar installer file pbulic_html, however, again stuck on how to install a tar file on a remote web hosting server?
Any help would be very much appreciated. Thanks.
6 May 2009 at 3:01am
i think i might know where your going wrong, if your uploading the files from your wamp onto the live server you will need to update your database settings to use you live database, the database configeration is normaly stored in /mysite/_config.php
Also for the installing a tar on the server, you would first need to extract the tar on your local machine and then upload the files to the server
6 May 2009 at 3:37am
I've opened up mysite/_config.php, you're right, the following lines seem to point to localhost:
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "myusername",
"password" => "mypassword",
"database" => "SS_mysite",
I've tried changing "server" => "localhost" to "server" => "www.myurl.org" but no change with the error message. Also, just wonder if there's any tools around so I can get a more helpful error message (rather than just a message saying there's an error...)
Oh, also thanks for clarify what the 'fresh' installation means - it means ftp/copy across the default site to the live site.
6 May 2009 at 4:37am
The server is for the database server so it probable wont be www.myurl.org, try checking with your host what your database setting should be,
Quite often depending on your host the server will be localhost if mysql is running on the same machine as your webserver
(because to the server that is its localhost)
6 May 2009 at 1:21pm
Just chiming in - you will have to change your database settings but you can be pretty confident to keep 'localhost' there, the important ones are the name and password of the database where you imported your .sql file into as well as the username that can access it.
The other thing that often causes issues when moving sites is the .htaccess file located in the web root folder, copy and paste the contents of that file to pastie.org and post a link here so we can check it out.
7 May 2009 at 3:27am
I finally managed to ftp a clean fresh SS to my hosting server, then slowly copy the changed theme files and import my database across. Everything seem to be working ok. (well had a few issues, like unable to log in to admin area even with correct email and password - thankfully found answers in the forum, had to reset by adding a line in mysite/_config.php)
Have to say I don't really like working this way, not 100% sure if live site is mirroring the dev site...
Anyway, moving on, many more issues for a SS newbie to tackle. Currently looking for answers for moving www.mydomain.org/silverstripe to www.mydomain.org. Tried modify file .htaccess
not working though, just return a page with index of the base url... any ideas?
|Go to Top|