A few months ago I did a fresh installation of OC 3.0.x.x Maintenance branch (https://github.com/opencart/opencart/tr ... aintenance).
Is it possible to downgrade that to the official OC 3.0.3.8 without losing any database records? If this is possible, I would be grateful if someone could provide step by step instructions for downgrading from Maintenance branch to OC 3.0.3.8.
Thanks in advance!
https://github.com/opencart/opencart/tr ... aintenance
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
The reason that I consider to downgrade from the Maintenance Version to OC 3.0.3.8 is that some extensions, which are developed based on the official release OC 3.0.3.8, are not fully compatible with Maintenance branch and PHP 8, for example I use Bambora extension as the main payment module. I have noticed that selected shipping in checkout page is not passing to that payment modul, so orderline regarding shipping is messing there by the payment module. I have tested it on the official OC 3.0.3.8, and the payment module works well and gets shipping record, but it is not the case by Maintenance Version.IP_CAM wrote: ↑Sat Apr 08, 2023 2:39 amJust to mention it, the official OC v.3.0.3.8 has not been updated for quite some time, I would therefore highly recommend, to stay with the 3.0.3.8 Maintenance Version, and possibly just update it with the latest Release.
https://github.com/opencart/opencart/tr ... aintenance
Have you checked your error logs and modification logs and server logs ?
In theory there should be no issue, but since you have 3.0.3.8 installed as a test, why not import the database and check it?
This might be helpful
https://www.opencart.com/index.php?rout ... sion_id=17
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
There is another extension, which doesn't run on PHP 8. So I cannot set PHP from 8 to 7.4 or 7.3. Instead I put this code into .htaccess:by mona wrote: ↑Sat Apr 08, 2023 5:16 amHave you tried just to downgrade the php to 7.4 ?
Have you checked your error logs and modification logs and server logs ?
In theory there should be no issue, but since you have 3.0.3.8 installed as a test, why not import the database and check it?
This might be helpful
https://www.opencart.com/index.php?rout ... sion_id=17
<FilesMatch "\.(php4|php5|php3|php2|php|phtml)$"> SetHandler application/x-httpd-alt-php73___lsphp - PHP 7.3</FilesMatch>
However It is the same result. I seems that issue is not related to PHP version. I checked error_log file. There is nothing about that issue. I don't know where I still should look after. It seems that this payment module does not log any thing when someone tries to pay and payment is rejected.
I do NOT recommend Maintenance branch to someone, who depends on working extensions. I have installed 3 extensions, which are supposed to OC 3.0.3.8. All have gotten issues including this payment module.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I tested both with 7.3 and 7.4 with the same result. Shipping data (name, amount) are not passing to payment module
Not all of them exist in 3.0 that exist in 4.0, so if it's missing then you don't need to import it. That should get all your product data into the new installation, although there may be a few other tables (e.g. "seo_url") that you'd want to import.
Well, Nobody ever told you, to move up in Versions, for not one good reason at all. OC v.2.3.0.2 is still running well, and some Contributors are still upgrading them to even work with PHP v.8.x:the only version that was most stable in terms of the actual Opencart core and extensions was 2.3.0.2
https://github.com/condor2/Opencart_230x_PHP_8
So, better don't complain, because you did not pay for them, just to always belong to the last (free) Version Users ...
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
ALWAYS DO A FULL BACKUP OF FILES AND FULL DATABASE BEFORE ANY MAJOR WORK ON YOR SITEsales@keynumis.com wrote: ↑Thu May 04, 2023 10:48 amSame question I was looking for an answer for; running 4.0.2.x, won't install extensions, upgrade 4.0.2.1, can't access admin and to drop to php 8.0 for store to work and now problems restoring the sql. I've had it. Started with latest version late last year without knowing it wasn't ready for prime time and I would like to downgrade to a stable version but don't wish to spend the months I need listing products because there are hundreds and each is unique. The site I've saved locally as well as the sql but the sql might be unrecoverable. Is there a way to downgrade and recover the product listings?
Check with your host they probably do one for you, if not, use a better host in future.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
It is not stable enough in reality
Yes you will, many many php warnings .. but think about it .. php language was changed, so that effects all php files .. nothing to do with opencart, not the extension developers. England has a new King .. the postboxes all say EIIR .. they all have to be changed - just is
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
The main reason for upgrading to Maintenance version was PHP 8. The official release 3.0.3.8 does not support PHP 8.x. My hosting provider will turn off PHP 7.4 soon. I don't mean that the Maintenance version is buggy. The problems are the extensions, which are developed based on official release 3.0.3.8. Most of them will get more or less problems running on Maintenance version, and if you ask a developer why, he may say my extension does not support GitHub versionIP_CAM wrote: ↑Mon May 08, 2023 9:34 pmWell, Nobody ever told you, to move up in Versions, for not one good reason at all. OC v.2.3.0.2 is still running well, and some Contributors are still upgrading them to even work with PHP v.8.x:the only version that was most stable in terms of the actual Opencart core and extensions was 2.3.0.2
https://github.com/condor2/Opencart_230x_PHP_8
So, better don't complain, because you did not pay for them, just to always belong to the last (free) Version Users ...
OpenCart needs release an "stabil official" version (it is for me absolutely the same if it is 3.x or 4.x) supporting PHP 8.x as soon as possible. The most seriously hosting provider will turn off PHP 7.x in the near future. As for custom version 2.3.0.2 in the matter of PHP 8, this will not help much. You cannot run an efficient OpenCart store without additional functionalities, so you are dependent on extensions. Most extensions developed for 2.3.0.2 cannot work on PHP 8.x.
You seem not to understand how it works.
Opencart does what Opencart does. It is free software. OC3 supporting php8 was developed by the community (JNeuhoff and xxvirusxx mainly I think but someone might correct me on that) and is available free of charge also. No one has to do anything for free. Presumably your site is for paying customers ? Use some of that profit to develop your site and you will have no problems.
Your modules will be created for php7.4 and I am sure if you ask the developers they will be prepared to upgrade them for php8 for a small fee. Alternatively you can ask for commercial support.
In addition OC4 will not support any of your extensions since OCMOD no longer exists.
Kind Regards,
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Users browsing this forum: No registered users and 17 guests