Edit report at https://pear.php.net/bugs/bug.php?id=19516&edit=1

ID: 19516
Updated by: daniel.oconnor@gmail.com
Reported By: rakesh@iarianatech.com
Summary: FATAL Error: Class 'Crypt_Blowfish_DefaultKey' not
-Status: Open
+Status: Bogus
Type: Bug
Package: Crypt_Blowfish
Operating System: cent OS
Package Version: 1.0.1
PHP Version: 5.3.5
Roadmap Versions:
New Comment:

-Status: Open
+Status: Bogus
While you may have the package installed via PEAR, from the looks of it
you have
changed the dir structure of the package ("/blowfish/Blowfish.php") -
it's not going to
know where to find "Crypt/Blowfish/DefaultKey.php" most likely.

Previous Comments:

[2012-07-18 15:40:15] rakesh_123

I am able to encrypt/decrypt the data properly in windows
server, but when I moved the source code to server running
on cent OS, it shows an error
[rootfolder\helper/blowfish/Blowfish.php:136] FATAL Error:
Class 'Crypt_Blowfish_DefaultKey' not found.

Verified - Pear is installed on server
$ pear list
Installed packages, channel pear.php.net:
Package Version State
Archive_Tar 1.3.7 stable
Console_Getopt 1.2.3 stable
Crypt_Blowfish 1.0.1 stable
PEAR 1.9.4 stable
Structures_Graph 1.0.4 stable
XML_RPC 1.5.4 stable
XML_Util 1.2.1 stable

$ whereis pear
pear: /usr/bin/pear /etc/pear /etc/pear.conf /usr/share/pear

Test script:
134 function _init()
135 {
136 $defaults = new Crypt_Blowfish_DefaultKey();
137 $this->_P = $defaults->P;
138 $this->_S = $defaults->S;
139 }

Expected result:
It should store encrypted data in the database instead of
displaying error

Actual result:
[rootfolder\helper/blowfish/Blowfish.php:136] FATAL Error: Class
'Crypt_Blowfish_DefaultKey' not found.


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedAug 3, '12 at 5:38a
activeAug 3, '12 at 5:38a

1 user in discussion

Daniel Oconnor: 1 post



site design / logo © 2022 Grokbase