TInvalidOperationException

Description

Unknown component type 'COLMemoryLimit'. This may be caused by the following parsing error in the COLMemoryLimit class file: [Warning] include_once(COLMemoryLimit.php): failed to open stream: No such file or directory (@line 296 in file /home/repararelcd/prado/framework_new/PradoBase.php).

Source File

/home/repararelcd/prado/framework_new/PradoBase.php (301)

0290:         if(isset(self::$_usings[$namespace]) || class_exists($namespace,false))
0291:             return;
0292:         if(($pos=strrpos($namespace,'.'))===false)  // a class name
0293:         {
0294:             try
0295:             {
0296:                 include_once($namespace.self::CLASS_FILE_EXT);
0297:             }
0298:             catch(Exception $e)
0299:             {
0300:                 if($checkClassExistence && !class_exists($namespace,false))
0301: throw new TInvalidOperationException('prado_component_unknown',$namespace,$e->getMessage());
0302: else 0303: throw $e; 0304: } 0305: } 0306: else if(($path=self::getPathOfNamespace($namespace,self::CLASS_FILE_EXT))!==null) 0307: { 0308: $className=substr($namespace,$pos+1); 0309: if($className==='*') // a directory 0310: { 0311: self::$_usings[$namespace]=$path; 0312: set_include_path(get_include_path().PATH_SEPARATOR.$path); 0313: }

Stack Trace

#0 /home/repararelcd/prado/framework_new/PradoBase.php(243): PradoBase::using('COLMemoryLimit')
#1 /home/repararelcd/prado/framework_new/TApplication.php(897): PradoBase::createComponent('COLMemoryLimit')
#2 /home/repararelcd/prado/framework_new/TApplication.php(956): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#3 /home/repararelcd/prado/framework_new/TApplication.php(370): TApplication->initApplication()
#4 /home/repararelcd/public_html/init_framework_for_web.php(9): TApplication->run()
#5 /home/repararelcd/public_html/index.php(10): include('/home/repararel...')
#6 {main}
2019-11-19 08:57 Apache PRADO/3.1.7