- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problems after updateing to 1.9.2.1
Hey there,
after updateing to 1.9.2.1 I neither can access the admin panel nor display detail pages.
For the admin panel I get the following PHP Error:
Fatal error: Call to undefined method Mage_Core_Controller_Request_Http::getInternallyForwarded() in /usr/www/users/gnomshy/app/code/core/Mage/Admin/Model/Observer.php on line 76
My .../Controller/Request/Http.php file looks like this and contains the getInternallyForwarded method (Line: 570):
http://nopaste.euirc.net/index.php?id=68f64f33c5
So far i have tried to clear the cache and deactivate compiler, none of the mentioned helped me with my problem.
When trying to access a detail page i get following Error:
Invalid method Mage_Tag_Block_Product_List::_isSecure(Array( ))
which is probably caused by:
/usr/www/users/gnomshy/app/design/frontend/base/default/template/tag/list.phtml(39): Mage_Tag_Block_Product_List->getFormAction()
As I had no clue how to fix this i concentrated on the admin panel so far.
Does anyone know a solution for my problems?
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Problems after updateing to 1.9.2.1
Hello @mo2l
The
_isSecure
call was introduced in Magento CE 1.9.2.0.
Manually remove all the cache and session from the var folder to remove the admin problem.
To resolve the detail page problem, follow below steps.
As per your comment you updated the base theme but not the core files. This leads to a version mismatch (template files access block methods).
Please check Mage_Core_Block_Abstract and view.phtml file.
If you still facing the problem then just do small change in view.phtml file.
replace form tag
<form action="<?php echo $this->getSubmitUrl($_product, array('_secure' => $this->_isSecure())) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
with
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
Thanks
200+ Magento 2 Extensions for Enhanced Shopping Experience.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Problems after updateing to 1.9.2.1
Hey @Sanjay Jethva,
thank you for your input.
So far i have tried followign things:
- manually clear var/cache
- manually clear var/session
- checked if a OPCODE caching is active (none is active)
- I have replaced Mage_Core_Block_Abstract and view.phtml
- I have replaced the form line in view.phtml like mentioned by you above
- cleared browser cache
after all of that both problems are still existent. I don't have any idea what it could be anymore and to be honest this behavior seems to be weird.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Problems after updateing to 1.9.2.1
Hello @mo2l
Please share your website url to check.
200+ Magento 2 Extensions for Enhanced Shopping Experience.