Silverstripe

From Osnow

Jump to: navigation, search

Silverstripe

Silverstripe is a PHP based CMS or Content Management System. It is based on a MVC framework called Sapphire. Ruby on Rails is given a lot of credit for pushing MVC into the limelight but many languages have used this design pattern (psst! even .Net wants you to). MVC stands for Model-View-Controller and wikipedia has a GREAT page on it.






openSuSE Deployment NOTES

If you get a blank screen, then there is an error processing the php script.
Solution: in /etc/php5/php.ini set display_errors = On, as root run rcapache restart, reload SS page to see error
If install.php cannot determine if if can write to .htaccess (and directories) you don't have php_posix installed!
Solution: install it via YaST
If you get a ctype error like: 
Fatal error: Call to undefined function ctype_digit() in 
/home/vhosts/stoatsrule.com/v2.2.1/sapphire/misc/Browscap.php on line 522
Then you don't have php_ctype installed!
Solution: install it via YaST
If you get an error like: 
Fatal error: Access to undeclared static property: Controller::$db in 
/home/vhosts/fancypants.com/v2.2.1/sapphire/core/Object.php(315) : eval()'d code on line 1
Solution: upgrade your php!  v5.1.2 is not SS compatible.
Add this repo and update: http://repos.opensuse.org/server:/php/SUSE_Linux_10.1/
Personal tools