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

You are not logged in.

Announcement

#1 2014-07-24 11:22:55

Tanssin Tangoa
Guest

After some weeks of working install, lhc suddenly stopped connecting to database

System is still in test use so it has not been used regularily. I may have updated Centos 6 in between and I have disables SELinux since it it too troublesome.
I get error: Cannot connect to database. If you are installing application please use /index.php/install/install url. If you keep getting this error please check that application can write to cache folder and cgi.fix_pathinfo = 1
Logs show nothing. Database check is ok and database user, passwd and name are ok.
From where to look now?
Thank you for any help.
Arto---

If I run index.php from shell I get: [*** lhc_web]# php ./index.phpPHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/geos.so' - /usr/lib64/php/modules/geos.so: cannot open shared object file: No such file or directory in Unknown on line 0PHP Notice:  Undefined index: REQUEST_URI in /var/www/html/teknet/lhc_web/lib/core/lhcore/lhsys.php on line 285
Notice: Undefined index: REQUEST_URI in /var/www/html/teknet/lhc_web/lib/core/lhcore/lhsys.php on line 285<!DOCTYPE html>
<html lang="en" dir="ltr"><head><title>Fill in the form to start a chat « TEK chat</title><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><link rel="icon" type="image/png" href="/./design/defaulttheme/images/favicon.ico" /><link rel="shortcut icon" type="image/x-icon" href="/./design/defaulttheme/images/favicon.ico"><meta name="Keywords" content="" /><meta name="Description" content="" /><meta name="robots" content="noindex, nofollow"><meta name="copyright" content="Remigijus Kiminas, livehelperchat.com"><link rel="stylesheet" type="text/css" href="/./cache/compiledtemplates/23c09ac2c73e7be4ab7120992be6df05.css" /><!--[if lt IE 9]>    <link rel="stylesheet" type="text/css" href="/./cache/compiledtemplates/c5033147c572aafeba41d8baaf950165.css" /><![endif]-->
<script type="text/javascript">var WWW_DIR_JAVASCRIPT = '/./index.php/';var WWW_DIR_JAVASCRIPT_FILES = '/./design/defaulttheme/sound';var WWW_DIR_JAVASCRIPT_FILES_NOTIFICATION = '/./design/defaulttheme/images/notification';var confLH = {};confLH.back_office_sinterval = 10000;confLH.chat_message_sinterval = 3500;confLH.new_chat_sound_enabled = 1;confLH.new_message_sound_admin_enabled = 1;confLH.new_message_sound_user_enabled = 1;confLH.new_message_browser_notification = 0;confLH.transLation = {'new_chat':'New chat request'};confLH.csrf_token = 'd575e250203d3a8d360443801b1623ca';confLH.repeat_sound = 1;confLH.repeat_sound_delay = 5;confLH.show_alert = 1;</script><script type="text/javascript" src="/./cache/compiledtemplates/9067c9b11c74e0941315d60fce7b9505.js"></script>
</head><body>
<div class="content-row">
<div class="row">    <div class="columns small-10">        <h1><a href="http://www.tek.fi/" target="_blank" title="TEK"><img src="/./design/defaulttheme/images/general/logo_user.png" alt="TEK" title="TEK"></a></h1>    </div>        <div class="columns small-2 pt20">        <input type="button" class="secondary tiny button round right" value="Close" onclick="lhinst.userclosedchatandbrowser();" />    </div>    </div>
<div class="row">    <div class="columns twelve">   

<h1>Fill out this form to start a chat</h1>
<form method="post" action="/./index.php/chat/startchat" onsubmit="return lhinst.addCaptcha('1406192520',$(this))">
        <label>Name*</label>    <input type="text" name="Username" value="" />   

        <label>Your question*</label>    <textarea placeholder="Enter your message" name="Question"></textarea>   





<label>Department</label><select name="DepartamentID">            <option class="offline-dep" value="1"  >tek  --=Offline=--</option>            <option class="offline-dep" value="2"  >Urapalvelut  --=Offline=--</option>    </select>

<ul class="button-group radius">  <li><input type="submit" class="small secondary button" value="Start chat" name="StartChatAction" /></li>  </ul>
<input type="hidden" value="" name="URLRefer"/><input type="hidden" value="" name="r" />
<input type="hidden" value="1" name="StartChat"/>
</form>
    </div></div>
