I' trying to extend my SiteConfig, and followed the example on: [url]http://doc.silverstripe.org/sapphire/en/reference/siteconfig[/url]. But after http://.../dev/build?flush=all I get this errormessage:
Fatal error: Object::add_extension() - Can't find extension class for "CustomSiteConfig" in /var/www/silverstripe/sapphire/core/Object.php on line 526
Adding the <?php didn't do the trick... So it wasn't there before? That's not good - all the php code needs to start with that.
If it wasn't there and you've added it... then you need a dev/build... but that is probably still failing - remove the "Object::add_extension()" part, deb/build, then re-add the "Object::add_extension()" and dev/build again