Help Center Live Community

Support => Installation Help & Software Support => Topic started by: batobin on September 13, 2007, 01:27:42 AM



Title: A quick bug fix / suggestion
Post by: batobin on September 13, 2007, 01:27:42 AM
More of a suggestion than a bug fix. I noticed that by default you comment out the following line in config.php:

$conf['demomode']=true;

I would suggest that you don't comment the line, but rather leave it intact like this:

$conf['demomode']=false;

I suggest this because a default installation spits out error messages when the entire setting is commented out. I logged in for the first time and immediately changed the root admin password, only to see this error:

Notice: Undefined index: demomode in /home/brian/public_html/livechat/class/operator.php on line 257

It appears operator.php is looking for that setting and errors when it's commented out.

Just a small suggestion. Thanks for all your work.

BT


Title: Re: A quick bug fix / suggestion
Post by: HCL Admin on September 14, 2007, 12:39:57 AM
Whoops, it was supposed to just be turned off in the production version.  My bad!  ::)