Mautic Community Forums

Password reset not working

Hey guys,



I’m trying to log in to my mautic account on http://mautic.soetkees.nl/s/login



As you can see there’s something not right with the language strings. I haven’t got a clue how this happens.



The problem is that when I request a password reset the email body just says “mautic.user.user.passwordreset.body”, just another language string. No reset options.



Is there another option to recover my installation? Or reinstall Mautic without losing my data?

Hey guys,

I’m trying to log in to my mautic account on http://mautic.soetkees.nl/s/login

As you can see there’s something not right with the language strings. I haven’t got a clue how this happens.

The problem is that when I request a password reset the email body just says “mautic.user.user.passwordreset.body”, just another language string. No reset options.

Is there another option to recover my installation? Or reinstall Mautic without losing my data?

Hi Menolo

Wow that is strange. Did you try to upgrade mautic at some point?

It definitely looks like there’s some code missing - mostly language files, but if language files are missing its likely other stuff may be as well. I would try to reupload mautic to your server and overwrite all the existing files.

You can do this without damaging your data or your database, and it shouldn’t even touch your configuration file. You may need to clear cache afterwords though. To do that you’ll want to delete the files under app/cache.

Thanks Chad. Uploading all files at the moment. You say the config is not going to be touched, what config file are we talking about? It seems that app/config/config.php exists in the clean mautic zip as well.

Im skipping the config folder for now just to be sure. Everything else is uploading. Let’s see if this works :slight_smile:

Weird. I’ve overwritten all files, cleaned out the cache folder but the issue is still present.

Would reinstalling mautic and afterwards restoring the current database help?

Hi Menolo

The main config for mautic is stored in local.php which shouldn’t be in the distribution.

Maybe try changing the language? Try setting it to spanish and then logging out / back in, see if that works, and if so try back to English? I’ll also ask around and see if anyone else has any ideas about this.

Thanks Chad,

I’ve overwritten the config files as well. No such luck. I’ve edited local.php and set the locale to ‘es’. I take it that’s the language setting.

The name is Wim btw :slight_smile: Can’t seem to use my name instead of my username on this forum.

The other thing, and I don’t know if it’s related, I can’t seem to log on. I’m pretty sure the password is correct. I could try to change it in the database. What encryption should I use when setting a new password in the database?

Hmm try this:

https://gist.github.com/drmmr763/78b501eb4e385e8b087a

Credentials: madmin / madmin

Or you can just copy the password string.

used bcrypt to generate a new password. I can login again.

The rest of the Mautic environment works fine. It seems to be only the login form.

[quote=951:chad.windnagle]Hmm try this:

https://gist.github.com/drmmr763/78b501eb4e385e8b087a

Credentials: madmin / madmin[/quote]

Thanks Chad, I’m in :slight_smile:

Please clear your cookies and this will resolve your problem.

[quote=951:@chad.windnagle]Hmm try this:

https://gist.github.com/drmmr763/78b501eb4e385e8b087a

Credentials: madmin / madmin[/quote]
I have the same problem. I can not login. What to do with this code?
Thanks