Issue #109 closed
Manuel Alejandro Gonzalez Prieto
created an issue

Hola Cristian, aca te dejo el error que tengo al instalar en Yii 1.1.16.

Property "CWebApplication.db" is read only.

Stack Trace

0

+ C:\xampp\htdocs\framework\base\CModule.php(520): CComponent->__set("db", array("connectionString" => "mysql:host=localhost;dbname=mydb", "emulatePrepare" => true, "username" => "root", "password" => "", ...))

1

+ C:\xampp\htdocs\framework\base\CApplication.php(165): CModule->configure(array("name" => "Scenery Referents", "theme" => "blackboot", "db" => array("connectionString" => "mysql:host=localhost;dbname=mydb", "emulatePrepare" => true, "username" => "root", "password" => "", ...), "preload" => array("log"), ...))

2

+ C:\xampp\htdocs\framework\YiiBase.php(125): CApplication->__construct("C:\xampp\htdocs\scenery/protected/config/main.php")

3

+ C:\xampp\htdocs\framework\YiiBase.php(98): YiiBase::createApplication("CWebApplication", "C:\xampp\htdocs\scenery/protected/config/main.php")

4

– C:\xampp\htdocs\scenery\index.php(13): YiiBase::createWebApplication("C:\xampp\htdocs\scenery/protected/config/main.php")

08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run();