aliking Posted February 12, 2020 Share Posted February 12, 2020 (1/1) ContextErrorException Warning: putenv() has been disabled for security reasons in Kernel.php line 122 at Kernel->boot()in Kernel.php line 195 at Kernel->handle(object(Request), 1, false)in index.php line 86 Link to comment Share on other sites More sharing options...
aliking Posted February 12, 2020 Author Share Posted February 12, 2020 Whoops, looks like something went wrong. in debug mode i cant go to admin Link to comment Share on other sites More sharing options...
aliking Posted February 12, 2020 Author Share Posted February 12, 2020 [PrestaShopException] Property PrestapayTransaction->trans_amount is not valid at line 1003 in file classes/ObjectModel.php 998. } 999. 1000. $message = $this->validateField($field, $this->$field); 1001. if ($message !== true) { 1002. if ($die) { 1003. throw new PrestaShopException($message); 1004. } 1005. 1006. return $error_return ? $message : false; 1007. } 1008. } ObjectModelCore->validateFields - [line 292 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 559 - classes/ObjectModel.php] ObjectModelCore->add - [line 516 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 0 - modules/psf_prestapay/classes/PrestapayModule.php] PrestapayModule->addTransaction - [line 0 - modules/psf_prestapay/controllers/front/payment.php] - [1 Arguments] psf_prestapayPaymentModuleFrontController->postProcess - [line 281 - classes/controller/Controller.php] ControllerCore->run - [line 0 - modules/psf_prestapay/controllers/front/payment.php] psf_prestapayPaymentModuleFrontController->run - [line 515 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
aliking Posted February 12, 2020 Author Share Posted February 12, 2020 help plz Link to comment Share on other sites More sharing options...
NPO Posted February 12, 2020 Share Posted February 12, 2020 1.7 or 1.6? Do you have access to host? Is this a live system? If 1.7.6.x and not a live system: Stop apache/server and sql - clear all cache, everything, delete the var/cache and /cache dir, browser cache etc. - regenerate .htaccess file. restart server/sql try going to dashboard. PS. best to make backups, just in case, mind you, looks like it can't get worse. 1 Link to comment Share on other sites More sharing options...
arlee Posted March 3, 2021 Share Posted March 3, 2021 On 2/12/2020 at 5:48 PM, aliking said: help plz Just log in to FTP and in the file vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php comment line 122 //putenv ('SHELL_VERBOSITY = 3'); Now you can use debug mode and get acces to BO without problems I hope you find it helpful Link to comment Share on other sites More sharing options...
wimotek Posted February 8, 2024 Share Posted February 8, 2024 REMOVE phpenv from disable_function in your php.ini Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now