Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
I have spent the good part of a day configuring CentOS 7 and livehelperchat with no luck.
(cache write permissions trying different permissions on the files and folders from different posts)
I wanted to see what other people were using for OS and for PHP and Apache versions.
Not sure if the issue i was encountering was OS Specific.
and 10 points to anyone who has a full guide including server setup and requirements.
I have successfully set up live helper chat in the past on Centos 6. That installation was not without its share of issues.
cheers
Glitch
Offline
Automated hosting I do is based on centos 7. Also demo is working on Centos 7
P.s Your post does not tell what exactly did not worked for you.
Offline
Hi Remi
did a fresh install of Centos 7
installed httpd, maria and php
tested the php with php.ini
restarted the httpd service
moved the files into /var/www/html/lhc_web
chown -Rf apache:apache cache/
chmod -R 777 cache/
and the other files respectively
The website showed the error page relating
Make sure that "cache/*" is writable and then try again
hope that gives more information
(virtual machine on Hyper-V 2012 R2)
Last edited by glitchlives (2014-10-30 06:21:18)
Offline
Not enough,
After this plain error should be detailed error printed below your line.
Offline
Exception Object
(
[message:protected] => Directory cache/cacheconfig/ not writable!
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/html/lhc_web/lib/core/lhtpl/tpl.php
[line:protected] => 15
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/html/lhc_web/lib/core/lhtpl/tpl.php
[line] => 99
[function] => __construct
[class] => erLhcoreClassCacheStorage
[type] => ->
[args] => Array
(
[0] => cache/cacheconfig/
)
)
[1] => Array
(
[file] => /var/www/html/lhc_web/modules/lhinstall/install.php
[line] => 26
[function] => erLhcoreClassTemplate
[class] => erLhcoreClassTemplate
[type] => ->
[args] => Array
(
[0] => lhinstall/install1.tpl.php
)
)
[2] => Array
(
[file] => /var/www/html/lhc_web/lib/core/lhcore/lhmodule.php
[line] => 89
[args] => Array
(
[0] => /var/www/html/lhc_web/modules/lhinstall/install.php
)
[function] => include
)
[3] => Array
(
[file] => /var/www/html/lhc_web/lib/core/lhcore/lhmodule.php
[line] => 421
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[4] => Array
(
[file] => /var/www/html/lhc_web/index.php
[line] => 23
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Offline
I ques you are giving either incorrect permissions, either incorrect www user.
[message:protected] => Directory cache/cacheconfig/ not writable!
If you don't know how to give permissions you can hire some admin
Offline
I checked the httpd user with grep and it was apache.
I also tried configuring the files and folders with WinSCP to confirm the correct user and permissions were being applied.
I will revisit my archives to see if i have any notes on my previous installation.
But thank you confirming that you use it on Centos 7 has given me cause to not give up just yet.
Offline
Does anyone see anything missing?
Offline
Perhaps it's se+linux policy which forbids writing files?
Offline
Remi
You were on the money I had big exclamations in my notes from last time. !!!Important don't forget SELinux!!!
I disabled it first to test (it worked)
then re-enabled it and applied the rule i needed.
thanks for your work on this software!
Offline