Good Afternoon, I had installed bacula 9.6.7 and baculum on Linux Debian 9.5
stretch. The bacula installation it's Ok but when I try access baculum in the
browser on port 9096, show the folloiw mensagem
Prado\Exceptions\TInvalidOperationException
Description
Unknown component type 'DOMDocument'. This may be caused by the following
parsing error in the DOMDocument class file:
Source File
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/PradoBase.php
(374)
0363: $phpNamespace = '\\' . $k . '\\' . $namespace;
0364: if (class_exists($phpNamespace, true) ||
interface_exists($phpNamespace, true)) {
0365: if (!class_exists($namespace) &&
!interface_exists($namespace)) {
0366: class_alias($phpNamespace, $namespace);
0367: }
0368: return;
0369: }
0370: }
0371: }
0372:
0373: if ($checkClassExistence && !class_exists($namespace, false)
&& !interface_exists($namespace, false)) {
0374: throw new
TInvalidOperationException('prado_component_unknown', $namespace, '');
0375: }
0376: } elseif (($path = self::getPathOfNamespace($namespace,
self::CLASS_FILE_EXT)) !== null) {
0377: $className = substr($namespace, $pos + 1);
0378: if ($className === '*') { // a directory
0379: self::$_usings[substr($namespace, 0, $pos)] = $path;
0380: } else { // a file
0381: //self::$_usings[$namespace]=$path;
0382: if (!$checkClassExistence || (!class_exists($className,
false) && !interface_exists($className, false))) {
0383: try {
0384: include_once($path);
0385: if (class_exists($namespace, false) ||
interface_exists($namespace, false)) {
0386: class_alias($namespace, $className);
Stack Trace
#0
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/PradoBase.php(145):
Prado\PradoBase::using('DOMDocument')
#1 [internal function]: Prado\PradoBase::autoload('DOMDocument')
#2
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Xml/TXmlDocument.php(144):
spl_autoload_call('DOMDocument')
#3
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Xml/TXmlDocument.php(129):
Prado\Xml\TXmlDocument->loadFromString('<?xml version="...')
#4
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplicationConfiguration.php(74):
Prado\Xml\TXmlDocument->loadFromFile('/usr/share/bacu...')
#5
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(1037):
Prado\TApplicationConfiguration->loadFromFile('/usr/share/bacu...')
#6
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(369):
Prado\TApplication->initApplication()
#7 /usr/share/baculum/htdocs/index.php(31): Prado\TApplication->run()
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users