I installed everthing on magento correctly and when i went to the admin this error came up.
Fatal error: Call to undefined function apache_request_headers() in /html/shop4/app/code/core/Mage/Admin/Model/Observer.php on line 70 ......the store front works.
from observer.php
if (!$request->getParam(’forwarded’)) {
foreach (apache_request_headers() as $k=>$v) {
if (strtolower($k)===’x-requested-with’ && strtolower($v)===’xmlhttprequest’) {
header(’HTTP/1.1 403 Session Expired’);
header(’Login-Required: true’);
exit;
}
}
$request->setParam(’forwarded’, true)
->setControllerName(’index’)
->setActionName(’login’)
->setDispatched(false);