Fixing 404 Error When Adding Reviews in Magento Admin Panel

404-pageadmince-1.9.0.1review

I'm having problems with adding Reviews in the backend.
The review system works, because they can be added in the front end by guests and users.
Here's the list of reviews:

Review List

I can edit these reviews as normal.

Edit Review

But when I try to create a new review in the back end, I get the following 404:

Add Review - 404 Error

What can I do?

regards
Phil

Best Answer

Please look at the file app/code/core/Mage/Adminhtml/Block/Review/Rating/Detailed.php

and find function getRating()

in this function isset "->setStoreFilter(Mage::app()->getStore('default')->getId())"

where Mage::app()->getStore('default')->getId() return empty.

Rewrite this block and put Mage::app()->getStore()->getId()

Related Topic