My works OK on live server
but when I try to show on locahost I show:
include(RDbAuthManager.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
/Applications/MAMP/htdocs/yii/1.1.12/framework/YiiBase.php(423)
411 {
412 include($classFile);
413 if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
414 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
415 '{class}'=>$className,
416 '{file}'=>$classFile,
417 )));
418 break;
419 }
420 }
421 }
422 else
423 include($className.'.php');
424 }
425 else // class name with namespace in PHP 5.3
426 {
427 $namespace=str_replace('\\','.',ltrim($className,'\\'));
428 if(($path=self::getPathOfAlias($namespace))!==false)
429 include($path.'.php');
430 else
431 return false;
432 }
433 return class_exists($className,false) || interface_exists($className,false);
434 }
435 return true;
Where is it the problem and how can I fix it?
Thanks
but when I try to show on locahost I show:
include(RDbAuthManager.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
/Applications/MAMP/htdocs/yii/1.1.12/framework/YiiBase.php(423)
411 {
412 include($classFile);
413 if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
414 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
415 '{class}'=>$className,
416 '{file}'=>$classFile,
417 )));
418 break;
419 }
420 }
421 }
422 else
423 include($className.'.php');
424 }
425 else // class name with namespace in PHP 5.3
426 {
427 $namespace=str_replace('\\','.',ltrim($className,'\\'));
428 if(($path=self::getPathOfAlias($namespace))!==false)
429 include($path.'.php');
430 else
431 return false;
432 }
433 return class_exists($className,false) || interface_exists($className,false);
434 }
435 return true;
Where is it the problem and how can I fix it?
Thanks