<div class="mt10">    <div class="row mt10 footer-row">        <div class="columns twelve">            <p class="right-footer"><a target="_blank" href="http://livehelperchat.com">Live Helper Chat © 2014</a></p>            <p><a href="http://www.tek.fi/" target="_blank">TEK</a></p>        </div>    </div></div>
<script type="text/javascript" language="javascript" src="/./cache/compiledtemplates/7274c6814d2a7432a2b3dd233ef35c58.js"></script></div>
<div class="ezc-debug-output"><table class='log'><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - lhchat/startchat.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/lhchat/startchat.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/lhchat/startchat.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - lhchat/part/user_variables.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/lhchat/part/user_variables.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/lhchat/part/user_variables.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - lhchat/part/department.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/lhchat/part/department.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/lhchat/part/department.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - lhchat/part/accept_tos.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/lhchat/part/accept_tos.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/lhchat/part/accept_tos.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - pagelayouts/userchat.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/userchat.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/userchat.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - pagelayouts/parts/page_head_user.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_head_user.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_head_user.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/favicon.ico</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/favicon.ico<br/>Found IN - ./design/defaulttheme/images/favicon.ico<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/favicon.ico</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/favicon.ico<br/>Found IN - ./design/defaulttheme/images/favicon.ico<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - pagelayouts/parts/page_head_css.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_head_css.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_head_css.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/icons/sound-message.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/icons/sound-message.png<br/>Found IN - ./design/defaulttheme/images/icons/sound-message.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/icons/printer.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/icons/printer.png<br/>Found IN - ./design/defaulttheme/images/icons/printer.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/icons/sound-message-disabled.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/icons/sound-message-disabled.png<br/>Found IN - ./design/defaulttheme/images/icons/sound-message-disabled.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/icons/sound.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/icons/sound.png<br/>Found IN - ./design/defaulttheme/images/icons/sound.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/icons/sound_mute.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/icons/sound_mute.png<br/>Found IN - ./design/defaulttheme/images/icons/sound_mute.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/general/loading.gif</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/general/loading.gif<br/>Found IN - ./design/defaulttheme/images/general/loading.gif<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/colorbox/border1.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/colorbox/border1.png<br/>Found IN - ./design/defaulttheme/images/colorbox/border1.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/colorbox/border2.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/colorbox/border2.png<br/>Found IN - ./design/defaulttheme/images/colorbox/border2.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/colorbox/loading.gif</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/colorbox/loading.gif<br/>Found IN - ./design/defaulttheme/images/colorbox/loading.gif<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/fonts/fontello.eot</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/fonts/fontello.eot<br/>Found IN - ./design/defaulttheme/images/fonts/fontello.eot<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/fonts/fontello.eot</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/fonts/fontello.eot<br/>Found IN - ./design/defaulttheme/images/fonts/fontello.eot<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/fonts/fontello.woff</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/fonts/fontello.woff<br/>Found IN - ./design/defaulttheme/images/fonts/fontello.woff<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/fonts/fontello.ttf</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/fonts/fontello.ttf<br/>Found IN - ./design/defaulttheme/images/fonts/fontello.ttf<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/fonts/fontello.svg</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/fonts/fontello.svg<br/>Found IN - ./design/defaulttheme/images/fonts/fontello.svg<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: shop::default</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/css/normalize.css<br/><b>Found IN - ./design/defaulttheme/css/normalize.css</b><br/>Not found IN - ./design/customtheme/css/foundation-ltr.css<br/><b>Found IN - ./design/defaulttheme/css/foundation-ltr.css</b><br/>Not found IN - ./design/customtheme/css/app.css<br/><b>Found IN - ./design/defaulttheme/css/app.css</b><br/>Not found IN - ./design/customtheme/css/colorbox.css<br/><b>Found IN - ./design/defaulttheme/css/colorbox.css</b><br/>Not found IN - ./design/customtheme/css/override.css<br/>Not found IN - ./design/defaulttheme/css/override.css<br/>Not found IN - ./design/customtheme/css/fontello.css<br/><b>Found IN - ./design/defaulttheme/css/fontello.css</b><br/>Not found IN - ./design/customtheme/css/datepicker.css<br/><b>Found IN - ./design/defaulttheme/css/datepicker.css</b><br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: shop::default</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/css/ie8-and-down.css<br/><b>Found IN - ./design/defaulttheme/css/ie8-and-down.css</b><br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: shop::default</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_head_css_extension_multiinclude.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_head_css_extension_multiinclude.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - pagelayouts/parts/page_head_js.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_head_js.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_head_js.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - sound</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/sound<br/>Found IN - ./design/defaulttheme/sound<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/notification</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/notification<br/>Found IN - ./design/defaulttheme/images/notification<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: shop::default</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/js/jquery.js<br/><b>Found IN - ./design/defaulttheme/js/jquery.js</b><br/>Not found IN - ./design/customtheme/js/modernizr.js<br/><b>Found IN - ./design/defaulttheme/js/modernizr.js</b><br/>Not found IN - ./design/customtheme/js/foundation.min.js<br/><b>Found IN - ./design/defaulttheme/js/foundation.min.js</b><br/>Not found IN - ./design/customtheme/js/jquery.colorbox-min.js<br/><b>Found IN - ./design/defaulttheme/js/jquery.colorbox-min.js</b><br/>Not found IN - ./design/customtheme/js/lh.js<br/><b>Found IN - ./design/defaulttheme/js/lh.js</b><br/>Not found IN - ./design/customtheme/js/jquery.hotkeys-0.7.9.min.js<br/><b>Found IN - ./design/defaulttheme/js/jquery.hotkeys-0.7.9.min.js</b><br/>Not found IN - ./design/customtheme/js/fileupload/jquery.ui.widget.js<br/><b>Found IN - ./design/defaulttheme/js/fileupload/jquery.ui.widget.js</b><br/>Not found IN - ./design/customtheme/js/fileupload/jquery.iframe-transport.js<br/><b>Found IN - ./design/defaulttheme/js/fileupload/jquery.iframe-transport.js</b><br/>Not found IN - ./design/customtheme/js/fileupload/jquery.fileupload.js<br/><b>Found IN - ./design/defaulttheme/js/fileupload/jquery.fileupload.js</b><br/>Not found IN - ./design/customtheme/js/jquery.zoom.min.js<br/><b>Found IN - ./design/defaulttheme/js/jquery.zoom.min.js</b><br/>Not found IN - ./design/customtheme/js/datepicker.js<br/><b>Found IN - ./design/defaulttheme/js/datepicker.js</b><br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: shop::default</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_head_js_extension_multiinclude.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_head_js_extension_multiinclude.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - pagelayouts/parts/page_head_logo.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_head_logo.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_head_logo.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::design - images/general/logo_user.png</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/images/general/logo_user.png<br/>Found IN - ./design/defaulttheme/images/general/logo_user.png<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: erLhcoreClassDesign::designtpl - pagelayouts/parts/page_footer_user.tpl.php</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/tpl/pagelayouts/parts/page_footer_user.tpl.php<br/>Found IN - ./design/defaulttheme/tpl/pagelayouts/parts/page_footer_user.tpl.php<br/></td></tr><tr class='debugheader'>    <td class='source'>        <span class='verbosity0'>0: shop::default</span>    </td>    <td class='date'>2014-07-24 12:02:00 +0300</td></tr><tr class='debugbody'>    <td colspan='2'>Not found IN - ./design/customtheme/js/app.js<br/><b>Found IN - ./design/defaulttheme/js/app.js</b><br/></td></tr></table></div>
</body></html>

https://groups.google.com/forum/#!topic … -B3jSVgN94

#2 2014-07-24 11:31:34

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

Re: After some weeks of working install, lhc suddenly stopped connecting to database

Something is not right with your server.

There should ne be errors like this.
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/geos.so' - /usr/lib64/php/modules/geos.so: cannot open shared object file: No such file or directory in Unknown on line 0



Offline

#3 2014-07-24 12:32:52

Tanssin Tangoa
Guest

Re: After some weeks of working install, lhc suddenly stopped connecting to database

I do not use is so I have propably not even installed it. But nothing has been changed lately.

torstai, 24. heinäkuuta 2014 12.31.34 UTC+3 Remigijus Kiminas kirjoitti:

#4 2014-07-24 13:17:26

Tanssin Tangoa
Guest

Re: After some weeks of working install, lhc suddenly stopped connecting to database

Installed geos but that does not help with the problem. No more missing geos.so line though.

#5 2014-07-24 14:47:17

Tanssin Tangoa
Guest

Re: After some weeks of working install, lhc suddenly stopped connecting to database

Seems to be working now. Not quite sure how, but somehow settigs file was broken. Maybe when I was updating I did something wrong.

Board footer