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

You are not logged in.

Announcement

#1 2015-07-22 14:11:45

intika
Member
Registered: 2015-07-22
Posts: 9

Cron.php need info please ?

Hello,

First thanks for your amazing work, your product is one of a kind ! thanks again !

My installation work fine.

My question is simple, i found similar question but no explicit answer.

When i navigate to cron.php i get this error

Fatal error: Uncaught exception 'Exception' with message 
'Setting with section {site_access_options} value {}' 
in /web/lib/core/lhconfig/lhconfig.php:23 Stack trace: 
#0 /web/cron.php(83): erConfigClassLhConfig->getSetting('site_access_opt...', false) 
#1 {main} thrown in /web/lib/core/lhconfig/lhconfig.php on line 23

1. i know i am not supposed navigate to cron.php but is this error normal ?

2. why "https://demo.livehelperchat.com/cron.php" is not generating any error but a redirecting to index.php ?

thanks a lot for your time !

Last edited by intika (2015-07-22 14:21:51)

Offline

#2 2015-07-22 17:10:44

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

Re: Cron.php need info please ?

Because cron has to be run not from web, but from command line
https://livehelperchat.com/how-to-setup … -340a.html

Offline

#3 2015-07-22 17:33:45

intika
Member
Registered: 2015-07-22
Posts: 9

Re: Cron.php need info please ?

Thanks smile

so i guess you are just making an htaccess redirection on the demo page ? (is it possible to share your code ?)

thanks again

Last edited by intika (2015-07-22 17:35:25)

Offline

#4 2015-07-22 17:34:53

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

Re: Cron.php need info please ?

on demo page it's nginx and always index.php is processing request. As I told cron.php is only for command line usage purposes. Not for browser.

Offline

#5 2015-07-22 17:38:06

intika
Member
Registered: 2015-07-22
Posts: 9

Re: Cron.php need info please ?

Thank you smile... in the first place i went there because i am securing my new website so i am looking for things to deny access etc.
any way thanks for taking time to answer !!!
Will contribute later on github when i finish my site wink

Offline

Board footer