Tag: error
[SOLVED] Whoops, our bad… Magento ERROR
I installed magento with sample data. Everything is ok, but when i go to front end an click on any link, it show :
Whoops, our bad…
The page you requested was not found, and we have a fine guess why.
* If you typed the URL directly, please make sure the spelling is correct.
* If you clicked on a link to get here, the link is outdated.
SOLUTION:
My Trick:
1. Login to your admin Panel.
2. You will see a warning message “One or more of the Indexes are not up to date: Product Attributes, Product Prices, Catalog URL Rewrites, Product Flat Data, Category Flat Data, Category Products, Catalog Search Index, Tag Aggregation Data, Stock Status. Click here to go to Index Management and rebuild required indexes.”
3. Just click on Index Management and rebuild required indexes.
This should solve the problem.
Error: tools/post_templates.php on line 23 in AgentPress
Can’t Login to Magento Admin Panel after successful Installation
Here’s a simple solution to those facing Fresh Magento Installation Backend login problem. It’s obviously an issue around Cookie settings. So let’s get to it.
First thing you got to do is look for a file named Varien.php which is located same way as the following.
[magento_url]\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
I managed to get it to work by commenting the whole block lines 77-104:
/* $cookieParams = array(
‘lifetime’ => $cookie->getLifetime(),
‘path’ => $cookie->getPath(),
‘domain’ => $cookie->getConfigDomain(),
‘secure’ => $cookie->isSecure(),
‘httponly’ => $cookie->getHttponly()
);
if (!$cookieParams[‘httponly’]) {
unset($cookieParams[‘httponly’]);
if (!$cookieParams[‘secure’]) {
unset($cookieParams[‘secure’]);
if (!$cookieParams[‘domain’]) {
unset($cookieParams[‘domain’]);
}
}
}
if (isset($cookieParams[‘domain’])) {
$cookieParams[‘domain’] = $cookie->getDomain();
}
call_user_func_array(‘session_set_cookie_params’, $cookieParams);
if (!empty($sessionName)) {
$this->setSessionName($sessionName);
} */