You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You can download version with dependencies included https://github.com/LiveHelperChat/livehelperchat/releases look for newest file name`*.**v-with-dependencies.tgz`
18
-
* Minimum PHP 8.2. If you will want older php version support you will have to install composer dependencies yourself.
19
-
*Mysql 5.7 >= OR MariaDB 10.2.3 >= with `json_` functions support.
20
-
* Apache/Nginx
21
-
* For the Laravel version, please visit https://github.com/LiveHelperChat/livehelperchat_laravel
16
+
* Download [zip](https://github.com/LiveHelperChat/livehelperchat/archive/refs/heads/master.zip) or [tgz](https://github.com/LiveHelperChat/livehelperchat/tarball/master).
17
+
* You can download a version with dependencies included from https://github.com/LiveHelperChat/livehelperchat/releases. Look for the newest file named`*.**v-with-dependencies.tgz`.
18
+
* Minimum PHP version 8.2 is required. If you need support for an older PHP version, you will have to install composer dependencies yourself.
19
+
*MySQL 5.7 or MariaDB 10.2.3 or higher with `json_` functions support.
20
+
* Apache or Nginx.
21
+
* For the Laravel version, please visit https://github.com/LiveHelperChat/livehelperchat_laravel.
22
22
23
23
```
24
-
# Optional but recommended
24
+
# Optional but Recommended
25
25
php-phpiredis
26
26
php-imap
27
27
php-pecl-redis4
@@ -44,32 +44,32 @@ php
44
44
php-bcmath
45
45
```
46
46
47
-
## Composer dependencies
47
+
## Composer Dependencies
48
48
49
49
It's not required if you have downloaded a version with dependencies included.
50
50
51
-
If you are using a new Version with Mails support or any newer version from 3.30v. You have to run from `lhc_web` folder.
51
+
If you are using a new version with mail support or any newer version from 3.30v, you have to run from the`lhc_web` folder.
52
52
53
53
```
54
54
composer.phar install
55
55
```
56
56
57
-
If you are getting some like an incompatible php version. You can try to remove composer.lock file and then install
57
+
If you encounter an issue like an incompatible PHP version, try removing the `composer.lock` file and then install again.
58
58
59
59
```
60
60
rm composer.lock
61
61
composer.phar install
62
62
```
63
63
64
-
`composer.phar`you can download from https://getcomposer.org/download/
64
+
You can download `composer.phar` from https://getcomposer.org/download/.
65
65
66
-
## Folders permissions
66
+
## Folder Permissions
67
67
68
-
* After granting permission to write to the cache folder, you should see the following window. If you encounter a strange error instead of the installation page, please ensure that:
69
-
* Your browser is pointing to the correct URL: index.php/site_admin/install/install.
68
+
* After granting permission to write to the cache folder, you should see the following window. If you encounter an unexpected error instead of the installation page, please ensure that:
69
+
* Your browser is pointing to the correct URL: `index.php/site_admin/install/install`.
70
70
* You have given recursive write permission to the cache folder.
71
71
72
-
Try changing the owner to the Apache user or the user under which your HTTP server is running.
72
+
Try changing the owner to the Apache user or the user under which your HTTP server operates.
73
73
74
74
```shell script
75
75
chown apache:apache -R cache/
@@ -100,48 +100,48 @@ chmod -R 755 var/tmpfiles
100
100
101
101
After that, all items should be green.
102
102
103
-
## Database settings
103
+
## Database Settings
104
104
105
-
On the next screen, you should see a similar window. The database has to be precreated.
105
+
On the next screen, you should see a similar window. The database must be pre-created.
106
106
107
107

108
108
109
-
## Application initial settings
109
+
## Application Initial Settings
110
110
111
-
You can fill up these settings according to your needs.
111
+
You can fill in these settings according to your needs.
112
112
113
113

114
114
115
-
## Install completed
115
+
## Installation Completed
116
116
117
117

118
118
119
-
## Installing composer dependencies for third party extensions, AWS translations
119
+
## Installing Composer Dependencies for Third-Party Extensions and AWS Translations
120
120
121
-
From `lhc_web` folder run.
121
+
From the `lhc_web` folder, run:
122
122
123
123
> `composer install`
124
124
125
-
Uncomment those two lines by removing dashes `lhc_web/index.php` and `lhc_web/cron.php`.
125
+
Uncomment these two lines by removing the dashes in`lhc_web/index.php` and `lhc_web/cron.php`.
After clicking `Login here` you should be presented with a login window.
132
+
After clicking `Login here`, you should be presented with a login window.
133
133
134
134

135
135
136
-
Install url is always `index.php/site_admin/user/login`
136
+
The install URL is always `index.php/site_admin/user/login`.
137
137
138
-
## Dashboard page
138
+
## Dashboard Page
139
139
140
140
This is the main application window.
141
141
142
142

143
143
144
-
## Generating embed code
144
+
## Generating Embed Code
145
145
146
146
Now, click on the settings icon  on the top menu. You should see this window.
147
147
@@ -172,18 +172,18 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po
172
172
173
173
For more information and troubleshooting, please see the [integration article](integrating.md).
174
174
175
-
## Proactive invitation setup
175
+
## Proactive Invitation Setup
176
176
177
177
Navigate to:
178
178
179
-
> System configuration -> Live help configuration -> Pro active chat invitations
179
+
> System configuration -> Live help configuration -> Proactive chat invitations
180
180
181
181
Here is a demo configuration that we have on demo.livehelperchat.com. It includes the following settings:
182
182
183
183
* A message is sent to the user after they spend 20 seconds on the page or have more than 2 pageviews.
184
184
* A random profile from online operators is shown.
185
185
* There are also delayed messages available. Delayed messages can be configured in the autoresponder section.
186
-
* Additionally, there is a long autodelayed message set for 40 seconds. If no one accepts the chat during that period, a message is displayed indicating that all operators are busy.
186
+
* Additionally, there is a long auto-delayed message set for 40 seconds. If no one accepts the chat during that period, a message is displayed indicating that all operators are busy.
187
187
188
188
You can see the proactive invitation setup on our demo installation.
189
189
@@ -196,11 +196,11 @@ Here is the automatic auto-response message.
196
196
197
197

198
198
199
-
## Desktop client
199
+
## Desktop Client
200
200
201
-
Desktop application can be found at https://github.com/LiveHelperChat/electron It is based on electron framework and acts as a standalone browser and is much faster than chrome.
201
+
The desktop application can be found at https://github.com/LiveHelperChat/electron. It is based on the Electron framework, acts as a standalone browser, and is much faster than Chrome.
202
202
203
-
## Further reading
203
+
## Further Reading
204
204
205
205
*[How to remove index.php from URL?](development/remove-index-php.md)
206
206
*[Wondering how to set up automatic online/work hours?](online-hours.md)
@@ -210,29 +210,29 @@ Desktop application can be found at https://github.com/LiveHelperChat/electron I
210
210
* Try the [Windows app](https://livehelperchat.com/demo-12c.html) or the [Chrome extension](https://livehelperchat.com/how-to-use-chrome-extension-245a.html)
211
211
*[My users lose chat sessions when they navigate through the site, resulting in duplicate online user records](online-visitors.md#my-users-loose-chat-session-then-they-navigate-through-the-site-duplicate-online-users-records)
212
212
213
-
## On windows IIS I get 404 error?
213
+
## On Windows IIS I Get 404 Error?
214
214
215
-
Please refer to this comment. It might happen because of to many URL segments.
215
+
Please refer to this comment. It might occur due to too many URL segments.
Try adding this to your `.htaccess`ile in the root folder `lhc_web`. If this folder does not exist, just place the `.htaccess` file in the same folder where the `index.php` file exists. It has to be placed in the Live Helper Chat folder, not the website.
235
+
Try adding this to your `.htaccess`file in the root folder `lhc_web`. If this folder does not exist, place the `.htaccess` file in the same folder where the `index.php` file exists. It must be placed in the Live Helper Chat folder, not the website.
* You have changed `Chat configuration -> Misc -> Domains where script can be embedded. E.g example.com, google.com`, but the embedded script is not listed in the domain.
262
262
* You have enabled `System configuration -> GEO Adjustment`, but you have provided invalid data.
263
-
* You have blocked yourself via `System configuration -> Live help configuration -> Blocking -> Blocked users`
263
+
* You have blocked yourself via `System configuration -> Live help configuration -> Blocking -> Blocked users`.
264
+
265
+
## What If You Have to Limit the Widget to a Few Domains and Subdomains?
264
266
265
-
## What if you have to limitate the widget to few domain and subdomain?
It is also possible to install from the command line.
278
279
279
-
Copy the `install-cli.php` script to the root folder (`lhc_web` if you pulled from github)
280
+
Copy the `install-cli.php` script to the root folder (`lhc_web` if you pulled from GitHub).
280
281
281
282
```shell script
282
283
cp cli/install-cli.php install-cli.php
283
284
```
284
285
285
286
Copy the default `example.settings.ini` to `settings.ini`. Don't forget to modify them.
287
+
286
288
```shell script
287
289
cp cli/example.settings.ini cli/settings.ini
288
290
```
289
291
290
-
Install Live Helper Chat
292
+
Install Live Helper Chat.
293
+
291
294
```shell script
292
295
php install-cli.php cli/settings.ini
293
296
```
294
297
295
-
## Installation under a subfolder
298
+
## Installation Under a Subfolder
296
299
297
-
If you are running a WordPress site and have nice URLs, you might need to allow access to the Live Helper Chat subfolder. Your `.htacess` file could look like this:
300
+
If you are running a WordPress site and have nice URLs, you might need to allow access to the Live Helper Chat subfolder. Your `.htaccess` file could look like this:
If you experience logouts after some time being inactive. It can be that your main website uses same php session cookie name. You can change it in the settings file. Change in main settings [file](https://github.com/LiveHelperChat/livehelperchat/blob/da2815e5e5715594ef819a21da211d086061b58a/lhc_web/settings/settings.ini.default.php#L23)`php_session_cookie_name` to something like `lhc_session_id`
309
+
If you experience logouts after being inactive for some time, it might be because your main website uses the same PHP session cookie name. You can change it in the settings file. Change `php_session_cookie_name` in the main settings [file](https://github.com/LiveHelperChat/livehelperchat/blob/da2815e5e5715594ef819a21da211d086061b58a/lhc_web/settings/settings.ini.default.php#L23) to something like `lhc_session_id`.
310
+
311
+
## How to Log In?
307
312
308
-
## How to log in?
309
313
To log in, point your browser to the directory where the application is installed. The URL address should look like: http://<your_domain>/index.php/site_admin/
310
314
311
-
If for some reason, you forgot password and password reminder does not work for you. You can execute this query. It will set `admin` (user_id 1) password to `demo`
315
+
If for some reason, you forgot your password and the password reminder does not work for you, you can execute this query. It will set the password for `admin` (user_id 1) to `demo`.
If you modified roles/groups/functions and you can't access the application, you can execute this query. It will set `admin` (user_id 1) to have all functions.
318
322
319
-
Error you might be getting is
323
+
Error you might be getting is:
320
324
321
325
```
322
-
You do not have permission to access the module "front" and use "use" function
326
+
You do not have permission to access the module "front" and use "use" function.
323
327
```
324
328
325
-
Execute those queries. They will restore admin group/role and permissions for very first user in users list.
329
+
Execute these queries. They will restore the admin group/role and permissions for the very first user in the users list.
0 commit comments