Originally Posted by
OwenB
Thanks mc12345678.
I discovered the issue early this morning. Somehow my CKEditor install had got lost on the library side. All is well again.
The reason we have stuck with v1.5.1 is because we do not use the full features of the shopping cart. We have removed all logins and track downloads per book in the background as we run an annual membership not price per book. With the amount of changes we have made over the years it is quite a daunting task to upgrade everything ... maybe at a later date!!!
Just one final question: in Admin/includes/modules/category_product_listing.php I want to check the existence of a series file on the server (I already have the code for that\) but I am having difficulty in drawing down the current cat_series_link.
I amended the sql to:
$categories = $db->Execute("select c.categories_id, cd.categories_name, cd.categories_description, c.categories_image,
c.parent_id, c.sort_order, c.date_added, c.last_modified,
c.categories_status, c.cat_series_link
from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
where c.categories_id = cd.categories_id
and cd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and cd.categories_name like '%" . zen_db_input($search) . "%'" .
$order_by);
} else {
$categories = $db->Execute("select c.categories_id, cd.categories_name, cd.categories_description, c.categories_image,
c.parent_id, c.sort_order, c.date_added, c.last_modified,
c.categories_status
from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
where c.parent_id = '" . (int)$current_category_id . "'
and c.categories_id = cd.categories_id
and cd.language_id = '" . (int)$_SESSION['languages_id'] . "'" .
$order_by);
}
but when I add , c.cat_series_link into the second half it crashes with an error warning.
What i am trying to do is:
$current_cat_series_link = $categories->fields['cat_series_link'];
so that this can be used with the file existence test.
Thanks in advance
Bookmarks