一个在本地看起来不错的应用程序在现场引发了以下异常:
CException
Alias "application.extensions.TheCKEditor.theCKEditorWidget" is invalid.
Make sure it points to an existing PHP file and the file is readable.
代码:
<?php $this->widget('application.extensions.TheCKEditor.theCKEditorWidget',array(
'model'=>$model, # Data-Model (form model)
'attribute'=>'wordMeaning', # Attribute in the Data-Model
'height'=>'400px',
'width'=>'100%',
'toolbarSet'=>'Full', # EXISTING(!) Toolbar (see: ckeditor.js)
'ckeditor'=>Yii::app()->basePath.'/../assets/ckeditor3.6.5/ckeditor.php',
# Path to ckeditor.php
'ckBasePath'=>Yii::app()->baseUrl.'/assets/ckeditor3.6.5/',
# Relative Path to the Editor (from Web-Root)
//'css' => Yii::app()->baseUrl.'/css/index.css',
# Additional Parameters
) ); ?>
任何的想法 ?