Closed joelbrock closed 11 years ago
@gohanman not sure if this is related but i'm getting nasty errors on extra_config.php at each instance of AutoLoader::ListModules
this is what php-errors.log looks like after a page load:
[24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of AuthorizeDotNet::entered() should be compatible with that of BasicCCModule::entered() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/AuthorizeDotNet.php on line 38 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP 5. include_once() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:56 [24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of AuthorizeDotNet::cleanup() should be compatible with that of BasicCCModule::cleanup() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/AuthorizeDotNet.php on line 38 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP 5. include_once() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:56 [24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of GoEMerchant::entered() should be compatible with that of BasicCCModule::entered() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/GoEMerchant.php on line 789 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of GoEMerchant::cleanup() should be compatible with that of BasicCCModule::cleanup() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/GoEMerchant.php on line 789 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of MercuryGift::entered() should be compatible with that of BasicCCModule::entered() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/MercuryGift.php on line 924 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of MercuryGift::cleanup() should be compatible with that of BasicCCModule::cleanup() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/MercuryGift.php on line 924 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP Strict standards: Declaration of MercuryGift::paycard_void() should be compatible with that of BasicCCModule::paycard_void() in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/MercuryGift.php on line 924 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP Fatal error: Cannot redeclare class PaycardLib in /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/lib/paycardLib.php on line 34 [24-Feb-2013 04:17:51 UTC] PHP Stack trace: [24-Feb-2013 04:17:51 UTC] PHP 1. {main}() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:0 [24-Feb-2013 04:17:51 UTC] PHP 2. AutoLoader::ListModules() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/install/extra_config.php:197 [24-Feb-2013 04:17:51 UTC] PHP 3. class_exists() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:141 [24-Feb-2013 04:17:51 UTC] PHP 4. AutoLoader::LoadClass() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:0 [24-Feb-2013 04:17:51 UTC] PHP 5. include_once() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/lib/AutoLoader.php:56 [24-Feb-2013 04:17:51 UTC] PHP 6. include_once() /Users/joel/Sites/PFC_CORE/pos/is4c-nf/plugins/Paycards/MercuryGift.php:31
This addresses the secondary issue: 363f82bf0f676f714eb7dc356325d725daa72638 (what version / options for PHP do you have? Those stacktraces are cool).
The issue with the toggles is addressed in #115. I've been hesitant to merge that without any feedback, although at least in theory the change in session usage should be seamless.
Cool thanks! I pulled #115 and had no issues with the session variables that i could tell.
I got PHP 5.3.15 on OS X 10.8, i know, the stacktraces are handy! (but annoying sometime while developing)
A bug in the new install page for extra. When the page loads all the toggles are set to off, regardless of ini.php contents.