Thanks for the quick response Shan
I haven't tried to apply any patches before and I'm having problems doing so.....
I copied the patch text from the post you linked to into notepad and saved it on my local machine (Windows XP Pro) as below.
Quote:
Index: include/categories.php
================================================== =================
retrieving revision 1.64
diff -u -r1.64 categories.php
--- include/categories.php 12 Jul 2004 06:50:34 -0000 1.64
+++ include/categories.php 19 Jul 2004 07:11:25 -0000
@@ -63,11 +63,13 @@
global $user_account;
$customer_search_condition = " AND avail='Y' AND (membership='".addslashes($user_account["membership"])."' OR membership='')";
$search_condition .= $customer_search_condition;
- if ($flag == "all" || $flag == NULL)
+ if ($flag == "all")
$sort_condition = " ORDER BY category";
else
$sort_condition = " ORDER BY order_by, category";
}
+ elseif (defined('MANAGE_CATEGORIES'))
+ $sort_condition = " ORDER BY category, order_by";
if ($short_list)
$to_search = "categoryid,parentid,categoryid_path,category,prod uct_count,avail,order_by";
|
I then tried to apply the patch from the admin area and got this result:
Quote:
Checking patch.pl permissions: /home/*********/public_html/patch.pl ... OK
File Status
include/categories.php could not patch
Status legend:
OK - file ready to patch,
checksum error - patch contents is corrupted,
non-writable - please give those files a write permissions,
not a file - the target is not a file,
not exists - file is missing,
could not patch - patch cannot be applied to this file automatically because it was significantly modified, the patch for this file should be applied manually,
already patched - file was already patched.
|
Any ideas on this (I have tried searching for "applying patches")