На сайте выскакивает ошибка:
Warning: include(Zend_Search_Lucene.php): failed to open stream: No such file or directory in /path/to/site/vendor/yiisoft/yii /framework/yiilite.php on line 246
вот этот код:
CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- if(self::$enableIncludePath===false)
- {
- foreach(self::$_includePaths as $path)
- {
- $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php';
- if(is_file($classFile))
- {
- include($classFile);
- if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
- throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
- '{class}'=>$className,
- '{file}'=>$classFile,
- )));
- break;
- }
- }
- }
- else
- (СТРОКА 246) include($className.'.php');
- }