6.0.0-beta1
7/17/25

[#11644] Crypt_Blowfish raises error
Summary Crypt_Blowfish raises error
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester software-horde (at) interfasys (dot) ch
Created 11/05/2012 (4637 days ago)
Due
Updated 11/06/2012 (4636 days ago)
Assigned
Resolved 11/05/2012 (4637 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/06/2012 10:56:55 AM software-horde (at) interfasys (dot) ch Comment #9 Reply to this comment
Why are you using the beta version?  The stable version is 1.0.2.
Well, it's a RC2, so should be fairly stable.
This statement could not be more wrong.  Proof: you are apparently 
having issues with Crypt_Blowfish raising errors.  *NOBODY* who has 
used the stable version has ever reported any errors.
Lots of Horde and Pear apps from the stable branch generate errors... 
What's important is whether those are serious enough to stop Horde 
from functioning properly.

Horde requires to use some alpha modules in order to have access to 
all the functionalities (Holidays).

Here are some Pear and Horde examples:
HORDE LIBS
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_pgp::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_image::onSubmit() should be compatible with 
Horde_Form_Type::onSubmit() [pid 13389 on line 3 of 
"/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_link::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_matrix::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_enum::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_mlenum::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_mlenum::onSubmit() should be compatible with 
Horde_Form_Type::onSubmit() [pid 13389 on line 3 of 
"/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_set::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_sorter::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_selectfiles::init() should be compatible with 
Horde_Form_Type::init() [pid 13389 on line 3 of 
"/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_assign::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_assign::getValues() should be compatible with 
Horde_Form_Type::getValues() [pid 13389 on line 3 of 
"/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_dblookup::init() should be compatible with 
Horde_Form_Type::init() [pid 13389 on line 3 of 
"/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of Horde_Form_Type_figlet::init() 
should be compatible with Horde_Form_Type::init() [pid 13389 on line 3 
of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_invalid::init() should be compatible with 
Horde_Form_Type::init() [pid 13389 on line 3 of 
"/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Form_Type_country::init() should be compatible with 
Horde_Form_Type::init() [pid 13389 on line 899 of 
"/usr/local/lib/php/Horde/Form/Type.php"]
HORDE [horde] PHP ERROR: Only variables should be assigned by 
reference [pid 13389 on line 321 of "/usr/local/lib/php/Horde/Form.php"]
HORDE [horde] PHP ERROR: Declaration of 
Horde_Block_Vatid::_ajaxUpdate() should be compatible with 
Horde_Core_Block::_ajaxUpdate(Horde_Variables $vars) [pid 13389 on 
line 76 of "/usr/local/lib/php/Horde/Autoloader.php"]
HORDE [horde] PHP ERROR: Non-static method 
Horde_Core_Script_Package_Datejs::translateFormat() should not be 
called statically, assuming $this from incompatible context [pid 13292 
on line 87 of "/var/www/html/webmail/lib/View/Topbar.php"]

NAG
HORDE [horde] PHP ERROR: Declaration of Nag_Application::menu() should 
be compatible with Horde_Registry_Application::menu($menu) [pid 13389 
on line 811 of "/usr/local/lib/php/Horde/Registry.php"]

PEAR
HORDE [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::initializeConfig() should not be called 
statically, assuming $this from incompatible context [pid 14585 on 
line 599 of "/usr/local/lib/php/PEAR/Config.php"]
HORDE [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::registerRoles() should not be called statically, 
assuming $this from incompatible context [pid 14585 on line 45 of 
"/usr/local/lib/php/PEAR/Installer/Role.php"]
HORDE [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getBaseinstallRoles() should not be called 
statically, assuming $this from incompatible context [pid 14585 on 
line 270 of "/usr/local/lib/php/PEAR/Installer/Role.php"]
HORDE [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getInstallableRoles() should not be called 
statically, assuming $this from incompatible context [pid 14585 on 
line 271 of "/usr/local/lib/php/PEAR/Installer/Role.php"]
HORDE [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getPhpRoles() should not be called statically, 
assuming $this from incompatible context [pid 14585 on line 272 of 
"/usr/local/lib/php/PEAR/Installer/Role.php"]
HORDE [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getValidRoles() should not be called statically, 
assuming $this from incompatible context [pid 14585 on line 273 of 
"/usr/local/lib/php/PEAR/Installer/Role.php"]
HORDE [kronolith] PHP ERROR: Non-static method 
PEAR_ErrorStack::singleton() should not be called statically, assuming 
$this from incompatible context [pid 13389 on line 983 of 
"/usr/local/lib/php/PEAR/ErrorStack.php"]

KRONOLITH
HORDE [kronolith] PHP ERROR: Non-static method 
Date_Holidays::getInstalledDrivers() should not be called statically 
[pid 13389 on line 855 of 
"/var/www/html/webmail/kronolith/lib/Kronolith.php"]
11/06/2012 09:56:43 AM Michael Slusarz Comment #8 Reply to this comment
Why are you using the beta version?  The stable version is 1.0.2.
Well, it's a RC2, so should be fairly stable.
This statement could not be more wrong.  Proof: you are apparently 
having issues with Crypt_Blowfish raising errors.  *NOBODY* who has 
used the stable version has ever reported any errors.
11/06/2012 09:32:59 AM software-horde (at) interfasys (dot) ch Comment #7 Reply to this comment
Btw, I've checked line 142 and it's
  if (!PEAR::isError($this->_crypt)) {

http://svn.php.net/viewvc/pear/packages/Crypt_Blowfish/trunk/Crypt/Blowfish.php?revision=302706&view=markup
Why are you using the beta version?  The stable version is 1.0.2.
Well, it's a RC2, so should be fairly stable.

11/06/2012 01:34:22 AM Michael Slusarz Comment #6 Reply to this comment
11/06/2012 01:32:56 AM Michael Slusarz Comment #5 Reply to this comment
Btw, I've checked line 142 and it's
  if (!PEAR::isError($this->_crypt)) {

http://svn.php.net/viewvc/pear/packages/Crypt_Blowfish/trunk/Crypt/Blowfish.php?revision=302706&view=markup
Why are you using the beta version?  The stable version is 1.0.2.
11/05/2012 11:41:11 PM software-horde (at) interfasys (dot) ch Comment #4 Reply to this comment
This is an error in Crypt_Blowfish which is maintained on PEAR, not 
by Horde.  Report the issue there.

(Although I would really check to see if you are using an up-to-date 
stable version of Crypt_Blowfish. On my system, line 142 of that 
file is a PHP comment and PEAR::isError doesn't appear in that 
entire file.)
Thank you.
I will, but the project seems dead. It's been 2 years since the last commit.

Btw, I've checked line 142 and it's
  if (!PEAR::isError($this->_crypt)) {

http://svn.php.net/viewvc/pear/packages/Crypt_Blowfish/trunk/Crypt/Blowfish.php?revision=302706&view=markup
11/05/2012 06:46:59 PM Michael Slusarz Comment #3 Reply to this comment
HORDE [imp] PHP ERROR: Non-static method PEAR::isError() should not 
be called statically, assuming $this from incompatible context [pid 
10924 on line 142 of "/usr/local/lib/php/Crypt/Blowfish.php"]
This is an error in Crypt_Blowfish which is maintained on PEAR, not by 
Horde.  Report the issue there.

(Although I would really check to see if you are using an up-to-date 
stable version of Crypt_Blowfish. On my system, line 142 of that file 
is a PHP comment and PEAR::isError doesn't appear in that entire file.)
11/05/2012 06:45:57 PM Michael Rubinsky Comment #2
State ⇒ Not A Bug
Reply to this comment
Crypt_Blowfish is not a Horde package, it's from PEAR. You should 
report this to that pacakge's maintainer.
11/05/2012 06:31:00 PM software-horde (at) interfasys (dot) ch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Crypt_Blowfish raises error
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I get a lot of errors like this in my logs:
HORDE [imp] PHP ERROR: Non-static method PEAR::isError() should not be 
called statically, assuming $this from incompatible context [pid 10924 
on line 142 of "/usr/local/lib/php/Crypt/Blowfish.php"]

but I don't know if this is symply a warning that can be ignored or if 
it's more serious.

Here is the full backtrace:
1. IMP_Contents_View->__construct() /var/www/html/webmail/imp/view.php:52
  2. IMP_Factory_Contents->create() 
/var/www/html/webmail/imp/lib/Contents/View.php:29
  3. IMP_Contents->__construct() 
/var/www/html/webmail/imp/lib/Factory/Contents.php:50
  4. IMP_Contents->_fetchData() /var/www/html/webmail/imp/lib/Contents.php:121
  5. IMP_Imap->fetch() /var/www/html/webmail/imp/lib/Contents.php:1510
  6. IMP_Imap->__call() /var/www/html/webmail/imp/lib/Contents.php:1510
  7. call_user_func_array() /var/www/html/webmail/imp/lib/Imap.php:364
  8. Horde_Imap_Client_Base->fetch()
  9. Horde_Imap_Client_Base->login() 
/usr/local/lib/php/Horde/Imap/Client/Base.php:2373
10. Horde_Imap_Client_Socket->_login() 
/usr/local/lib/php/Horde/Imap/Client/Base.php:725
11. Horde_Imap_Client_Socket->_tryLogin() 
/usr/local/lib/php/Horde/Imap/Client/Socket.php:399
12. Horde_Imap_Client_Base->getParam() 
/usr/local/lib/php/Horde/Imap/Client/Socket.php:603
13. Horde_Secret->read() /usr/local/lib/php/Horde/Imap/Client/Base.php:455
14. Horde_Secret->_getCipherOb() /usr/local/lib/php/Horde/Secret.php:92
15. Crypt_Blowfish->Crypt_Blowfish() /usr/local/lib/php/Horde/Secret.php:122
16. Horde_ErrorHandler::errorHandler() 
/usr/local/lib/php/Crypt/Blowfish.php:142

Saved Queries