Jump to:

22983 Posts in 11709 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Changed Theme using Tutorial - CMS broken

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 573 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Changed Theme using Tutorial - CMS broken Link to this post

    I was going through the tutorial http://doc.silverstripe.com/doku.php?id=themes:developing and did the step by step.

    I uploaded the files and now when I go to mysite (http://63.247.208.15) I get redirected to the install

    http://63.247.208.15//install.php

    I then reset everything back to the way it was: _config.php back to blackcandy and I still get the same results

    I also flush=1 and restarted my browser.

    Have you seen this before. It must be something simple I did.

    Terry

    NOTE: I think I know what I did wrong but just don't know how to fix it.

    When I uploaded the new theme, I also uploaded the _config.php file from mysite. I got a msg saying the file on the server has been changed since you last updated - I overwrote the _config.php file

    The _config.php file probably had the information that was set when I originally did the install.

    Is there a way to recreate this without having to reinstall? I installed the latest 2.3.1 version

  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Re: Changed Theme using Tutorial - CMS broken Link to this post

    I figured it out. Luckily I had another installation on a different domain that I was able to look at the _config.php file to find out what the conext of the $databaseConfig section needed to look like and contain.

    For anyone who wonders here's the info:

    http://doc.silverstripe.com/doku.php?id=database-support&s=databaseconfig

    $databaseConfig = array(
    "pdo" => "true",
    "type" => "mysql",
    "server" => "localhost",
    "instance" => "",
    "port" => "",
    "username" => "username",
    "password" => "password",
    "database" => "database"
    );

    Hope this helps everyone if you get into the same snag.

    Terry

    573 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.