Can't successfully install opencart

| OS type and version | Ubuntu 22.04 |
|**Webmin version: 2.105
|**Usermin version: 2.005
|**Virtualmin version: 7.9.0 Pro

I need help. Logs doesn’t show any relevant info. So I din’t include it. Please see image attached.

Thanks.

If you’re not seeing any log entries, it might be because your VirtualHost configuration isn’t quite right, which means the requests aren’t getting through as they should.

Also, it could be an issue with the PHP version you’re using. I’d recommend giving PHP 8.1 a shot. I’ve used it myself on Ubuntu 22.04 with Virtualmin Pro and it worked smoothly.

I guess the error is with mcrypt. Its very obvious above. Searching the internet, I found this issue cant-successfully-install-opencart.

The open cart forum suggested below:

phoenixsupplies wrote:

Thu Feb 20, 2020 9:47 pm

I solved this issue by put in COMMENT the error message validation for mCrypt inside the file

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 voila
and after install this extension

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.


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester

Problem is, I don’t know where this script resides.

Can you tell me where to find it?

Thanks.

@oliverbob Have you tried this? What version of PHP are you using. 8.3 is now out and quite new so if it is installed on your OS it might be the problem.

php --version
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)

i have done my acount, thank you…

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.