Hi,
Since I went to another server (PHP 5.4), I can't make SilverStripe to work.
All the time I receive “SilverStripe Framework requires a $databaseConfig defined.” error.
Which means there is no global variable $databaseConfig
I've tried everything:
- Set file permissions
- Remove / change .htaccess
- Copy & paste the content of _config.php to main.php
But still nothing.... It looks like some problems with autoloader, because after I copy the configuration to a file framework/main.php other errors appears:
Fatal error: Class 'i18n' not found in (...)/framework/main.php on line 39
Line 39: i18n::set_locale('en_US'); - after deleting this line another line cause error:
Director::set_environment_type('dev') <-- class Directory not found ...
Have any of you encountered this problem and was able to help me?
I lose my temper, and I sit on this problemma more than 4 hours with no results :((((