Search code examples
databasemagentostructureapcpermalinks

Magento gives error page instead of product view


I have a problem with a Magento webshop (already live -> http://tinyurl.com/bu8vzay). When you choose a product in a category you will always get an 404 error page.

Do you have any idea?

Things I tried:

  • updating attributes for all products live (no problems)
  • clear cache
  • clearing the indexes

I've been searching for too many hours now. All help is welcome :)


Solution

  • Take look at the Catalog -> Url Rewrtie Section in admin to see if a rewrite is added for that product.

    You may also want to check report_event_types table to see if the values below exist, if not then insert them (Always backup your database before making changes):

    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);
    

    Credit to 404 Error on Magento Product Page