Page 1 of 1

help desk login

Posted: Mon Feb 22, 2021 1:29 pm
by nickko
Script URL:
Version of script: 3.2.1
Hosting company: own OVH server

URL of session_test.php:
What terms did you try when SEARCHING for a solution: help desk login

Write your message below:

Hello,
i just download and install help desk but i can't login in admin panel, nothing happend...

i reset admin password, ok i can log but when i close browser and open it again on login page, i can't log anymore, it need to reset password on each login :s

i installed session_test.php and have "OK: PHP sessions work fine".

Can you help me ?
Thanks
Didier

Re: help desk login

Posted: Mon Feb 22, 2021 5:02 pm
by Klemen
Not sure what is happening. Have you manually modified any files (even opening one and saving without making changes can sometimes cause this)?

What happens if you:
- download hesk_settings.inc.php from your server
- open it in Notepad++
- find

Code: Select all

$hesk_settings['debug_mode']=0;
and set it to

Code: Select all

$hesk_settings['debug_mode']=1;
- upload to the server
- test

Do you get any additional error messages?

Re: help desk login

Posted: Mon Feb 22, 2021 5:51 pm
by nickko
Thanks for your answer.

i just upload and install your package, no file have been modify.

So i have debug_mode to 1
but nothing else, no error msg, login have no effect :(

i need reset password each time to login correctly.
i check cookie i have 1 name HESK8812a4b574f58079526b805a063e4c15cceb5f74
the desk use session and cookie ?

Re: help desk login

Posted: Mon Feb 22, 2021 6:42 pm
by Klemen
Are you able to give me FTP access to your server to run some tests? I would need access to your Hesk folder only, nowhere else.

If yes, please send me login details in a private message.

Re: help desk login

Posted: Mon Feb 22, 2021 7:07 pm
by nickko
i sent you PM with an ftp access

Thank you for your great support

Re: help desk login

Posted: Mon Feb 22, 2021 7:55 pm
by Klemen
Hi, I found the issue :)

You have a .htaccess with some mod_rewrite rules in your website, in a folder parent to your Hesk folder. Your mod rewrite rules were preventing the admin index page to properly post data (all requests were rewritten as HTTP GET).

I fixed the issue by turning mod_rewrite off for the Hesk folder by placing a .htaccess file inside it with this content:

Code: Select all

<IfModule mod_rewrite.c>
#Disable rewriting
RewriteEngine Off
</IfModule>
This should prevent mod_rewrite from interfering with Hesk operations.

Re: help desk login

Posted: Mon Feb 22, 2021 8:13 pm
by nickko
Whaouuu ! Great job ! :)))
Many thanks for your fast and great support !

And your software is really great, it's not a gas factory with unnecessary functions, everything is well thought out, simple and efficient! bravo :) I'm buying!