Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Hi all, its me again...
I tried to change the theme from blackcandy to plain, and i keep having an error message come up saying that "
Fatal error: Class 'Director' not found in /home/.leif/acronum/youths-empowered.com/mysite/_config.php on line 19"
This is once i activate the link"
I really want to get this working, but i can't seem to overcome this error message...
Any help would be great
To change a theme all you need to do is open the _config.php file in the mysite directory in notepad and edit the line which goes SSViewer::set_theme() to the name of your theme
thanks already have. did that yesterday with my mate.
$project = 'mysite';
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "",
"username" => "",
"password" => "",
"database" => "",
// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/cms-themes-and-skin
Plain2 is the folder which the plain theme is located in. once i run mysite/_config; i get the error message above.
ok, thanks. that must be where me and my mate messed up.
now i get this message:
Warning: $project isn't set in /home/.leif/acronum/youths-empowered.com/sapphire/core/ManifestBuilder.php on line 154
Fatal error: DB::connect: Not passed a valid database config in /home/.leif/acronum/youths-empowered.com/sapphire/core/model/DB.php on line 53
I am quite new to this.
Check that you still have a valid mysite/_config.php file and that it contains the relevant entries and text as per one of you previous posts.