Page 1 of 1
Upgrade 3.x to 4.x
Posted: Sat Jun 28, 2025 9:20 pm
by Sportfreunde
Iām looking for a specialist who can upgrade my shop from version 3.x to 4.x. Can you recommend someone?
Re: Upgrade 3.x to 4.x
Posted: Sat Jun 28, 2025 9:29 pm
by by mona
It is not recommended to upgrade to any OC4 version.
Use Opencart 3.0.4.1 which can be found
https://www.opencart.com/index.php?rout ... ad/history
A new OC3 version is on the way that also will support php8.4. It might also be worth while waiting for that.
No one will recommend someone here they will just advertise themselves.
Nevertheless, you should add any theme / extensions you have.
If you use Opencart default and have few extensions you should be able to upgrade to php8 (by upgrading to OC3.0.4.1) reasonably easily - even yourself.
Re: Upgrade 3.x to 4.x
Posted: Sat Jun 28, 2025 10:24 pm
by Sportfreunde
I read that version 4.x is supposed to be more secure. I currently have version 3.0.3.9. My main concern is actually security.
Re: Upgrade 3.x to 4.x
Posted: Sat Jun 28, 2025 10:54 pm
by by mona
php8 is more secure and it is also faster
Opencart 3.0.4.0 / 3.0.4.1 are both stable and secure
The new Opencart 3 version will support php8.4 - the other two only up to php8.3
The importance security issues are all in 3.0.4.0 upwards
Opencart 4 is still not suitable for production sites.
Re: Upgrade 3.x to 4.x
Posted: Sun Jun 29, 2025 12:14 am
by Sportfreunde
PHP-Version: 8.3.10 is running
Re: Upgrade 3.x to 4.x
Posted: Sun Jun 29, 2025 8:05 pm
by OSWorX
by mona wrote: āSat Jun 28, 2025 9:29 pm
A new OC3 version is on the way that also will support php8.4. It might also be worth while waiting for that.
v.3.0.4.1 works well with php 8.4.8
Re: Upgrade 3.x to 4.x
Posted: Sun Jun 29, 2025 9:15 pm
by by mona
@OSWorX I have it working well also - and for clients that have many sites to upgrade I can keep 7.4 to 8.4 until they are all upgraded, it required a few depreciation fixes, but nothing major. So far I have not had any major issues with extensions either.
Re: Upgrade 3.x to 4.x
Posted: Sun Jun 29, 2025 11:20 pm
by OSWorX
Updated right now MariaDB (MySQL) to 11.8.2 and having no troubles ..
So, using OpenCart 3.0.4.1 with php 8.4.8 and MariaDB 11.8.2 (from all the latest official releases) and the shops are "running smoothly the highways along .."
Note: with OpenCart 3.0.4.1 sometimes minor "warnings" could happen (for example when a template .twig has troubles the twig engine will say some "deprecated .. etc. ").
The developers are behind this "issue" and I guess they will release in a few days something called OpenCart 3.0.5.0 which has updated libraries to fix also those messages.
In the meantime "disabling error messages" should be checked in the shop config.
Re: Upgrade 3.x to 4.x
Posted: Mon Jun 30, 2025 1:24 am
by by mona
I chose to fix them but really much of a muchness but I do agree that there is something slick about it.
Re: Upgrade 3.x to 4.x
Posted: Mon Jun 30, 2025 11:11 pm
by HAO
I already know your suggestions, But by the way.
If I want to convert existing MySQL data to 4.1.0.3's data table structure, what should I do?
Edit keywords directly using a text editor, First import the MySQL table structure into the new database, Finally, will the data be imported into this new structure and restored?
Search
Change to
Code: Select all
COLLATE utf8mb4_unicode_ci DEFAULT NULL,
Search
Code: Select all
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Change to
Code: Select all
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
Is it like this?
Re: Upgrade 3.x to 4.x
Posted: Tue Jul 01, 2025 8:38 pm
by JNeuhoff
OSWorX wrote: āSun Jun 29, 2025 11:20 pm
Note: with OpenCart 3.0.4.1 sometimes minor "warnings" could happen (for example when a template .twig has troubles the twig engine will say some "deprecated .. etc. ").
The developers are behind this "issue" and I guess they will release in a few days something called OpenCart 3.0.5.0 which has updated libraries to fix also those messages.
In the meantime "disabling error messages" should be checked in the shop config.
I think there's coming some movement into the PHP 8.4 fixes for the upcoming OpenCart 3.0.5.0, the author of cardinity released a new version of this payment extension, and it could replace the old one. I am currently testing it all.