TInvalidOperationException

Description

Unknown component type 'LayoutHomeNahj'. This may be caused by the following parsing error in the LayoutHomeNahj class file: [Warning] include_once(LayoutHomeNahj.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory (@line 118 in file /home/alhedaya/public_html/framework/pradolite.php).

Source File

/home/alhedaya/public_html/framework/pradolite.php (123)

0112:         if(isset(self::$_usings[$namespace]) || class_exists($namespace,false))
0113:             return;
0114:         if(($pos=strrpos($namespace,'.'))===false)  
0115:         {
0116:             try
0117:             {
0118:                 include_once($namespace.self::CLASS_FILE_EXT);
0119:             }
0120:             catch(Exception $e)
0121:             {
0122:                 if($checkClassExistence && !class_exists($namespace,false))
0123: throw new TInvalidOperationException('prado_component_unknown',$namespace,$e->getMessage());
0124: else 0125: throw $e; 0126: } 0127: } 0128: else if(($path=self::getPathOfNamespace($namespace,self::CLASS_FILE_EXT))!==null) 0129: { 0130: $className=substr($namespace,$pos+1); 0131: if($className==='*') 0132: { 0133: self::$_usings[$namespace]=$path; 0134: set_include_path(get_include_path().PATH_SEPARATOR.$path); 0135: }

Stack Trace

#0 /home/alhedaya/public_html/framework/pradolite.php(95): PradoBase::using('LayoutHomeNahj')
#1 /home/alhedaya/public_html/framework/pradolite.php(5534): PradoBase::createComponent('LayoutHomeNahj')
#2 /home/alhedaya/public_html/framework/pradolite.php(6050): TTemplateControl->initRecursive()
#3 /home/alhedaya/public_html/framework/pradolite.php(6045): TPage->processNormalRequest(Object(THtmlWriter))
#4 /home/alhedaya/public_html/framework/pradolite.php(8162): TPage->run(Object(THtmlWriter))
#5 /home/alhedaya/public_html/framework/pradolite.php(8128): TPageService->runPage(Object(nahj), Array)
#6 /home/alhedaya/public_html/framework/pradolite.php(9089): TPageService->run()
#7 /home/alhedaya/public_html/framework/pradolite.php(8704): TApplication->runService()
#8 /home/alhedaya/public_html/fa.php(132): TApplication->run()
#9 {main}
2017-12-12 04:11 Apache/2.2.31 (Unix) PHP/5.2.17 PRADO/3.1.2a