Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-07-28 20:34:54

testlast
Member
Registered: 2020-06-24
Posts: 17

cli installation

i have realised there is a cli folder in the lhc_web folder
can anyone give more explanations as how to run it or the use

Offline

#2 2020-07-29 04:14:55

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

Offline

#3 2020-07-29 13:21:50

testlast
Member
Registered: 2020-06-24
Posts: 17

Re: cli installation

livehelperchat[6]: Start installation
livechat        | PHP Notice:  Use of undefined constant INI_SCANNER_TYPED - assumed 'INI_SCANNER_TYPED' in /app/cli/lib/install.php on line 9
livechat        | PHP Warning:  parse_ini_file() expects parameter 3 to be long, string given in /app/cli/lib/install.php on line 9
livechat        | livehelperchat[6]: all settings :
livechat        | livehelperchat[6]: Evaluate cache if writable
livechat        | livehelperchat[6]: Evaluate cacheconfig if writable
livechat        | livehelperchat[6]: Evaluate compiledtemplates if writable     
livechat        | livehelperchat[6]: Evaluate translations if writable
livechat        | livehelperchat[6]: Evaluate userinfo if writable
livechat        | livehelperchat[6]: Evaluate settings if writable
livechat        | livehelperchat[6]: Evaluate var if writable
livechat        | livehelperchat[6]: Evaluate var/storage if writable
livechat        | livehelperchat[6]: Evaluate var/storageform if writable       
livechat        | livehelperchat[6]: Evaluate var/storagetheme if writable     
livechat        | livehelperchat[6]: Evaluate var/storageadmintheme if writable
livechat        | livehelperchat[6]: Evaluate var/tmpfiles if writable
livechat        | livehelperchat[6]: Evaluate var/userphoto if writable
livechat        | livehelperchat[6]: database :
livechat        | PHP Warning:  Invalid argument supplied for foreach() in /app/cli/lib/install.php on line 67
livechat        | livehelperchat[6]: ERROR: Please enter database name
livechat        |
livechat        | Warning: Invalid argument supplied for foreach() in /app/cli/lib/install.php on line 67
livechat        | livehelperchat[6]: Finish installation



I keep on getting this error

Offline

#4 2020-07-29 13:27:07

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

Offline

#5 2020-07-29 13:30:56

testlast
Member
Registered: 2020-06-24
Posts: 17

Re: cli installation

I have set a database name in the settings.ini

so i decided to log the database name and it was empty


are you saying the database name cannot be changed ...it permanently livehelperchat ?

Last edited by testlast (2020-07-29 13:32:34)

Offline

#6 2020-07-29 13:33:29

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

Re: cli installation

No,

Database can be any as you want. You have to change it in settings.ini file before running CLI command

Offline

#7 2020-07-29 13:49:09

testlast
Member
Registered: 2020-06-24
Posts: 17

Re: cli installation

Exactly i did that.
i changed it to a preferred name yet the error kept appearing

and i have another concern. how do i supply the extensions i have in the settings.ini file??

is it something like this
example : Extensions = [nodejshelper,amazons3]

Offline

#8 2020-07-29 17:22:14

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

Re: cli installation

It's like

[== Undefined ==]
Extensions = nodejshelper,someotherextension

Offline

Board footer