Public bug reported:
When i try https://<my horde server>/test.php i have the following
error. I have a similar error when configuring horde if the database is
configured.
For the test, i have comment in "/usr/share/horde/lib/Test.php"
'Services_Weather' => array(
'error' => 'Services_Weather is used by the METAR weather
applet/block on the portal page.'
and now it's working.
I will try to make the same thing for adminhorde
Best regards
=====
Une erreur fatale s'est produite
syntax error, unexpected 'new' (T_NEW)
1. Horde_ErrorHandler::fatal()
Détails
Le message d'erreur complet est enregistré dans les fichiers de log d'Horde. Il
est disponible ci-dessous uniquement pour les administrateurs. Les utilisateurs
standard ne verront pas le détail de cette erreur.
ParseError Object
(
[message:protected] => syntax error, unexpected 'new' (T_NEW)
[string:Error:private] => ParseError: syntax error, unexpected 'new'
(T_NEW) in /usr/share/php/Services/Weather.php:167
Stack trace:
#0 /usr/share/php/Horde/Autoloader.php(65):
Horde_Autoloader->_include('/usr/share/php/...')
#1 [internal function]: Horde_Autoloader->loadClass('Services_Weathe...')
#2 [internal function]: spl_autoload_call('Services_Weathe...')
#3 /usr/share/horde/lib/Test.php(616): class_exists('Services_Weathe...')
#4 /usr/share/horde/test.php(135): Horde_Test->pearModuleCheck()
#5 {main}
[code:protected] => 0
[file:protected] => /usr/share/php/Services/Weather.php
[line:protected] => 167
[trace:Error:private] => Array
(
[0] => Array
(
[file] => /usr/share/php/Horde/Autoloader.php
[line] => 65
[function] => _include
[class] => Horde_Autoloader
[type] => ->
[args] => Array
(
[0] => /usr/share/php/Services/Weather.php
)
)
[1] => Array
(
[function] => loadClass
[class] => Horde_Autoloader
[type] => ->
[args] => Array
(
[0] => Services_Weather
)
)
[2] => Array
(
[function] => spl_autoload_call
[args] => Array
(
[0] => Services_Weather
)
)
[3] => Array
(
[file] => /usr/share/horde/lib/Test.php
[line] => 616
[function] => class_exists
[args] => Array
(
[0] => Services_Weather
)
)
[4] => Array
(
[file] => /usr/share/horde/test.php
[line] => 135
[function] => pearModuleCheck
[class] => Horde_Test
[type] => ->
[args] => Array
(
)
)
)
[previous:Error:private] =>
)
** Affects: php-horde (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1588787
Title:
weather classe crash horde test and horde
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-horde/+bug/1588787/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs