how about updating the DB tables and so on?czorny wrote:These "unnecessary headaches" can be solved by just one line in each index.php file.pm-netti wrote:True, changing data (serialize> json_encode) will cause unnecessary headaches to upgrading aspiring.
Catalog:
Insert
AfterCode: Select all
if (!json_decode($result['value'], true)) $config->set($result['key'], unserialize($result['value']));
Admin:Code: Select all
$config->set($result['key'], json_decode($result['value'], true));
Insert
AfterCode: Select all
if (!json_decode($setting['value'], true)) $config->set($setting['key'], unserialize($setting['value']));
Then just open and re-save all your settings, modules, totals etc. These 2 lines could save a lot of time and nerves to many people.Code: Select all
$config->set($setting['key'], json_decode($setting['value'], true));
There's also another place, where similar check can be added, but once you've reopened and saved all your settings, it's not necessary to add anything.
I do not recommend making changes to the index.php file.czorny wrote: These "unnecessary headaches" can be solved by just one line in each index.php file.
One option admin user permissions:
File system/library/user.php and method "hasPermission":
Code: Select all
}else{
return false;
}
Code: Select all
} else{
return true; // return false;
}
Then change file library/user.php again.
( Ps. Elimination of this file is the next version? )
First of all, these changes are temporarily and absolutely harmless. Second, my quick fix was about re-saving settings in new JSON format. You can't do this easily without making changes in index.php files, because all settings are loaded right in them. This has absolutely nothing to do with permissions.pm-netti wrote:czorny wrote:I do not recommend making changes to the index.php file.
So we can safely assume whatever db table are carried forward from 2.0.3.1 to 2.1.0.1 there is no change in structure or even that could have changed, do you have any information on that.OSWorX wrote:Just for those of us who want to know about database changes.
New:
api_ip
api_session
cart
customer_wishlist
Removed:
customer_ban_ip
When I have more time, I will check for possible changes on the remaining tables - or if someone else will do that post it here.
Thank You.
Regards,
Sun Systems
Industrial Electronics and Instrumentation
One important change, nowhere mentioned until now: all config settings are stored from now on as
JSON instead as SERIALIZED
fields!
And alll backend customer actions are now under customer to find - was former under sale (this is more for developers).
JSON instead as SERIALIZED
fields!
And alll backend customer actions are now under customer to find - was former under sale (this is more for developers).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Is just amazing that there is no Instructions to upgrade to the latest version .
And its very sad to see all the problems users have to upgrade to new version like
Upgrade Errors With V2.1.0.1
UserVoice 2nd choise a Automatic Upgrade ignored and ignored as of course all the other features there! So no respect to ppls voted there !
Ppls asking how to upgrade and there is no official answer-instructions about something that it should be already in the upgrade.txt, but its not !
I said it once upon a time I am saying it again , Daniel consider to change your business model , make Opencart Paid Cart, 5 Euros per registration , and take the money to hire professionals coders and explode this software to the top .
Theo
And its very sad to see all the problems users have to upgrade to new version like
Upgrade Errors With V2.1.0.1
UserVoice 2nd choise a Automatic Upgrade ignored and ignored as of course all the other features there! So no respect to ppls voted there !
Ppls asking how to upgrade and there is no official answer-instructions about something that it should be already in the upgrade.txt, but its not !
I said it once upon a time I am saying it again , Daniel consider to change your business model , make Opencart Paid Cart, 5 Euros per registration , and take the money to hire professionals coders and explode this software to the top .
Theo
iplocker wrote:Is just amazing that there is no Instructions to upgrade to the latest version .
Agreed! More attention should be given to upgrade instructions that come with OC package.
they are working on some of the features, automatic upgrade is probably not possible. I for one would happily leave it out and provide instructions for manual upgrade. More so if an automatic upgrade feature requires a lot of resources to get it working every time. Once you have set up a shop that is stable you probably well be ok for few years.iplocker wrote:
UserVoice 2nd choise a Automatic Upgrade ignored and ignored as of course all the other features there! So no respect to ppls voted there !
If this was a good business model wouldn't you have it done yourself? I think OC business model is superb and in fact more and more open-source projects become sustainable by following this same model.iplocker wrote: I said it once upon a time I am saying it again , Daniel consider to change your business model , make Opencart Paid Cart, 5 Euros per registration , and take the money to hire professionals coders and explode this software to the top .
If all would follow the non-existing release management like Opencart has, nobody would be able to create webshops anymore.beipink wrote:I think OC business model is superb and in fact more and more open-source projects become sustainable by following this same model.
Next is adding non documented changes in the core and changing important core function in minor releases cannot be true at all.
Next is publishing extensions which are almost the same (difference may be only the version number) and earning money for such cannot be a serious 'business' model.
And finally a so called 'support' who do not know the code and answering support requests in a terrible unprofessional way is no support.
So where is the 'superb' model??
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
There's no problem with the business model itself: distribute the base engine for free, charge fee for extensions. It's quite good.OSWorX wrote:If all would follow the non-existing release management like Opencart has, nobody would be able to create webshops anymore.beipink wrote:I think OC business model is superb and in fact more and more open-source projects become sustainable by following this same model.
Next is adding non documented changes in the core and changing important core function in minor releases cannot be true at all.
Next is publishing extensions which are almost the same (difference may be only the version number) and earning money for such cannot be a serious 'business' model.
And finally a so called 'support' who do not know the code and answering support requests in a terrible unprofessional way is no support.
So where is the 'superb' model??
The main issue is with attitude to extension developers. This, indeed, is a problem. Lack of upgrade instructions or VQMod backward compatibility (whose idea was to replace VQMod with OCMod?!) is just a tip of the iceberg. Try to report the issue on OpenCart's Github and you'll get the clear picture of who you are: an annoying insect. When I reported about lack of RUB in PayPal modules, the only thing I got was "in your dream" reply. And this is despite the fact, that RUB is accepted in PayPal payments for 2 years!
Damn, we were promised license period feature for our extensions IN MAY! In the same email with notification about commission raise. Commission was raised right in time, but we sill can't set license period and getting support requests from people, who bought extensions in 2013!
beipink who are you and how do you know that they are working in some features and automatic upgrade is off?beipink wrote: they are working on some of the features, automatic upgrade is probably not possible. I for one would happily leave it out and provide instructions for manual upgrade. More so if an automatic upgrade feature requires a lot of resources to get it working every time. Once you have set up a shop that is stable you probably well be ok for few years.
So you are saying make a stable eshop and leave it like this for years huh ?! Dont care about security releases and other features comes in with the new releases of the eshop huh ?!
Get serious !
Not post me again if you are not in the Opecart team !
Of course we don't know who is in or who isn't in the team but this is another story..
Theo
I do not take a bit wider stand to between youiplocker wrote: automatic upgrade is off?
Automatic update is a big part of the night, of course, successful database update remotely. But then, should be a very large some kind of "virtual store" that eliminates error messages until the new version of the files have been uploaded.
So how is Wordpress and Prestashop able to do automatic updates and have a huge amount of 3rd party extensions, but OpenCart has struggled with this for so long?
It is here:davidbfranks wrote:So how is Wordpress and Prestashop able to do automatic updates and have a huge amount of 3rd party extensions, but OpenCart has struggled with this for so long?
http://www.opencart.com/index.php?route ... n_id=24347
Thank you for providing the extension. Please give a brief summary of how the upgrade works and what all is NOT upgraded(eg. is the customer list along with customer history/cart/wishlist and payment details also upgraded ?), is the upgrade 100% or is anything been missed out and that the user will not have any compatibility issues in future because if I am not wrong you are installing your own engine override software to make it work with your extension hence the question of accuracy and compatibility.pm-netti wrote:It is here:davidbfranks wrote:So how is Wordpress and Prestashop able to do automatic updates and have a huge amount of 3rd party extensions, but OpenCart has struggled with this for so long?
http://www.opencart.com/index.php?route ... n_id=24347
Thank You for your time.
Regards,
Sun Systems
Industrial Electronics and Instrumentation
I am these did "new idea", all OC versions can use same controller/upgrade/upgrade.php file.sunsys wrote:Thank you for providing the extension. Please give a brief summary of how the upgrade works and what all is NOT upgraded(eg. is the customer list along with customer history/cart/wishlist and payment details also upgraded ?), is the upgrade 100% or is anything been missed out and that the user will not have any compatibility issues in future because if I am not wrong you are installing your own engine override software to make it work with your extension hence the question of accuracy and compatibility.pm-netti wrote:It is here:davidbfranks wrote:So how is Wordpress and Prestashop able to do automatic updates and have a huge amount of 3rd party extensions, but OpenCart has struggled with this for so long?
http://www.opencart.com/index.php?route ... n_id=24347
Thank You for your time.
Small add-file is to versions 1.4.7 and 1.5.0 (these structure is small different in file library/language.php or document.php)
One thing, what is not can perfectly update, it is order report from versions 1.4.x.
Same old story .... Opencart jumping over dead bodies to find a ring ..... THE BIGGEST ISSUE that should be concentrated on BEFORE anything else should be an upgrade engine
Now that I have some EXPERIENCE with the way that the Opencart project works ... I'll always be skeptical until I can be convinced otherwise
Opencart SHOULD be able to upgrade itself ... SIMPLE AS without issue - every OC user wants it - every OC user has complained about it but the notion is COMPLETELY IGNORED
Daniel - we have all bought into your system - why can't you be honest and simply address the obvious!
Now that I have some EXPERIENCE with the way that the Opencart project works ... I'll always be skeptical until I can be convinced otherwise
Opencart SHOULD be able to upgrade itself ... SIMPLE AS without issue - every OC user wants it - every OC user has complained about it but the notion is COMPLETELY IGNORED
Daniel - we have all bought into your system - why can't you be honest and simply address the obvious!
I am not referring to something that old oc's, please inform about oc-1564 onwards to oc-2101, what is the condition there as far as your upgrade extension is concerned.pm-netti wrote:I am these did "new idea", all OC versions can use same controller/upgrade/upgrade.php file.
Small add-file is to versions 1.4.7 and 1.5.0 (these structure is small different in file library/language.php or document.php)
One thing, what is not can perfectly update, it is order report from versions 1.4.x.
Thank you.
Regards,
Sun Systems
Industrial Electronics and Instrumentation
This extension is not upload files. Files need uplaod himseft to server.sunsys wrote:I am not referring to something that old oc's, please inform about oc-1564 onwards to oc-2101, what is the condition there as far as your upgrade extension is concerned.pm-netti wrote:I am these did "new idea", all OC versions can use same controller/upgrade/upgrade.php file.
Small add-file is to versions 1.4.7 and 1.5.0 (these structure is small different in file library/language.php or document.php)
One thing, what is not can perfectly update, it is order report from versions 1.4.x.
Thank you.
This is support to future version.
Who is online
Users browsing this forum: No registered users and 85 guests