.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hey, Dr. Byte. Thanks for the advice.
I uploaded the new version of Zen Cart into a /demo directory, and I was having the same problems. It turned out to that the permissions on my hosted server were screwed up.
So now, I'm able to upload using the new version of Zen Cart (1.3.9) in the /demo folder but not using 1.3.8a in the main directory.
Due to technical problems, my store has no products, sales or content. The only thing it has are the page designs which I don't want to lose.
I read the three easy steps to upgrading zen cart
https://www.zen-cart.com/tutorials/i...hp?article=108
but I'm hoping that there might be an easy solutions, such as deleting the old version of Zen Cart, uploading the new version of Zen Cart, and then uploading just the older css and files that control the look and feel of the site (as it exists today).
My question: would the method I described above be advisable, or should I just perform the upgrade as recommended in the link I included?
Here's a link to my store:
http://dymaxion.fm
Thanks!
T
OK, I just used winmerge to move my original 1.3.8a files (on the left of the winmerge interface) to the new 1.3.9 files (on the right of the winmerge interface) and it did the eaxct opposite - the original files were erased and the new files were placed in their stead. Fortunately, I have the original files on my server.
My assessment at this point is that there is no easy or reasonably safe way to upgrade Zen Cart without taking a day off of work to devote to the process.
Dr. Byte, you mentioned security problems with 1.3.8a. How serious are these? Considering the upgraded process, a few minor bugs might acceptable than destroying my site through an esoteric upgrade method if there are easier fixes.
Thanks!
T
Perhaps I'm just confused about this conceptually - it seems to me that if I "merge" or replace the old files with the new files then it seems that I'm bascially deleting all of the content that is different in the new version, therefore I'm uploading the old version to my server.
All I want to keep is the front-end interface. When I upgrade Expression Engine, I just make a backup of my template files and upload the functional code of the new version and install. That way I'm using the old front-end interface with the new functional code of the upgrade and it can be done within ten minutes.
Is that possible with Zen Cart? I may not be understanding the upgrade process here.
Thanks!
T
You're not understanding the process.
You need to identify all your customizations, and then copy those customizations into the new version's files. Merely overwriting files isn't going to solve anything.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Ah, so I need to copy every bit of code/markup I've written and paste it into the files of the new version of Zen Cart, and then upload?
That's the concept, yes.
Naturally, if there's stuff you no longer need/want, you can skip that.
And, if you've made any override files, you'll need to do similarly with those too.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
OK, I understand. I think I should point out that that's not really "upgrading" as much as it is "redoing the whole site." That costs businesses more money paying developers and weighs against the free aspect of Zen Cart.
Do you guys expect to restructure things so that modular/automatic upgrades will be possible in the future? I'm curious because as I mentioned this does add quite a bit of unexpected cost.
Last edited by ThomasT; 5 Aug 2010 at 04:59 PM.
It's not really "redoing the whole site", because all you're doing is combining your customizations into the new files.
Think of it like this ...
- A bug is found in a template file, for say the product-details page
- But you've customized that template file to add some special effect you want on your site
- Your upgrade needs to involve *you* to make sure that *both* your own customizations as well as the newly-fixed template components
And you're calling that "redoing" the site?
Sorry, that's not "redoing".
There's a little rolling-up-the-sleeves to get your hands dirty when upgrades come along. Zen Cart puts a lot of effort into attempting to keep upgrades as painless as possible. After you've done one or two, you'll realize it's not as bad as you first thought.
As to the idea of "unexpected cost", it's only "unexpected" if you had made incorrect assumptions beforehand.
Forgive me if I'm wrong in thinking that to "redo" the site is to throw out all your customizations and truly start from scratch, with a clean set of files, and a new design idea, and building from square one, not copying from work you've already done. As well as installing all new versions of addons and making a whole new look and feel.
THAT is complex, and time-consuming. And, yes, costly.
Pardon me if this sounds defensive, but ... I guess if you expect everything for free, then there's no point arguing the point, as you've got your mind made up.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.