Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upgrading OSC 2.2ms2 to 2.2ms2-051113


Guest

Recommended Posts

Posted

Has anyone done any patch files for *nix to update their OSC to the latest versions?

I have a site which is majorly hacked to look much like the customers site and now with updates the patches overwrite the complete files.

 

I have created a patch file which used with *nix systems you should be able to patch them.

I'm hopefully going to test this with my current modified OSC installations and if all works well, I'll put the patch file up for grabs.

Posted

There's already an html 'Install' file with the updated MS2 - for people who have modified their sites. And there are complete files for those who haven't modified their sites.

 

Whether the site is on an Apache or Windows server makes no difference to the upgrade.

 

So, basically, you'd be wasting your time.

 

Vger

Posted
There's already an html 'Install' file with the updated MS2 - for people who have modified their sites. And there are complete files for those who haven't modified their sites.

 

Whether the site is on an Apache or Windows server makes no difference to the upgrade.

 

So, basically, you'd be wasting your time.

 

Vger

 

Where's this html install file as all I see in the oscommerce-2.2ms2-051113.tgz file is a dump of the complete OSC and a update-20051113.html which shows which lines are changed. If this is the file your refering to then it's a painful process of updating it.

 

My patch file just runs with a `patch -p2 < osc-051113.patch` and it does it all whether you've modified it or not.

 

Have I got the wrong one?

Posted

Hi, If you have the ability to create a patch which will apply the upgrade to an osCommerce website, no matter how it has been modified, without breaking any of those modifications - then I take back what I said in my original post. It would be very useful for people.

 

I'd be interested to see it and check it out.

 

Vger

Posted
Hi, If you have the ability to create a patch which will apply the upgrade to an osCommerce website, no matter how it has been modified, without breaking any of those modifications - then I take back what I said in my original post. It would be very useful for people.

 

I'd be interested to see it and check it out.

 

Vger

 

Well it does exactly that, modifies the differences between the original MS2 version and the 51113 version. If the site hacks that have been made make changes to what the patch is trying to modify then it just fails that section and continues patching other files with a rejection file created showing why it failed.

 

ie

you remove

 

include('footer.php');

 

and the patch has instructions to change this line or uses this line as a reference to find where to make other mods, then it'll fail. But html changes and not source changes most likely will work.

 

The test I did last night with a mod from http://www.hypertemplates.com/ and so far it's working fine though I don't have the /admin password to check it out further, will get more details when the shop owner checks it out for me.

Posted

Well my mods apparently work fine according to the user who manages the site which I modified using the patch.

 

I can't attach the patch to the forums and I don't really want to host it anywhere, where can I place this file on the osc site so people can backup their sites and test it?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...