I use to have version 1.7. Then I have updated it with version 1.9.1( full release) from admin panel. After few tweaks the website was live again. But now i have issue of loging and payment system not working both paypal and sagepay.
After reading somewhere then i downloaded and reinstalled this version again manually by using ftp but both errors below still same
I m new to magento and this site is done by other company before. I got two major issue at the minute
1) Everytime i login it goes to login page without any error message on the page.
2) every time i try to place an order (step 6 of payment) it stucks on /checkout/onepage/ and it shows not error message at all but just stays on same page /checkout/onepage/.
Can anyone have an idea whats going wrong. Realy stuck from yesterday. Thanks
That's because version 1.7.x didn't have form keys yet. In Magento 1.9.x, they added form keys to (almost) every frontend form there is. I think you're using a custom theme for your webshop, so you'll need to manually add the form keys to your own design.
The forms I know that have form keys are:
Maybe there are more, because of extensions you installed, but it's easy to find which template files need to be altered. Just check your installation for the text "$this->getBlockHtml('formkey')". That's the block that's used to implement the form key.
thanks . i am going to apply these changes and will post here the result.
cheers mate.
I m trying to change them in app/design/frontend/base/default/template/catalog/product/view.phtml but there is line like this, do i have to change it, can u please have a look at it, thanks
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
<?php echo $this->getBlockHtml('formkey') ?>
wht shall i add here or leave it like that.
Thanks for the reply. I changed almost all the files you mentioned above and some more login files because there are so many on other folders. So login works fine now.
Also update cart was not working and i made some change in one update file and it worked fine too.
But problem now is payment,
whenever i click Place Order , it stays on same page. any idea, i am realy stuck. thanks
Did you solve this last problem? We are having the same problem (mostly only with Safari on iOS/ MacOS) and can't solve it.