(info) Installing Orders->Class 'encrypted_store' not found

Forum rules
Only administrators can post or move items here.
Post Reply
drmikecrowe
Forum Members
Forum Members
Posts: 23
Joined: Sun Sep 20, 2009 1:22 pm

(info) Installing Orders->Class 'encrypted_store' not found

Post by drmikecrowe »

OK, this one is a little fuzzier, because I can't explain it. I'm positive that in installing Orders, I got the Class 'encrypted_store' not found. However, I'm not sure I can reproduce this, or if this was potentially my problem.

Recording it here for reference, in case it rings a bell for somebody else.

Was installing the E-Commerce modules, and installed Orders (PayPal Gateway, Cart2, and other modules were already installed). I received this error in the logs:

Code: Select all

PHP Fatal error:  Class 'encrypted_store' not found in /var/www/modules/CGExtensions/CGExtensions.module.php on line 99, 
PHP Stack trace:, 
PHP   1. {main}() /var/www/admin/moduleinterface.php:0, 
PHP   2. require_once() /var/www/admin/moduleinterface.php:27, 
PHP   3. ModuleOperations->LoadModules() /var/www/include.php:182, 
PHP   4. ModuleOperations->get_module_instance() /var/www/lib/classes/class.moduleoperations.inc.php:727, 
PHP   5. ModuleOperations->_load_module() /var/www/lib/classes/class.moduleoperations.inc.php:1069, 
PHP   6. Orders->__construct() /var/www/lib/classes/class.moduleoperations.inc.php:553, 
PHP   7. CGEcommerceBase->__construct() /var/www/modules/Orders/Orders.module.php:69, 
PHP   8. CGExtensions->__construct() /var/www/modules/CGEcommerceBase/CGEcommerceBase.module.php:52, 
So, I thought something was wrong with the CGExtensions autoloader, because this line (in CGExtensions.module.php):

Code: Select all

$fn = $prefix.$this->GetModulePath()."/lib/class.{$classname}.php";
was printing out something like:
Orders/lib/class.encrypted_store.php
instead of finding it in CGExtensions/lib/class.encrypted_store.php.

I proceeded to add some code to fix it, and things started working. Then I tried to narrow down the exact lines that fixed it, and ended up removing everything, and it worked as it should (without modifications).
Post Reply

Return to “Closed Issues”