TConfigurationException

TConfigurationException

Description

Error in /var/www/vhosts/barcelonahelicopters.com/protected/pages/public/consulta_la_reserva/page.page (line 16) : 'Application.Template.admin.Editor' is not a valid namespace to be used. Make sure '.*' is appended if you want to use a namespace referring to a directory.

Source File

/var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php (7040)

7029:                         $srcFile=$this->_includedFiles[$i];
7030:                         break;
7031:                     }
7032:                     else
7033:                         $line=$line-$this->_includeLines[$i]+1;
7034:                 }
7035:             }
7036:         }
7037:         if(empty($srcFile))
7038:             throw new TConfigurationException('template_format_invalid2',$line,$e->getMessage(),$input);
7039:         else
7040: throw new TConfigurationException('template_format_invalid',$srcFile,$line,$e->getMessage());
7041: } 7042: protected function preprocess($input) 7043: { 7044: if($n=preg_match_all('/<%include(.*?)%>/',$input,$matches,PREG_SET_ORDER|PREG_OFFSET_CAPTURE)) 7045: { 7046: for($i=0;$i<$n;++$i) 7047: { 7048: $filePath=Prado::getPathOfNamespace(trim($matches[$i][1][0]),TTemplateManager::TEMPLATE_FILE_EXT); 7049: if($filePath!==null && is_file($filePath)) 7050: $this->_includedFiles[]=$filePath; 7051: else 7052: {

Stack Trace

#0 /var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php(6821): TTemplate->handleException(Object(TInvalidDataValueException), 16, '<!DOCTYPE HTML ...')
#1 /var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php(6440): TTemplate->parse('<!DOCTYPE HTML ...')
#2 /var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php(6367): TTemplate->__construct('<!DOCTYPE HTML ...', '/var/www/vhosts...', '/var/www/vhosts...')
#3 /var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php(7550): TTemplateManager->getTemplateByFileName('/var/www/vhosts...')
#4 /var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php(8466): TPageService->run()
#5 /var/www/vhosts/barcelonahelicopters.com/PradoFramework/pradolite.php(8102): TApplication->runService()
#6 /var/www/vhosts/barcelonahelicopters.com/index.php(24): TApplication->run()
#7 {main}
2017-04-23 07:47 Apache/2.2.3 (CentOS) PRADO/3.0.7