TPhpErrorException

Description

[Warning] opendir(/var/www/taradqw/themes/n005) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory (@line 280 in file /var/www/prado_mod/framework/Web/UI/TThemeManager.php).

Source File

/var/www/prado_mod/framework/Web/UI/TThemeManager.php (280)

0269:                     $this->_cssFiles=$cssFiles;
0270:                     $this->_jsFiles=$jsFiles;
0271:                     $this->_skins=$skins;
0272:                 }
0273:             }
0274:         }
0275:         if(!$cacheValid)
0276:         {
0277:             $this->_cssFiles=array();
0278:             $this->_jsFiles=array();
0279:             $this->_skins=array();
0280: if(($dir=opendir($themePath))===false)
0281: throw new TIOException('theme_path_inexistent',$themePath); 0282: while(($file=readdir($dir))!==false) 0283: { 0284: if($file==='.' || $file==='..') 0285: continue; 0286: else if(basename($file,'.css')!==$file) 0287: $this->_cssFiles[]=$themeUrl.'/'.$file; 0288: else if(basename($file,'.js')!==$file) 0289: $this->_jsFiles[]=$themeUrl.'/'.$file; 0290: else if(basename($file,self::SKIN_FILE_EXT)!==$file) 0291: { 0292: $template=new TTemplate(file_get_contents($themePath.'/'.$file),$themePath,$themePath.'/'.$file);

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(2, 'opendir(/var/ww...', '/var/www/prado_...', 280, Array)
#1 /var/www/prado_mod/framework/Web/UI/TThemeManager.php(280): opendir('/var/www/taradq...')
#2 /var/www/prado_mod/framework/Web/UI/TThemeManager.php(83): TTheme->__construct('/var/www/taradq...', '/themes/n005')
#3 /var/www/prado_mod/framework/Web/UI/TPage.php(514): TThemeManager->getTheme('n005')
#4 /var/www/prado_mod/framework/TComponent.php(102): TPage->getTheme()
#5 /var/www/prado_mod/framework/Web/UI/TControl.php(196): TComponent->__get('Theme')
#6 /data/vhosts/taradquickweb.com/protected/Common/PortalPage.php(339): TControl->__get('Theme')
#7 /data/vhosts/taradquickweb.com/protected/pages/Home.php(21): PortalPage->onPreInit(NULL)
#8 /var/www/prado_mod/framework/Web/UI/TPage.php(195): Home->onPreInit(NULL)
#9 /var/www/prado_mod/framework/Web/UI/TPage.php(189): TPage->processNormalRequest(Object(THtmlWriter))
#10 /var/www/prado_mod/framework/Web/Services/TPageService.php(442): TPage->run(Object(THtmlWriter))
#11 /var/www/prado_mod/framework/Web/Services/TPageService.php(388): TPageService->runPage(Object(Home), Array)
#12 /var/www/prado_mod/framework/TApplication.php(1066): TPageService->run()
#13 /var/www/prado_mod/framework/TApplication.php(376): TApplication->runService()
#14 /var/www/taradqw/index.php(25): TApplication->run()
#15 {main}
2010-03-20 00:45 Apache PRADO/3.1.0b