New install problem - unexpected '['

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
tamascsorgo
Posts: 2
Joined: Tue Jan 03, 2023 5:04 am

New install problem - unexpected '['

Post by tamascsorgo »

Script URL:
Version of script: 3.4.2
Hosting company: https://atw.hu/
What terms did you try when SEARCHING for a solution: unexpected '['

Write your message below:
new install immediately stopped with this message: Parse error: syntax error, unexpected '[' in /hesk/inc/common.inc.php on line 340

Thank you for your help in advance.
Kind regards,
Tamas
Last edited by tamascsorgo on Sat Feb 11, 2023 1:48 pm, edited 1 time in total.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: New install problem - unexpected '['

Post by Klemen »

This means you are running an old unsupported version of PHP on your server.

Hesk 3.4 requires at least PHP 5.6
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
tamascsorgo
Posts: 2
Joined: Tue Jan 03, 2023 5:04 am

Re: New install problem - unexpected '['

Post by tamascsorgo »

Thank you for your answer.
I thought that it can be a php version issue, but I hoped that it will work because on the sites they are written:
Hesk requires 5.3.0 > https://www.hesk.com/knowledgebase/index.php?article=32
while ATW.hu provides 5.6 or higher > https://atw.hu/atwiki/Milyen_PHP_verziokat_tamogatnak
Probably ATW.hu only provides this for paid users and for the free ones...
Thanks again
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: New install problem - unexpected '['

Post by Klemen »

It's an error in our article, sorry; the up-to-date system requirements are on the download page:
https://www.hesk.com/download.php

You can try using Hesk version 3.2.5 or older if you need PHP 5.3 support:
https://www.hesk.com/download-legacy.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
Post Reply