I am using version 1.5.1, I setup my store and everything was working with the example products installed. I decided to delete all of the products in the database through phpmyadmin, but I may have been a bit too thorough. I can create new categories and products, but when I click on "Attributes Controller" I get the error "WARNING: An Error occurred, please refresh the page and try again." Im wondering if there is a way to restore the entire mysql database to its original empty state without reinstalling the whole system. The attributes controller page was working before I deleted the products in phpmyadmin. The command I used was:

DELETE FROM zen_customers;
DELETE FROM zen_customers_info;
DELETE FROM categories;
DELETE FROM categories_description;
DELETE FROM group_pricing;
DELETE FROM manufacturers;
DELETE FROM manufacturers_info;
DELETE FROM products;
DELETE FROM products_attributes;
DELETE FROM products_attributes_download;
DELETE FROM products_description;
DELETE FROM products_discount_quantity;
DELETE FROM products_options;
DELETE FROM products_options_values;
DELETE FROM products_options_values_to_products_options;
DELETE FROM products_to_categories;

Many thanks in advance.