Jump to content

Installing the latest security patch


Guest tezzer

Recommended Posts

Hi, I am quite new to all this and was wondering if there was a tutorial showing how to install a security patch? I am using 3.0.10 and am happy with it, so I don't want to upgrade to a later version. I just need to install the latest patch (28 August 2006).

I have looked everywhere for a tutorial on this but can't find one. If there is no tutorial, can someone give me a step by step guide on how to do this?

Hope someone can help.

Regards Tezzer

Link to comment
Share on other sites

From the instructions included with the patch:

Instructions:

----------------

1. Quick Method (For unmodified stores)

Please upload the files found in the uploads folder over those ones on

you server.

2. Slower Method (For modified stores)

Please follow the changes detailed in the file Patch Manual Changelog.html

Link to comment
Share on other sites

From the instructions included with the patch:

Instructions:

----------------

1. Quick Method (For unmodified stores)

Please upload the files found in the uploads folder over those ones on

you server.

2. Slower Method (For modified stores)

Please follow the changes detailed in the file Patch Manual Changelog.html

Thanks Roban:

I still have a couple of questions, though:

1. When it says unmodified stores, does this mean layout? I have altered my layout or does this only apply if I have modified the files that require patching?

2. If I have to use option 2 (for modified stores), do I just add the additional code (in red) or change the existing code with the new code (in red) in the right column. For example in file includes\boxes\cartNavi.inc.php would I replace this (from the left column)

'link' => "index.php?act=profile&f=".$_GET['act'],

with this (from the right column)

'link' => "index.php?act=profile&f=".treatGet($_GET['act']

Hope you can help

Tezzer

PS. I will back all these files up before attempting anything

Link to comment
Share on other sites

Thanks Roban:

I still have a couple of questions, though:

1. When it says unmodified stores, does this mean layout? I have altered my layout or does this only apply if I have modified the files that require patching?

2. If I have to use option 2 (for modified stores), do I just add the additional code (in red) or change the existing code with the new code (in red) in the right column. For example in file includes\boxes\cartNavi.inc.php would I replace this (from the left column)

'link' => "index.php?act=profile&f=".$_GET['act'],

with this (from the right column)

'link' => "index.php?act=profile&f=".treatGet($_GET['act']

Hope you can help

Tezzer

PS. I will back all these files up before attempting anything

As I understand it:

1 - The templates system in CC works by storing your templates away from the core files which allow CC to work. A "modified store" would mean you have installed a 3rd party mod to the store, and had to copy and paste code from a mod, directly into one of the stores more core files. A mod may certainly ask that you add certain code to your template, but for the purposes of installing security updates or general maintenance updates, any changes you've made to your template wouldn't mean your store was classed as "modified".

2 - When you open the "change log" in your browser, the code on the left side is the current code your store should be running if it has been unmodified. The code on the right side is comparative code, but the lines which are highlighted in pink represent the lines which have been updated. Within the changed lines (the ones highlighted in pink) the actual code which has been changed, is highlighted in red. Blank lines are highlighted in blue.

Personally I check my original code to see if I have a mod installed in or around the changes, and if not, I find it easier to replace the entire changed line. I'm terrible for losing my place in these change logs and losing track of what I have or haven't done, so I find replacing a full line and then scrolling past it helps me keep track better - I'm sure other people will find other methods work better, but that's how I do it.

Anyway, hope that helped (and I haven't completely misunderstood your questions ;) ) and good luck with the update.

Link to comment
Share on other sites

Un-modified refers to third party mods. Some require that the files replaced by the patch be modified and applying the patch will nullify the mod. Normally this is not a problem because you'll just re-apply the mod or apply the patch using the manual (changelog) method.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...