I had a problem that responded well to commenting out the line you suggest too.:
Mage::dispatchEvent('catalog_controller_product_view', array('product' => $product));
so this got me thinking to look for anything using that event, so i did a grep on app/code for catalog_controller_product_view
not, much, considering the first one is just that which has ...
Looks like the table report_event_types is empty. If yes, run the following query and it will work.
CREATE TABLE IF NOT EXISTS `report_event_types` (
`event_type_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Event Type Id',
`event_name` varchar(64) NOT NULL COMMENT 'Event Name',
`customer_login` smallint(5) unsigned NOT NULL DEFAULT '0'...
I had the same problem after a reindex crash !
All product pages returned 404 error page !!
So i opened Mage_Reports_Model_Event_Observer and added a
In the begening of this observer method:
public function catalogProductView(Varien_Event_Observer $observer)
And it worked !!
You saved my day/life !!
I also face same error 404 not found. I checked the exception.log and found the error:
'Magento\Framework\Exception\LocalizedException' with message 'Object
DOMDocument should be created.' in
One of my custom module was ...
i have the same problem but now it's solved. I hope my experience can help others who have the same issue.
After truncated some log tables in database yesterday, all product detail pages were blank, not any errors, other pages works well. my hosting simplehelix disabled Compilation, pages loaded but all product pages returned to 404 page. simplehelix was ...