HESK can't start new Session

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Kilian_TravelRadar
Posts: 4
Joined: Tue Jun 15, 2021 2:23 pm

HESK can't start new Session

Post by Kilian_TravelRadar »

Script URL: it.travelradar.aero
Version of script: 3.2.2
Hosting company: Travel Radar
URL of phpinfo.php: N/A
URL of session_test.php: ERROR: cannot start a PHP session
What terms did you try when SEARCHING for a solution: Fresh installation for HESK and still receiving same issues.

Write your message below:

Hi, I have been a couple of days me and my company having issues with the HESK script. After MySQL service was down when we restarted every kind of path related to our IT HelpDesk domain is requesting for new session PHP path. I wanted if anyone of you can help us to resolve this issue. Thanks.

Error logged: Error
Can't start a new session! Please notify webmaster at ****@***
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK can't start new Session

Post by Klemen »

This is usually a problem with PHP configuration.

What does the PHP session test file say? You will find it here under b)
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
Kilian_TravelRadar
Posts: 4
Joined: Tue Jun 15, 2021 2:23 pm

Re: HESK can't start new Session

Post by Kilian_TravelRadar »

Hi when I run session_test.php it is showing me this:

ERROR: cannot start a PHP session

Not much information I will try with phpinfo.php and check actually the current php file if matches with the server config. Thanks.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK can't start new Session

Post by Klemen »

That simply means PHP sessions do not work on your server, it is not a Hesk-specific error.

Something you will need to fix with your host (or server administrator). For example, make sure the session.save_path setting in your php.ini is correct and that folder writable by PHP.
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
Kilian_TravelRadar
Posts: 4
Joined: Tue Jun 15, 2021 2:23 pm

Re: HESK can't start new Session

Post by Kilian_TravelRadar »

Hi I can see the session.save_path in my php.ini is set by default in my debian server, but when I run the script phpinfo.php I can see different path sessions to save. Do you have any idea how can I change the path from my HESK_path what file or folder I should looking at? :shock:
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK can't start new Session

Post by Klemen »

In phpinfo you should see "Loaded Configuration File", "Scan this dir for additional .ini files" and "Additional .ini files parsed"

That should give you a clue what ini files you need to change.
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
Kilian_TravelRadar
Posts: 4
Joined: Tue Jun 15, 2021 2:23 pm

Re: HESK can't start new Session

Post by Kilian_TravelRadar »

Hi,

https://it.travelradar.aero/session_test.php

http://it.travelradar.aero/phpinfo.php

if you scroll down to session.save_path you will see a different URL. When I am going to /etc/php/7.4/cgi/php.ini is setting up as default in /var/lib/php/sessions .... Any tip on what it could be?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK can't start new Session

Post by Klemen »

Your session save path is /var/www/clients/client4/web13/tmp

Make sure this folder exists and is writable by PHP.

If not, talk to your web host, this is not something I can troubleshoot for you I'm afraid.
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