I've done a fresh install of v1.5.7c
I have installed a free template but the admin remains untoched and is the original. I am trying to edit a product, when I select 'Categories/Products' nothing loads, there is just a blank space aqnd ZenCart logo.
I've looked into the categories.php in the admin/includes folder:
Code:
$categoryId = (isset($_GET['cID']) ? (int)$_GET['cID'] : '');
if ($categoryId != '') {
$category = $db->Execute("SELECT c.categories_id, cd.categories_name, cd.categories_description, c.categories_image,
c.sort_order, c.date_added, c.last_modified
FROM " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
WHERE c.categories_id = " . $categoryId . "
AND c.categories_id = cd.categories_id
AND cd.language_id = " . (int)$_SESSION['languages_id']);
$cInfo->updateObjectInfo($category->fields);
}
Since by default the cID parameter is not passed then the select won't be executed, so I can't see how this would ever work.
Any ideas?
Bookmarks