(info) Installing Orders->Class 'encrypted_store' not found
Posted: Wed Jun 25, 2014 4:07 am
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:
So, I thought something was wrong with the CGExtensions autoloader, because this line (in CGExtensions.module.php):
was printing out something like:
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).
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,
Code: Select all
$fn = $prefix.$this->GetModulePath()."/lib/class.{$classname}.php";
instead of finding it in CGExtensions/lib/class.encrypted_store.php.Orders/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).