Problems with legacy update

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
adildev89
Posts: 7
Joined: Wed Apr 17, 2024 10:47 am

Problems with legacy update

Post by adildev89 »

Hi, we have Hesk 2.7.2 installed and I tried to update my PHP version to 8.3.6. After updating, Help Desk stopped working. I had to rollback to PHP version 7.4.33. Which Hesk version supports 8.3.6 ? What version of PHP is supported for the current version I'm on 2.7.2 ? Any other suggestions or problems I should look at or advice is welcome.


Please Help
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with legacy update

Post by Klemen »

You are using an old version with several known vulnerabilities.

I can only recommend two ways forward:

1. the best option is to upgrade to the latest Hesk version (currently 3.4.5)

2. at minimum, you should update to version 2.8.10 (Hesk Legacy Downloads), but it hasn't been tested on PHP 8.3 (works fine on PHP 8.1).
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
adildev89
Posts: 7
Joined: Wed Apr 17, 2024 10:47 am

Re: Problems with legacy update

Post by adildev89 »

Thank you so much for your promt reply and informative response. Would Hesk 3.4.5 work with PHP 8.3?


Kind regards

Adil
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with legacy update

Post by Klemen »

Yes, 3.4.5 is compatible with PHP 8.3.x

Just don't be surprised; the user interface has changed since Hesk 2 - see online demo.
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
adildev89
Posts: 7
Joined: Wed Apr 17, 2024 10:47 am

Re: Problems with legacy update

Post by adildev89 »

That's great, beacuse I was updating from PHP 7.4.3 to PHP 8.3 on our website and it worked but when I went to the helpdesk section of our website nothing showed up. Unfortuantley I am working with a Windows Server so everything has to be done manually and prepared in advance. I think I will be folloowing this link: https://www.hesk.com/demo/docs/step-by-step-guide.html under section upgrade from old and make sure I don't replace these: - hesk_settings.inc.php
- head.txt
- header.txt
- footer.txt

What do you think?
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with legacy update

Post by Klemen »

Some functions used in 2.7.3 have been removed in later versions of PHP, hence the errors/empty screen.

That is indeed the correct guide to follow for upgrading. Don't forget to backup everything before starting.
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
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with legacy update

Post by Klemen »

Did you run the update/install script?

if yes, after the script finishes, you need to delete the "install" folder from your help desk folder.
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
adildev89
Posts: 7
Joined: Wed Apr 17, 2024 10:47 am

Re: Problems with legacy update

Post by adildev89 »

Hey,

Yes I ran the update script and realised the install directory was in the actuall upload directory so I deleted it. Everything is working. Thank you. One question, when I or my colleagues log in the resolution of the main dashboard is bigger than the display used to log in. Do you know why this is?
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with legacy update

Post by Klemen »

Not sure what you mean, can you provide a screenshot?
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
adildev89
Posts: 7
Joined: Wed Apr 17, 2024 10:47 am

Re: Problems with legacy update

Post by adildev89 »

Hi the success of the update has been great but when I look at old tickets with images I ge the following error: "Error
This file has been deleted from the server and is no longer available for download"
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Problems with legacy update

Post by Klemen »

This can mean a few things:
1. the attached file has been deleted from the server
2. PHP doesn't have read access to the file
3. file is located somewhere else (maybe you renamed the "attachments" folder, but the name in Hesk settings doesn't match?)
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
adildev89
Posts: 7
Joined: Wed Apr 17, 2024 10:47 am

Re: Problems with legacy update

Post by adildev89 »

Hey Klemen,

I figured it out yesterday, I needed to add my old attachments to the new directory.



Thank you


Kind regards
Post Reply