By Michael Squire on Tuesday, 12 June 2018
Posted in General Issues
Replies 10
Likes 0
Views 672
Votes 0
The rest password link send email but when clicking on the link it loads a white screen with a single line of text.

Please see attachment.

This seems to have started after last update.

Many thanks

Mike
Hi there,

Is it possible for you to provide us with your FTP access to your site to check on this issue? Please advice.
·
Tuesday, 12 June 2018 06:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, we have updated our initial enquiry.

Mike
·
Tuesday, 12 June 2018 19:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Michael,

I have tried to login to the cpanel with the provided login credentials but unfortunately they aren't working for me, http://take.ms/4PQAN

Can you please advise?
·
Tuesday, 12 June 2018 21:03
·
0 Likes
·
0 Votes
·
0 Comments
·
My apologies, please try the log in details now provided.

Thanks

Mike
·
Tuesday, 12 June 2018 23:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mike,

Thanks for fixing the cpanel access.

Regarding your issue, I not too sure if this issue is caused by the updates or not but that happen is, it seems like something is reseting the Joomla user state variable when EasySocial attempt to set / get from Joomla user state session which causing EasySocial not able to retrieve the correct data.

I've changed the way EasySocial store the session data and now the password reset link should work correctly. The same fix will be include into next release of EasySocial as well.

Can you give it a try again?

Hope this help and have a nice day
Sam
·
Wednesday, 13 June 2018 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mike,

I am sorry for the confusion.

After discussed with the team, look like we cannot push the fix into our core. If EasySocial cannot set the Joomla user state on your site, thats means Joomla's vanila password reset will fail too on your site. I will check further and see what causing the Joomla user state not working on your site.

By the way, can you tell me did you recently installed any extensions on your site other than upgrade EasySocial?

Please advise.
Sam
·
Wednesday, 13 June 2018 12:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thank you for the fix.

Our site does have some bespoke codes functions.

In terms of updates the only ones we have added or upated since the developers built the site are as follows;


Joomla core
Easysocial

We also added a component called GDPR

https://extensions.joomla.org/extension/gdpr/

One of these updates broke the way our site pulled user data. We then removed this component but it did not fix the site. Our developers then solved the issue. Which we believe was caused by the Joomla core update.

The last Joomla core update also stopped our site sending emails as it has changed our SMTP setting. This has also been fixed and on emails being sent again we identified this password issue.

Does that help?

Mike
·
Wednesday, 13 June 2018 13:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mike,

Just an update to this issue. I did a simple test on below code and it seems like Joomla always return me empty value.


$app = JFactory::getApplication();
// setting value
$app->setUserState('com_users.reset.token' , '1234567.hello');

// getting value
$token = $app->getUserState('com_users.reset.token' , null);

// output value
var_dump('here', $token);


The test above suppose to return me the value I've set but Joomla user state session always return me empty value instead.
I also check all your plugins but there is no plugins that messing up with the user state session. I am still at puzzled as why this is happening only on your site.

Can you tell me if your Joomla upgrade encountered any issues previously?
I suspect some of your Joomla files is not being updated during your Joomla upgrade. But again, I am just in a wild guest.

Please advise.
Sam
·
Wednesday, 13 June 2018 14:02
·
0 Likes
·
0 Votes
·
0 Comments
·
The only other issue the last update seemed to cause was that of changing our sites email settings.

It took us a few days to work out what was causing it. Once fixed we then found this issue so it may have been caused during the last Joomla update.

The issue we had with the previous update affected our site by not showing the users purchases from the Digicom component. This has had a lot of custom work as well as a page which is created by pulling the users purchases (challenges) and displaying on a custom page. This is created by the user ID. when the user wants to load their challenges on this page , the website code is looking for a userID in a javascript cookie. This has been fixed but not sure if this could be causing this issue from what you are saying.

This is above my knowledge and skill set.

Mike
·
Wednesday, 13 June 2018 14:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mike,

Thank you for the heads up.

To be frank with you, I still cannot figure out what causing that Joomla user state session not working on your site. I actually tested Joomla's core password reset from your site and it did not work as well due to the user state session issue.

I think what you can do now is to setup a test site on your server and install a fresh Joomla 3.8.8 and then install EasySocial latest version and check if the Joomla user state session working correctly or not in your test site. If the test site is working, thats mean your live site the Joomla is still broken somewhere.

Please advise.
Sam
·
Wednesday, 13 June 2018 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post