Magento - 404 error in public product page

http-status-code-404, magento, magento-1.7

Solution

Go to your DB and run this SQL query:

INSERT INTO `report_event_types` (`event_type_id`, `event_name`, `customer_login`) VALUES
(1, 'catalog_product_view', 1),
(2, 'sendfriend_product', 1),
(3, 'catalog_product_compare_add_product', 1),
(4, 'checkout_cart_add_product', 1),
(5, 'wishlist_add_product', 1),
(6, 'wishlist_share', 1);

P.S. check DB name prefix if you have it!

Problem

I have a Magento 1.7 web width 2 stores in different languages width a direffent domain for each store. When I enabled products for the second store, the public product pages of the second store stopped functioning. Now are 404 error, but the first store product pages continue to perform well. All other pages work correctly. http://www.bioaigua.es/grower-abono-de-crecimiento.html - OK http://www.bioaigua.net/rooty-enhances-the-formation-of-roots.html - 404 error Any idea?

Original source