To correct change categories On and Off change as below.

In categories.php find:

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified

Add after:

, c.categories_status

Do that for the two queries in this file.


More...