Hello folks! I know there are a planty of topics, about the mcrypt extension, wchich was removed in the last php version, but after all i cant find a general solution for the problem.
I want to install OpenCart 2.3.0.2 on my hosting running php 7.2. Okay, mcrypt is deprecated, so i can downgrade the php to 7.1 - no problem till now....what about if i install the oc on 7.1 and after that to upgrade the php on 7.2 OR how to remove or change the mcrypt for this oc version?
As i learned, this encryption is used only for payment methods, which probably i will not use on my store.
Thank you!
I want to install OpenCart 2.3.0.2 on my hosting running php 7.2. Okay, mcrypt is deprecated, so i can downgrade the php to 7.1 - no problem till now....what about if i install the oc on 7.1 and after that to upgrade the php on 7.2 OR how to remove or change the mcrypt for this oc version?
As i learned, this encryption is used only for payment methods, which probably i will not use on my store.
Thank you!
The issue here is the OC version you are using. On recent OC versions, the mcrypt library has been removed due to its deprecation by PHP industry.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Unfortunately, at the moment im unable to use newer version of oc...
Then, you may want to try this extension: https://www.opencart.com/index.php?rout ... n_id=35487
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Great! Thanks!straightlight wrote: ↑Wed Feb 27, 2019 9:58 pmThen, you may want to try this extension: https://www.opencart.com/index.php?rout ... n_id=35487
I solved this issue by put in COMMENT the error message validation for mCrypt inside the file
and voila
and after install this extension
Then, you may want to try this extension:
https://www.opencart.com/index.php?rout ... n_id=35487
Code: Select all
/install/controller/install/step_2.php change inside private function validate()
//if (!function_exists('mcrypt_encrypt')) {
// $this->error['warning'] = $this->language->get('error_mcrypt');
//}
and after install this extension
Then, you may want to try this extension:
https://www.opencart.com/index.php?rout ... n_id=35487
Last edited by straightlight on Thu Feb 20, 2020 10:05 pm, edited 1 time in total.
This will only allow you to pass the installation process but it won't prevent the calls to mcrypt from the platform itself which will lead to further problems unless using an extension or the SSL encryption version as opposed to mcrypt.phoenixsupplies wrote: ↑Thu Feb 20, 2020 9:47 pmI solved this issue by put in COMMENT the error message validation for mCrypt inside the file
and voilaCode: Select all
/install/controller/install/step_2.php change inside private function validate() //if (!function_exists('mcrypt_encrypt')) { // $this->error['warning'] = $this->language->get('error_mcrypt'); //}
and after install this extension
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 104 guests