yiic shell: failed to perform 'crud'
Posted
by ufw
on Stack Overflow
See other posts from Stack Overflow
or by ufw
Published on 2010-06-13T11:20:18Z
Indexed on
2010/06/13
11:22 UTC
Read the original article
Hit count: 315
Debian Squeeze, PHP 5.3.2-1, Yii 1.1.2, PHP $path to php is /usr/bin/php, permissions are '777'.
When I try to run 'crud Test' in yii shell, I get the following error message:
PHP Warning: include(/var/www/test/protected/models/Test.php): failed to open stream: No such file or directory in /var/www/yii/framework/YiiBase.php on line 335 PHP Warning: include(): Failed opening '/var/www/test/protected/models/Test.php' for inclusion (include_path='.:/var/www/test/protected/components:/var/www/test/protected/models:/usr/share/php:/usr/share/pear') in /var/www/yii/framework/YiiBase.php on line 335 PHP Fatal error: Class 'Test' not found in /var/www/yii/framework/db/ar/CActiveRecord.php on line 341
© Stack Overflow or respective owner