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

You are not logged in.

Announcement

#1 2015-04-21 02:25:20

srpompon
Member
Registered: 2015-04-21
Posts: 2

cron.php error

Hi!

my testing setup in a manual installed Centos work fine, but in my production server, a centos+cloudlinux cpanel w php 5.5 i got this error when run the cron

same error using php 5.3 5.4 5.6

*** [~]#  /usr/bin/php /home/soportezzzzz/public_html/cron.php -s site_admin -c cron/workflow
X-Powered-By: PHP/5.5.18
Content-type: text/html

<br />
<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'Setting with section {site_access_options} value {}' in /home/soportezzzz/public_html/lib/core/lhconfig/lhconfig.php:23
Stack trace:
#0 /home/soportezzzzz/public_html/cron.php(83): erConfigClassLhConfig-&gt;getSetting('site_access_opt...', false)
#1 {main}
  thrown in <b>/home/soportezzzzz/public_html/lib/core/lhconfig/lhconfig.php</b> on line <b>23</b><br />



i check the issue #225 in github https://github.com/LiveHelperChat/liveh … issues/225 but dont find any solution, the config is the same in the two servers and in the manual installed the cron work fine.

thanks!

Pompon

Offline

#2 2015-04-21 04:57:51

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

Re: cron.php error

Sorry, but once again all works here.... "site_access_options" this variable has to exists in your settings/settings.ini.php file

Offline

#3 2015-04-21 14:03:55

srpompon
Member
Registered: 2015-04-21
Posts: 2

Re: cron.php error

thanks for the reply, i have this in both servers:

'site_access_options' =>
    array (
      'eng' =>
      array (
        'locale' => 'en_EN',
        'content_language' => 'en',
        'dir_language' => 'ltr',
        'default_url' =>
        array (
          'module' => 'chat',
          'view' => 'startchat',
        ),
        'theme' =>
        array (
          0 => 'customtheme',
          1 => 'defaulttheme',
        ),
      ),


but in the cpanel one dont work...

Offline

#4 2015-04-22 04:43:54

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

Re: cron.php error

Sorry no idea. There s commercial support if you need one.

Offline

#5 2016-01-10 13:51:39

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

Re: cron.php error

cd /home/www/domains/lhc_web && /usr/bin/php cron.php -s site_admin -c cron/workflow

Offline

Board footer