Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Whenever I navigate to the my site the following is displayed:
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
the nginx setup is based on the following:
https://livehelperchat.com/nginx-config … -132a.html
server {
listen 80;
server_name mydomain.com;
root /var/livehelperchat;
location ~* (^(?!(?:(?!(php)).)*/(albums|bin|var|lib|cache|doc|settings|pos|modules)/).*?(index\.php|upgrade\.php)$) {
include /etc/nginx/livehelperchat_fastcgi_params;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param PATH_INFO $query_string;
fastcgi_param SCRIPT_FILENAME /var/livehelperchat/$fastcgi_script_name;
}
#Allow hotlinking to normal and thumb size images
location ~* (normal_|thumb_|^/design|^/cache|^/var/storagetheme)(.*)\.(gif|jpe?g?|png|mp3|svg|otf|woff|eot|ttf|ogg|wav|bmp|htm|swf|css|js|swf|pdf|ico)$ {
## ***: add expires headers...
# favicon is only stored in 1 dir, the design one; But browsers ask for it in the root
if ($http_user_agent ~* "(WebReaper|wget|SiteSucker|SuperBot|Mihov Picture Downloader|TALWinHttpClient|A1 Website Download|WebCopier|Download Ninja|Microsoft URL Control|GetRight|Arachmo|MJ12bot|Gaisbot|Anonymous|Yanga|Twiceler|psbot|Irvine|Indy Library|HTTrack)" ) {
return 403;
}
if ($http_referer ~* (stockingteensex.info|cbox.ws|teensos.net|dpstream.net|tagged.com|kaskus.us|gorilladatingservice.info|taringa.net|discuss.com|craigslist.org|poringa.net)) {
return 403;
}
#sendfile off;
#aio on;
directio 512;
expires max;
access_log off;
root /var/livehelperchat;
}
# Do not allow to hotlink full size images except our self and major search engines
location ~* \.(gif|jpe?g?|png|bmp|swf|css|js|svg|otf|eot|ttf|woff|swf|mp3|ogg|wav|pdf|ico|txt)$ {
## ***: add expires headers...
valid_referers none blocked server_names ~(livehelperchat.com|google.|reddit.|bing.|yahoo.);
if ($invalid_referer) {
return 403;
}
if ($http_user_agent ~* "(WebReaper|wget|SiteSucker|SuperBot|Mihov Picture Downloader|TALWinHttpClient|A1 Website Download|WebCopier|Download Ninja|Microsoft URL Control|GetRight|Arachmo|MJ12bot|Gaisbot|Anonymous|Yanga|Twiceler|psbot|Irvine|Indy Library|HTTrack)" ) {
return 403;
}
if ($http_referer ~* (stockingteensex.info|cbox.ws|teensos.net|dpstream.net|tagged.com|kaskus.us|gorilladatingservice.info|taringa.net|discuss.com|craigslist.org|poringa.net)) {
return 403;
}
#sendfile off;
#aio on;
directio 512;
expires max;
root /var/livehelperchat;
}
location / {
rewrite "^(.*)$" "/index.php?$1" last;
}
}
Offline
Hi really not sure,
Try to enter url address like
index.php/install/install
In any case i ques you will have to dig deeper just.
Also you can try to enable this, perhaps will help
https://livehelperchat.com/during-some- … -215a.html
Offline
Thanks for the quick response.
When i try to navigate to index.php/install/install, this is what I receive:
You do not have permission to access the module "install" and use "install" function
Offline
You are migrating chat to nginx or doing fresh install?
Offline
fresh install
Offline
So then really out of idea
Offline
I think I may have used an existing installation. I'm going download a fresh copy of the source.
Offline
Yup, that was the issue, I was using an existing installation. Sorry about that.
Offline
https://livehelperchat.com/how-to-move- … -125a.html as for reference next time
Offline
Pages: 1