TConfigurationException

Description

TParameterModule.ParameterFile 'Application.Data.Settings' is invalid. Make sure it is in namespace format and the file extension is '.xml' or '.php'.

Source File

/var/www/html/mukernas/framework/Util/TParameterModule.php (170)

0159:     /**
0160:      * @param string the parameter file path. It must be in namespace format
0161:      * and the file extension is '.xml'.
0162:      * @throws TInvalidOperationException if the module is initialized
0163:      * @throws TConfigurationException if the file is invalid
0164:      */
0165:     public function setParameterFile($value)
0166:     {
0167:         if($this->_initialized)
0168:             throw new TInvalidOperationException('parametermodule_parameterfile_unchangeable');
0169:         else if(($this->_paramFile=Prado::getPathOfNamespace($value,$this->getApplication()->getConfigurationFileExt()))===null || !is_file($this->_paramFile))
0170: throw new TConfigurationException('parametermodule_parameterfile_invalid',$value);
0171: } 0172: } 0173:

Stack Trace

#0 /var/www/html/mukernas/framework/TComponent.php(654): TParameterModule->setParameterFile('Application.Dat...')
#1 /var/www/html/mukernas/framework/TComponent.php(872): TComponent->__set('ParameterFile', 'Application.Dat...')
#2 /var/www/html/mukernas/framework/TApplication.php(972): TComponent->setSubProperty('ParameterFile', 'Application.Dat...')
#3 /var/www/html/mukernas/framework/TApplication.php(1027): TApplication->internalLoadModule('_module3')
#4 /var/www/html/mukernas/framework/TApplication.php(1079): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#5 /var/www/html/mukernas/framework/TApplication.php(398): TApplication->initApplication()
#6 /var/www/html/mukernas/index.php(40): TApplication->run()
#7 {main}
2024-10-18 19:30 Apache/2.4.52 (Ubuntu) PRADO/3.2.3