[i18n] cannot run horde-translation

Jan Schneider jan at horde.org
Mon May 4 09:33:21 UTC 2015


Zitat von Sebastian Birnbach <birnbacs at gmail.com>:

> Dear all,
>
> a first attempt to run the horde-translation script only resulted in tons
> of error messages (see below). I experienced a similar behaviour with
> horde's migration system, only it worked well after outputting the
> warnings. Needless to say but the rest of my horde installation works fine.
>
> Any idea what goes wrong?
>
> Kind regards
>
>   Sebastian
>
>
>
> [develop at luna /usr/local/www/apache24/data/abakus]$ horde-translation help
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 650
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 650
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 697
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 697
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 757
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 757
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 786
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 786
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 914
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 914
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 1577
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 1577
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 1607
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 1607
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 2038
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 2038
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Config.php on line 2091
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 2091
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Registry.php on line 322
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Registry.php on line 322
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Registry.php on line 1450
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Registry.php on line 1450
> PHP Deprecated:  Assigning the return value of new by reference is
> deprecated in /usr/local/share/pear/PEAR/Registry.php on line 1458
>
> Deprecated: Assigning the return value of new by reference is deprecated in
> /usr/local/share/pear/PEAR/Registry.php on line 1458
> PHP Strict Standards:  Non-static method System::tmpdir() should not be
> called statically in /usr/local/share/pear/PEAR/Config.php on line 158
>
> Strict Standards: Non-static method System::tmpdir() should not be called
> statically in /usr/local/share/pear/PEAR/Config.php on line 158
> PHP Strict Standards:  Non-static method System::tmpdir() should not be
> called statically in /usr/local/share/pear/PEAR/Config.php on line 167
>
> Strict Standards: Non-static method System::tmpdir() should not be called
> statically in /usr/local/share/pear/PEAR/Config.php on line 167
> PHP Strict Standards:  Non-static method System::tmpdir() should not be
> called statically in /usr/local/share/pear/PEAR/Config.php on line 176
>
> Strict Standards: Non-static method System::tmpdir() should not be called
> statically in /usr/local/share/pear/PEAR/Config.php on line 176
> PHP Strict Standards:  Non-static method System::which() should not be
> called statically in /usr/local/share/pear/PEAR/Config.php on line 229
>
> Strict Standards: Non-static method System::which() should not be called
> statically in /usr/local/share/pear/PEAR/Config.php on line 229
> PHP Strict Standards:  Non-static method PEAR_Config::singleton() should
> not be called statically in /usr/local/bin/horde-translation on line 1574
>
> Strict Standards: Non-static method PEAR_Config::singleton() should not be
> called statically in /usr/local/bin/horde-translation on line 1574
> PHP Strict Standards:  Non-static method
> PEAR_Installer_Role::initializeConfig() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Config.php on line 599
>
> Strict Standards: Non-static method PEAR_Installer_Role::initializeConfig()
> should not be called statically, assuming $this from incompatible context
> in /usr/local/share/pear/PEAR/Config.php on line 599
> PHP Strict Standards:  Non-static method
> PEAR_Installer_Role::registerRoles() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Installer/Role.php on line 45
>
> Strict Standards: Non-static method PEAR_Installer_Role::registerRoles()
> should not be called statically, assuming $this from incompatible context
> in /usr/local/share/pear/PEAR/Installer/Role.php on line 45
> PHP Strict Standards:  Non-static method
> PEAR_Installer_Role::getBaseinstallRoles() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Installer/Role.php on line 270
>
> Strict Standards: Non-static method
> PEAR_Installer_Role::getBaseinstallRoles() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Installer/Role.php on line 270
> PHP Strict Standards:  Non-static method
> PEAR_Installer_Role::getInstallableRoles() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Installer/Role.php on line 271
>
> Strict Standards: Non-static method
> PEAR_Installer_Role::getInstallableRoles() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Installer/Role.php on line 271
> PHP Strict Standards:  Non-static method PEAR_Installer_Role::getPhpRoles()
> should not be called statically, assuming $this from incompatible context
> in /usr/local/share/pear/PEAR/Installer/Role.php on line 272
>
> Strict Standards: Non-static method PEAR_Installer_Role::getPhpRoles()
> should not be called statically, assuming $this from incompatible context
> in /usr/local/share/pear/PEAR/Installer/Role.php on line 272
> PHP Strict Standards:  Non-static method
> PEAR_Installer_Role::getValidRoles() should not be called statically,
> assuming $this from incompatible context in
> /usr/local/share/pear/PEAR/Installer/Role.php on line 273
>
> Strict Standards: Non-static method PEAR_Installer_Role::getValidRoles()
> should not be called statically, assuming $this from incompatible context
> in /usr/local/share/pear/PEAR/Installer/Role.php on line 273
> PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 1026
>
> Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 1026
> PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 1033
>
> Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/local/share/pear/PEAR/Config.php on line 1033
> PHP Warning:  require_once(/usr/local/lib/php/pear/www/horde/lib/core.php):
> failed to open stream: No such file or directory in
> /usr/local/bin/horde-translation on line 1575
>
> Warning: require_once(/usr/local/lib/php/pear/www/horde/lib/core.php):
> failed to open stream: No such file or directory in
> /usr/local/bin/horde-translation on line 1575
> PHP Fatal error:  require_once(): Failed opening required
> '/usr/local/lib/php/pear/www/horde/lib/core.php'
> (include_path='.:/usr/local/share/pear') in
> /usr/local/bin/horde-translation on line 1575
>
> Fatal error: require_once(): Failed opening required
> '/usr/local/lib/php/pear/www/horde/lib/core.php'
> (include_path='.:/usr/local/share/pear') in
> /usr/local/bin/horde-translation on line 1575
> [develop at luna /usr/local/www/apache24/data/abakus]$
> --
> i18n mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: i18n-unsubscribe at lists.horde.org

1) Fix your PHP configuration to contain a sane error_level setting.
2) Fix how you call horde-translation if you didn't install Horde  
globally, or if you run the script with a different user than the user  
you used for installation.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the i18n mailing list