Magento Forgotpassword not working after update - php

I updated my webshop to 1.9.2.3. When I try to reset my password I do receive the email, but when I click the link to change my password I see a blank page.
I've looked this up on Google and changes customer_account_resetpassword to customer_account_changeforgotten. I changed it in all my customer.xml files just to be sure and I also cleared the cache, but without success.
I also noticed that the URL in the mail is: https://xxx.xx/customer/account/resetpassword/?id=976&token=b13713eb50b22b5a1320adbe08fdf08e but I get redirected to the page https://xxx.xx/customer/account/changeforgotten/
How do I fix this?

This was an issue that was created due to a recent patch that Magento released. They are now enforcing that forms with POST actions must submit the validation token. If you look at the link below, you will find the solution for this problem.
See - https://magentary.com/kb/reset-password-blank-page-after-supee-6788/
I hope this helps! I just recently had this issue myself.

Related

User registration form Wordpress shows Error: “NONCE ERROR,PLEASE RELOAD”

when my clients try to register on my site there is a "nonce error". I have checked this problem and most of them said it is a caching problem, I also tried to cancel the caching or deactivate the caching plugin, but it doesn't work.
They are happening lately in this one week before I never faced this problem.
I am using a WordPress website, using "USER Registration Form" for the registration, and "WP ROCKET" for caching. And I also have a Cloudflare account (I don't know if there is a problem with Cloudflare).
Try to refresh the login and registration page in WP admin.

Magento sessions being cached incorrectly

I have a Magento store running 1.9.1.0, it appears that user sessions are being stored incorrectly, because:
If user logs out of their account: on the home page, it's fine, but then if they go to a product they've already visited, they're logged back in automatically.
I believe this to be related to caching, and disabling Fishpigs Bolt seems to fix the issue, but this hasn't occurred on other stores I have with Bolt
How can I ensure that Magento sessions are not cached in such a way?
Although it looks like the user is logged in, it's highly likely that they aren't logged in and that it appears that way because incorrect content has been cached. This shouldn't happen and with the latest version of Bolt, does not happen.
My first suggestion would be to upgrade Bolt to the latest version, which is currently 2.2.0.4. After doing this, fully refresh your cache and see whether this fixes the issue.
If this doesn't help, please contact me directly (I'm the creator of Bolt) using this form and I'll help resolve the issue. After that I'll edit this post with the correct solution.
UPDATE/SOLUTION
This issue was caused because of an incorrect Varnish/Turpentine configuration that stripped the 'frontend' cookie from Magento. As a result the FPC was unable to determine whether the user was logged in or had items in their basket. Removing Varnish/Turpentine resolved the problem.
I believe this is issue regarding caching modules like FPC. You need to mention that phtml block inside header in dynamic blocks in backend so that it will not cache the html.
In your case, even when you log out, when you go back to the page, header is coming from caching layer which was cached when customer was logged in. Make this as a dynamic block which will always render this html from server

Problems logging into Magento Admin

Occasionally I run into a problem logging into the Magento admin panel. The username and password I enter is correct and the url in the browser window tells me that I have logged in correctly (ie: I see domain.com/index.php/admin/areallylongstring), however the login window is displayed again. No error message telling me that the log in details are incorrect is displayed, I am just routed back to the log in window. Has anyone come across this before and can anyone please suggest a solution?
Thanks!
Try start a private browser session and see if you can login, if so clear your cookies for the website and you should be able to login.
I occasionally get this problem, next time I get it I will dig into the code with my debugger to see what is actually going on.
This problem arises due to multiple reasons and the cheapest solution for this will be comment out the following lines in one of core files of magento.
FILE :- app/code/core/Mage/Core/Model/Session/Abstract/Varien.php.
// set session cookie params
session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath()//,
//dependes which versin of mage you are using, you may comment these as well
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);
Find out above code in that file and then comment out those three cookies as shown above.
But as I said it is the cheapest and easiest solution that you can go with. For more information, checkout this link

Facebook Connect blank page

I have a strange problem with Facebook Connect on one of my sites. It was working perfectly before this morning. I've checked all recent changes, and nothing seems to be related with this issue.
Note: I'm using FBML, and deleting cookies for my site and for Facebook with each test.
When I click the Facebook Connect Button, the login form appears correctly. The blank page occurs when Facebook checks the permissions at this URL:
https://www.facebook.com/dialog/permissions.request?[list of params...]
I have no Javascript errors, and no HTML is returned.
I tried to set the wanted permissions to perms="email" only, in case where the permissions changed in the pasts days, but I have the same problem.
Does anyone has a clue about this situation?
We were already scheduled to remove all FBML tags on this site, and replacing it with JS corrected the issue we had !
So the Facebook Connect using FBML seems no longer supported, even if it's supposed to be.

Installing Recaptcha in Joomla 1.5 user registration

I am trying to install ReCaptcha into the user registration of Joomla 1.5. This may just be an issue with Joomla but when i hit register nothing happens. I think it's doing some JavaScript form validation but there is nothing telling the user what went wrong. if, God forbid, they do fill out the form correctly Joomla will redirect the user to the homepage and give no notice of success.
Is this a Joomla issue or is there something wrong with my install? Does anyone know of a plug-in or module for Joomla that would make this easier?
Thanks in advance,
Samuel
UPDATE: Joomla does a lot of "stuff"/"something" to the $_POST and $_GET variables which was causing the reCaptcha to not function. This was for work which is past so I am not spending anymore time on it. Shameless Plug: use wordpress instead.
this can be closed as I don't have time to verify which answer works
Are you sure you tried all reCaptcha plugins for Joomla? There are plenty:
http://extensions.joomla.org/extensions/search/reCaptcha
Make sure your template contains the message tag to display messages to the user regarding successful or unsuccessful registrations (among other things!)
http://docs.joomla.org/Jdoc_statements
Are you sure that no error is displayed ? Iam using it with some php applications, the error is inside the "BOX".
Try the community builder component, module.
If by 'nothing happens' you mean the visitor stays on the registration page and doesn't advance, check the JavaScript error log for your browser and ensure that a fatal error isn't keeping the form from being submitted. If you mean that the page does advance and the result is a completely blank page, there may be a PHP error being encountered, and you have errors not being publicly displayed. Log into the hosting server and look at the PHP log to see if there's any fatal errors showing up.
I strongly recommend using mollom/moovum. It works with registration and the beautiful thing is that you don't have to hack any files while users will only notice your protection if there is doubt or spam.
Joomla does a lot of "stuff"/"something" to the $_POST and $_GET variables which was causing the reCaptcha to not function. This was for work which is past so I am not spending anymore time on it.
using wordpress from now on.

Categories