News:

Support the VirtueMart project and become a member

Main Menu

Update only backend of VM

Started by seweryn, August 26, 2013, 18:58:06 PM

Previous topic - Next topic

seweryn

Hi,
I have VM in 2.0.8e version and I have there a lot of changes in code. I wouldn't make update all parts of VirtueMart.
There is my question:

It is possible update only backend part of VirtueMart? It will be worked?

Please help. Thanks in advance.
I use VirtueMart 2.0.22c & Joomla 2.5.14

jenkinhill

You cannot just "update the backend"

I assume you mean you edited the view (template) files? In which case those edited files should be used as template overrides so they do not get overwritten during an update.

Documentation for the template system is in http://docs.virtuemart.net/tutorials/33-templating-layouts.html
Also see http://www.ostraining.com/blog/joomla/overrides

There were layout changes in the earlier updates which means that some template overrides will need re-editing. Look at the l;ive update info here which has information about those changes. http://virtuemart.net/index.php?option=com_content&id=416&tmpl=component

Use a backup of your site to test (& fix) the update - that old 2.0.8e version now has several security holes.

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

seweryn

#2
Thanks for your reply.

Yes, it is my mistake - I do not overrides, I change default files. I would improve it in my next project.
But I have changes in controllers, helpers etc. too.

Over the last two weeks I am working on moving my changes from VM 2.0.8e to VM 2.0.22b.
And I read today this: http://virtuemart.net/news/list-all-news/446-important-security-release-vm-team-at-joomladay-germany

If I make update I will lose my time :(

Maybe it is possible to replace only selected files which have changes (I think that from 2.0.22b to 2.022c it is no so much files to substitute).
Please help and please give me some advice where can I find which files have been changed.

Thanks in advance.

I use VirtueMart 2.0.22c & Joomla 2.5.14

jenkinhill

I use DiffMerge to compare versions & show all changes. The other way is to work though the files on http://dev.virtuemart.net/projects/virtuemart/repository
There will also be database changes to make.

All your template files must be edited, so I suggest you change them to override files at this stage.

We do not support edits/hacks to the VirtueMart core, and in this case there is no way of telling if any hacks affect the site security
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

seweryn

So if I understand, the update only files indicated by DiffMerge will update VM to the latest version? (apart from database updates)

I use VirtueMart 2.0.22c & Joomla 2.5.14

jenkinhill

They will indicate all changed files between old and new packages.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

seweryn

VirtueMart core files too?

I mean, that in this way I will have the security fix from 2.0.22c too?

P.S. Sorry for my english :)
I use VirtueMart 2.0.22c & Joomla 2.5.14

jenkinhill

Yes, but there is no guarantee that your site will be secure if you still use files that you yourself have hacked.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

seweryn

I use VirtueMart 2.0.22c & Joomla 2.5.14