Download
Issues with a clean install can be discussed here: "Official" 2.2.0.0 BUG topic
BUGs should be posted at the OpenCart GitHub Issue tracker.
Clean install went like a breeze, first impressions: lot of changes, smooth operating!
Have a look at the: v2.1.0.0 (29.09.2015) and v2.1.0.1 (06.10.2015) Bug & Changelog
Tell me what you think!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
There are possibilities but your have to search these forums.N1kko wrote:Is it possible to upgrade from previous versions or is this still an issue?
There are third party's that will do the upgrade for you.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
For example, 1001.php calls
Code: Select all
// order
$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "order`");
foreach ($query->rows as $result) {
if (preg_match('/^(a:)/', $result['custom_field'])) {
The code to add custom_field to the order, customer, etc tables doesn't happen until 1003.
So first and foremost, 1003 and 1001 need to be swapped, otherwise you get an error.
Also the issue with the group column being left behind in previous versions will cause problems in 1005, as the call to rename group to code will fail since upgrades to 2.0.x and 2.1.x failed to remove group by default. So most stores have both code and group columns still, which also causes other issues since many records have a race condition that potentially loads the wrong record from settings. That code actually needs to have a subquery to check if the 'code' columns already exists. If it doesn't exist, rename group to code, if it does exist, just drop the group column. So anyone who upgraded from 1.5.x to 2.x (and didn't use my upgrade service), will have errors upgrading to 2.2. I also moved that step up to 1001 after swapping it with 1003.
I see you removed the dynamic system that 2.1 had. I actually ran the 2.2 upgrade with only the new static code, then ran it again using the dynamic system that actually parses through the opencart.sql file and updates all the fields accordingly. There were a few things the dynamic system found that the static files missed.
1. customer has a "code" column. Not sure if it is used, but it exists in the opencart.sql file
2. order_recurring has a "reference" column. Again not sure if it is used. The upgrade scripts in 2.2 don't add it, but the dynamic system found it in the opencart.sql and added it.
3. Also the dynamic system updates things like new default values and I added in support for unsigned int changes. It also fixes broken or incorrect indexes on tables. So in the end, it did a much more thorough job. I would recommend adding that back. You can still use the progressive format for other changes after that script runs. I added it to the 1000.php file back where it was initially at the bottom. It actually takes care of a lot of the other static stuff in other progressive files so a lot of that could be cleaned up.
Finally, unrelated to upgrades... there is a parenthesis mistake on admin->customer->customer list in the controller. Simple enough to fix.
That's all I've found so far.
I agree. I've been putting off switching to v2 because of the upgrade issue. Really cannot wait until it's fixed as I'm loving 2.2 I have installed in a sub directory right now.Johnathan wrote:It's nice to hear a progressive upgrade feature is being worked on -- I don't think users care how it works, as long as it does, so it will be great to have once it's stable.
And thanks for your detailed worked on doing upgrades, Q, as always.
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
I am only a forum admin. I am not part of the release team so I have no control.exit15 wrote:I'm not a developer, or an opensource expert, but there has been 8 releases of 2.x and none of them is upgradable. It seems that the two administrators in this forum daniel and qphoria did not try this together before releasing the latest version. is that how it works? makes no sense to me. thanks ex
Opencart and very good system. But.
I do 6 months 6 store customers.
When a new version I stop the development of these shops, because there is no upgrade.
My clients are very dissatisfied.
Here now again there is no upgrade from 2.1.0.2 to 2.2.0.0.
There is not even a description of the changed fields in the database.
I think that the lack of upgrade is pretty frivolous attitude
Please tell such there will be things in the future.
I ask to know to use you Opencart in the future.
It seems that you are earning money when you have 6 customers.slavib wrote:Hello
Opencart and very good system. But.
I do 6 months 6 store customers.
When a new version I stop the development of these shops, because there is no upgrade.
My clients are very dissatisfied.
Here now again there is no upgrade from 2.1.0.2 to 2.2.0.0.
There is not even a description of the changed fields in the database.
I think that the lack of upgrade is pretty frivolous attitude
Please tell such there will be things in the future.
I ask to know to use you Opencart in the future.
First of all, if you are maintaining shops, you should know what you are doing.
Therefore just post here one reason why a working shop should be updated.
Especially with a version which is published a few days.
As an agency (or somewhat else ..) you should know that such will never be a good idea.
And especially not with OpenCart.
Was the update your idea?
If, you should check before the code (I assume you have the knowledge, if not what are you doing with your customer ??).
If not, I assume your customers asked you to do so. In such a case you should have arguments against an upgrade/update.
I would have an understanding when upgrading from 1.5.x to 2.x, but not from 2.1.0.2 (which is basically running without any bigger bugs) to the latest 2.2.0.0!
I have nearly 3,4 customers each months having very big troubles because their agency have made an update ... and now their shops are not running anymore!
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
OC stores are my hobby. To 6 customers per month and earn money.
Founded my job is to Hold other software - accounting.
Sometimes the answer to customers just like you.
OSWorX - If I do not mention argument - does this mean that you should not to do.
I will mention only one argument.
Everyone seeks his things to be the best.
At the moment you shift the subject.
I ask these things you will be in the future.
You ask me is there any sense. - To make sense.
After placing both questions, let me ask you something.
Do you have an update from 1.5 to 2.2.0.0
Basically no sense never be produced if there is no software upgrade to new version
You know I'm right.
Swordplay will not change the situation.
Therefore I suggest to stop the dispute.
Version 2.2 new columns (after oc 2.1):slavib wrote:Hello
Opencart and very good system. But.
I do 6 months 6 store customers.
When a new version I stop the development of these shops, because there is no upgrade.
My clients are very dissatisfied.
Here now again there is no upgrade from 2.1.0.2 to 2.2.0.0.
There is not even a description of the changed fields in the database.
I think that the lack of upgrade is pretty frivolous attitude
Please tell such there will be things in the future.
I ask to know to use you Opencart in the future.
table customer: code, type varchar, length 40
table custom_field: validation, type varchar, length 255
change columns:
table affiliate_activity: activity_id rename affiliate_activity_id
table customer_activity: activity_id rename customer_activity_id
Opencart Remote Upgrade Toolslavib wrote: Do you have an update from 1.5 to 2.2.0.0
One of our best money making websites is on OC 1.5.6
Will I upgrade it NO, I do not have the time because I am too busy completing orders created by the 1.5.6 store.
If you are constantly looking to upgrade your store to the brand new and shiny Opencart version then maybe you should ask why you have so much time on your hands and maybe try to improve the store you have already built with good design and easy navigation for your customers.
I performed an update from 2.1.0.2 to 2.2.0.0 and on the category page received a load of warnings including:
Warning: imagecreatetruecolor(): Invalid image dimensions in
Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in
Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in
and a load more.
I immediately went to the image settings in the store admin and noticed all but the store logo and favicon settings had vanished. I resaved with no change and wondered if the settings were present in the DB, they were. Very strange.
Thought I would then delete the DB, blank the config files, reupload the install folder and do a "freshish" install. This resolved the warnings but the image settings are still not there. Thought perhaps they had been moved? But after a quick scan of the admin I can't find them if they have been.
Cheers
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
This update image setting pages:ThePath wrote:A quick note.
I performed an update from 2.1.0.2 to 2.2.0.0 and on the category page received a load of warnings including:
Warning: imagecreatetruecolor(): Invalid image dimensions in
Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in
Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in
and a load more.
I immediately went to the image settings in the store admin and noticed all but the store logo and favicon settings had vanished. I resaved with no change and wondered if the settings were present in the DB, they were. Very strange.
Thought I would then delete the DB, blank the config files, reupload the install folder and do a "freshish" install. This resolved the warnings but the image settings are still not there. Thought perhaps they had been moved? But after a quick scan of the admin I can't find them if they have been.
Cheers
Code: Select all
UPDATE `oc_setting` SET `key` = REPLACE ( key , 'config_image', 'theme_default_image' );
UPDATE `oc_setting` SET `code` = 'theme' WHERE LIKE `key` 'theme_default%';
Also it throws an sql syntax error when you try and runn your queries above.
#1064 - You have an error in your SQL syntax;
Thanks
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Users browsing this forum: No registered users and 10 guests