Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2020-06-07 17:22:29

chessmagic5
New member
Registered: 2020-05-09
Posts: 2

Error 500 on Subfolder Install

Hi,

I have just installed LHC as first try on a subfolder but browsing within the dashboard, some links, especially in the Settings pages, Im getting error 500.

Some links so far Ive tried are:

- System -> Live Helper Configuration -> Bot list

- System configuration -> Live help configuration -> Pro active chat invitations

Also, the floating button doesn't show on my website as well.

The embed code was already pasted on the footer section of the website.

My server is running on PHP 5.4 which is the minimum required.

Please help! ops

Offline

#2 2020-06-07 18:03:09

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,215
Website

Re: Error 500 on Subfolder Install

Offline

#3 2020-06-07 19:11:38

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,215
Website

Re: Error 500 on Subfolder Install

One more thing if you find type in original english text just create a pull request in github directly and I’ll update transifex part smile

Offline

#4 2020-06-08 02:58:48

chessmagic5
New member
Registered: 2020-05-09
Posts: 2

Re: Error 500 on Subfolder Install

Hello remdex,

Thank you for the response.

Although followed instruction from your given documentation page, the problems are still there.

Also, have observed that there is no cache/default.log that is created even debug was changed to true.

However, there is //lhc_web/error_log and have the following output (after clicking some links within the dashboard):

PHP Parse error:  syntax error, unexpected '[' in /home/user1/public_html/mywebsite.com/lhc_web/lib/core/lhchat/lhchatstatistic.php on line 2403
PHP Parse error:  syntax error, unexpected '[' in /home/user1/public_html/mywebsite.com/lhc_web/lib/core/lhabstract/fields/erlhabstractmodelautoresponder.php on line 117
PHP Parse error:  syntax error, unexpected '=', expecting ')' in /home/user1/public_html/mywebsite.com/lhc_web/lib/core/lhabstract/fields/erlhabstractmodeleproactivechatinvitation.php on line 162
PHP Fatal error:  Can't use function return value in write context in /home/user1/public_html/mywebsite.com/lhc_web/lib/core/lhchat/lhchatvalidator.php on line 801

My website is hosted on HostGator and I believe its on linux server.

Last edited by chessmagic5 (2020-06-08 02:59:47)

Offline

#5 2020-06-08 05:12:11

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,215
Website

Re: Error 500 on Subfolder Install

I'm afraid your php version is to old... I'll update requirement in documentation.

Offline

#6 2020-06-08 05:15:43

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,215
Website

Re: Error 500 on Subfolder Install

Tells that short array is supported in 5.4 so someone is lying...
https://befused.com/php/short-array

Offline

Board footer