Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Here are the details
Clean installation Opencart 3.0.3.6 , try to use Php 7.4.10 and get the following message
Unsupported PHP Version
Opencart 3.0.3.6 does not fully support PHP 7.4.10 version!
Consult with your hosting provider for more information regarding how to downgrade PHP to 7.3 (or lower).
If I return to Php 7.3.22 everything works ok
Thank you in advanced
Code: Select all
// Check Version
if (version_compare(phpversion(), '7.3.0', '<') == true) {
exit('PH7.3+ Required');
}
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Such a message does not exist in a standard and original OpenCart Installation.
Installed that version for a client 1 hour ago, php 7.4.x - and worked as it should.
From where do you have the OpenCart Files?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
It ha a second validation inside the step_2.php:JNeuhoff wrote: ↑Tue Oct 06, 2020 5:46 pmThis is something for your webhost to sort out. Your error message 'Unsupported PHP Version' does not come from OpenCart. All OpenCart does is this in the system/startup.php:
And OpenCart 3.0.3.6 works just fine with a properly installed PHP 7.4.x release.Code: Select all
// Check Version if (version_compare(phpversion(), '7.3.0', '<') == true) { exit('PH7.3+ Required'); }
Code: Select all
private function validate() {
if (phpversion() < '7.3') {
$this->error['warning'] = $this->language->get('error_version');
}
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Well, that was anything but a clean installationClean installation Opencart 3.0.3.6
Journal3 is one of the worst OpenCart extensions, it's not a proper standard-compliant theme!
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
One MORE reason to state in your 1st post what all you are using!
And this Theme is NOT supported here.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Simple is what YOU mean it's simple!akbartahir wrote: ↑Sat Nov 21, 2020 12:04 amsimply open Cpanel given by your host and change PHP version from 7.4 to 7.3 .. simple
But it is NOT, what for do you think php 7.4.x was published - and 8.x will be published soon.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Did you get an answer ?
What was the solution, I have the same problem.
If I put it back to 7.3 I get an error.
Warning: mysqli::__construct(): (HY000/1045): Access denied for user '***'@'localhost-mysql' (using password: YES) in /home/users/***/system/library/db/mysqli.php on line 7
Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/users/***/system/library/db/mysqli.php on line 10
Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/users/***/system/library/db/mysqli.php on line 10
Fatal error: Uncaught Exception: Error: <br />Error No: in /home/users/***/system/library/db/mysqli.php:10 Stack trace: #0 /home/users/***/storage/modification/system/library/db.php(35): DB\MySQLi->__construct('mysqlhost.jouwd...', '***', '***', '***', '3306') #1 /home/users/***/system/framework.php(80): DB->__construct('mysqli', '***', '***', '***', 'D3196030', '3306') #2 /home/users/***/system/startup.php(104): require_once('/home/users/A00...') #3 /home/users/***/index.php(19): start('catalog') #4 {main} thrown in /home/users/***/system/library/db/mysqli.php on line 10
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I think this is related because I got the PHP error after updating Journal Theme. I think normaly Journal does not affect core files of OC.
I put PHP back to 7.3 and than the error was visible.
With regards to the PHP version issue, follow the advice given on this form thread, or get in touch with the Journal-support, or use a standard-compliant web theme.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Users browsing this forum: No registered users and 87 guests