I receive the following error on my yii application everytime i try to navigate to the contact page. This only happens on the contact page
//localhost/webapp/site/contact
Fatal error: Call to undefined function symlink() in C:\xampp\htdocs\webapp\framework\web\CAssetManager.php on line 197
I don’t know if it has anything to do with my current configuration:
'components'=>array(
'user'=>array(
// enable cookie-based authentication
'allowAutoLogin'=>true,
),
// uncomment the following to enable URLs in path-format
'assetManager' => array(
'linkAssets' => true,
),
'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
'showScriptName'=>false,
),
/*
'db'=>array(
'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
),
*/
// uncomment the following to use a MySQL database
'db'=>array(
'class'=>'CDbConnection',
'connectionString' => 'DB_CONNECTION',
'emulatePrepare' => true,
'username' => 'DB_USER',
'password' => 'DB_PWD',
'charset' => 'utf8',
'tablePrefix' =>'',
),
'errorHandler'=>array(
// use 'site/error' action to display errors
'errorAction'=>'site/error',
),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CFileLogRoute',
'levels'=>'error, warning',
),
// uncomment the following to show log messages on web pages
/*
array(
'class'=>'CWebLogRoute',
),
*/
),
),
),