Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>So do I understand it right that your problem is that you can upload SilverStripe, but you can not install it, because the installer wants to write the config file?</p> <p>Well, in this case there is actually a way to get SilverStripe running without using the installer. Just enter the database information into your mysite/_config.php file. It should look something like this:</p> <pre><code> &lt;?php global $project; $project = 'mysite'; global $databaseConfig; $databaseConfig = array( "type" =&gt; 'MySQLDatabase', "server" =&gt; 'localhost', "username" =&gt; 'myuser', "password" =&gt; 'mypass', "database" =&gt; 'mydatabasename', "path" =&gt; '', ); MySQLDatabase::set_connection_charset('utf8'); // This line set's the current theme. More themes can be // downloaded from http://www.silverstripe.org/themes/ SSViewer::set_theme('blackcandy'); // Set the site locale i18n::set_locale('en_US'); // enable nested URLs for this site (e.g. page/sub-page/) SiteTree::enable_nested_urls(); Director::set_environment_type('dev'); // Director::set_environment_type('live'); </code></pre> <p>please note that SilverStripe by default requires write permission on the assets/ folder, not only for uploading files, it also requires it for saving CSS files if the environment type is set to live, because SilverStripe wants to fetch all JS and CSS files, combine them into 1 single JS and 1 CSS file and saves them into the assets/ folder.<br> If this is not possible, the admin will simply not load, you can also work around this by letting SilverStripe generate those files on another server (your local dev server) and then upload the files.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload