WTF, my whole theme got messed up with 4.0.2

So, I had changed a million things in css and tpl files. I updated to new 4.0.2. from 4.0.1 and everything got really MESSED UP. I mean, WTF?



Why wouldn't the update let users decide if they want changes to their theme? Replacing JSON files with LESS? And what are we supposed to do now? Re-edit the whole damn theme from scratch?

GREAT support… as always…

This is a Community forum not a support forum. If you require Support, contact CS-Cart Support by creating a ticket.



Although CS-Cart staff occasionally drop in from time to time, all members but CS-Cart staff are helping each other on the forum completely unpaid. You get what you pay for I suppose.



With regards to your issues, I have seen a couple of other threads where you have been advised - and rightly so - to look into the my_changes addons and how this works. If you had applied your CSS and .tpl changes using the my_changes method, the upgrade would have upgraded your theme accordingly, but your changes would have remained intact.



You can lead a horse to water…



If you upgraded via the Upgrade Center, you will be able to revert back to 4.0.1 and your original files (ie. edited tpl and CSS) by restoring the backup in /var/upgrade/upgrade_4.0.1_xxx-4.0.2_xxx.tgz



The upgrade center also advises changes made to the original build files in order for you to make comparisons and re-apply your changes or make edits to the my_changes overrides if necessary.



ALWAYS backup before doing anything with any software before going through with a potentially damaging upgrade. Of course, you will now - hopefully - have learned that lesson and won't make the same foolish mistake that everybody here has made to some degree at some stage.

First of all, I really don't like the irony in your reply.



Second of all, with the lack of documentation one can only GUESS how the my_changes plugin works, let alone it wasn't mentioned anywhere clear enough so that I could use it in the first place.



So, I had already done hundreds of changes in a DIFFERENT folder theme (not the basic - copied it to a different folder), so why would cscart mess with it?



Now, from what I saw the WHOLE structure has changed, so how would the my_changes plugin keep by changes?



So, issuing a ticket would solve my problem? Any guarantees for that?

Good luck, you'll surely need it.

[quote name='StellarBytes' timestamp='1381843255' post='169792']

ALWAYS backup before doing anything with any software before going through with a potentially damaging upgrade. Of course, you will now - hopefully - have learned that lesson and won't make the same foolish mistake that everybody here has made to some degree at some stage.

[/quote]



While the above is undoubtedly true, it seems to me that CSC should at the very least put in some safeguards so that “everybody” can avoid Armageddon.



While I wouldn't expect them to make it as foolproof as syncing an iPhone (where a backup is automatically made before anything is done), at the very least there should be some “warning labels” cautioning users of potential problems and directing them to the appropriate help files for making backups before they do anything that can't be undone.

This is a general rule for me. I always backup everything before doing such updates. Let alone I keep full backups every 3 days for all my websites. Plus, Cscart gives a restore link before updating in case something goes wrong.



THE PROBLEM IS that I can't use 4.0.2. Damn, I don't even know if it contains fixes that were NEEDED in there.



Ruining my theme is completely unusable to me. I hate it that they constantly changing stuff, without at least letting us know what is about to be changed. So I created a theme altering the THEME'S files, not CORE files (I mean wtf, is the theme considered core?) plus as a failsafe measure I didn't work on a default theme, but rather copied it and worked on that.



I WOULD EXPECT however, that if something is changed from its root, like changing file structure, etc, the least that could be done is for the package to convert all the old files to new ones. Now I can't see my theme correctly in the editor, my .tpls reverted to original.



I have previously bought cs-cart 3 times, and I guess I'm done with it. Aftersales is more important than the program itself. What good does it do if you buy an UNFINISHED program when noone is listening?