No login after upgrade to 3.4.0

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
datathomas
Posts: 4
Joined: Sun Oct 02, 2022 6:47 am

No login after upgrade to 3.4.0

Post by datathomas »

Script URL: lhevsupport.com/support
Version of script: 3.4.1
Hosting company: Manufactory
URL of phpinfo.php: None
URL of session_test.php: lhevsupport.com/support
What terms did you try when SEARCHING for a solution:
Tried the reset_password.php but no success

Write your message below:
Can not login after upgrading to 3.4.1
None of the accounts have no longer a valid password
The Administrator after running reset_password.php gives a blank page first time.
Second try gives invalid password
Klemen
Site Admin
Posts: 10162
Joined: Fri Feb 11, 2005 4:04 pm

Re: No login after upgrade to 3.4.0

Post by Klemen »

The "rest_password" script is compatible with Hesk 3.4.1 - just tested and I was able to reset the password.

Try this instead:
1. download and install Notepad++
2. download file hesk_settings.inc.php from your server
3. open hesk_settings.inc.php in Notepad++
4. find

Code: Select all

$hesk_settings['reset_pass']=0;
and change it to

Code: Select all

$hesk_settings['reset_pass']=1;
5. save and upload the hesk_settings.inc.php back to your server
6. go to admin page and click the "Forgot your password?" link
7. enter your email address and a password reset link will be emailed to you
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
datathomas
Posts: 4
Joined: Sun Oct 02, 2022 6:47 am

Re: No login after upgrade to 3.4.0

Post by datathomas »

Hello Klemen
Thank you for the prompt reply.
I can now see the "Forgot password" link and can send a request for reset.
However. I never receive any mail with the link.
Is the SMTP password in the hesk_settings.php encrypted?
If not I can change it for this account and also in the php file as it might be a password problem for the SMTP server that denies Hesk to send the link

Kind regards
/thomas
Klemen
Site Admin
Posts: 10162
Joined: Fri Feb 11, 2005 4:04 pm

Re: No login after upgrade to 3.4.0

Post by Klemen »

You can try that, but I don't recommend manually changing the settings file unless you know what you are doing. And make backups of the file before making any changes.

I'm not sure what version you upgraded from, but I would ensure you have all the correct 3.4.1 files; download the full 3.4.1 file and upload all the original files and folders again, except for the hesk_settings.inc.php

Then, I would turn on debug mode by changing

Code: Select all

$hesk_settings['debug_mode']=0;
to

Code: Select all

$hesk_settings['debug_mode']=1;
in the settings file, and run the password reset script again.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
datathomas
Posts: 4
Joined: Sun Oct 02, 2022 6:47 am

Re: No login after upgrade to 3.4.0

Post by datathomas »

Hello again Klemen
Made the change and it is now working.
Can I keep the debug setting?
I have changes the admin password and all seems to be OK.
Thank you very much
Kind regards
/thomas
Klemen
Site Admin
Posts: 10162
Joined: Fri Feb 11, 2005 4:04 pm

Re: No login after upgrade to 3.4.0

Post by Klemen »

You should turn debug mode off in Admin > Settings > Help desk > look under "Features"
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
datathomas
Posts: 4
Joined: Sun Oct 02, 2022 6:47 am

Re: No login after upgrade to 3.4.0

Post by datathomas »

Thank you very much.
I am sorry but I do not have the options to donate at this moment. Working on it
Kind regards
/thomas
Klemen
Site Admin
Posts: 10162
Joined: Fri Feb 11, 2005 4:04 pm

Re: No login after upgrade to 3.4.0

Post by Klemen »

Don't worry; donations are completely optional and in no way required.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply