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

You are not logged in.

Announcement

#1 2016-02-24 04:26:20

evildrumma
Member
Registered: 2015-08-06
Posts: 4

cycle redirect

Hello.

Suddenly widget stopped displayed on the site.

No settings are changed.

When requesting a chat there is a cyclic redirect

This is settings in our web-server.

server {
        # This is the URI of your website. You can specify multiple sites to be
        # served by the same Drupal installation.
        listen 80;
        server_name livechat.kdlolymp.kz;

        root /var/www/livechat;

        access_log /var/log/nginx/livechat.access.log;
        error_log  /var/log/nginx/livechat.error.log info;

        # In some cases a favicon does not exist but this is not something you
        # normally need to worry about. It's also a microscopic image and will
        # just clutter the logs.
        location = /favicon.ico {
                log_not_found off;
                access_log off;
        }

        # This is for the robots.txt file used by search engines.
        location = /robots.txt {
                # If you have one, you want to allow them access to it.
                allow all;
                # If you don't have one, you don't want to fill your logs with
                # not found errors.
                log_not_found off;
                access_log off;
        }

       location ~* (^(?!(?:(?!(php)).)*/(albums|bin|var|lib|cache|doc|settings|pos|modules)/).*?(index\.php)$) {
          include        /etc/nginx/fastcgi_params;
          fastcgi_intercept_errors on;
          fastcgi_pass 127.0.0.1:9001;
          fastcgi_index  index.php;
          fastcgi_param  PATH_INFO          $query_string;
          fastcgi_param  SCRIPT_FILENAME /var/www/livechat/$fastcgi_script_name;
       }

       #Allow hotlinking to normal and thumb size images
       location ~* (normal_|thumb_|^/design|^/cache)(.*)\.(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;
           }

           expires max;
           access_log        off;

          fastcgi_param  PATH_INFO          $query_string;
          fastcgi_param  SCRIPT_FILENAME /var/www/livechat/$fastcgi_script_name;
       }

       location / {
           rewrite "^(.*)$" "/index.php?$1" last;
       } 
}

Last edited by evildrumma (2016-02-24 04:26:52)

Offline

#2 2016-02-24 08:04:50

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: cycle redirect

Hi evildrumma,
what version of Live Helper Chat are you using? (Settings, update)

I need the URL where the widget is placed, you can share here on the forum or privately following the live chat URL at the signature of my post.
Thank you!


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2016-02-24 08:49:08

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: cycle redirect

Hi,
your issue was: you have activate time chat for online and offline.
https://livehelperchat.com/how-to-setup … -316a.html

I AM happy you have resolved.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#4 2016-02-24 08:51:17

evildrumma
Member
Registered: 2015-08-06
Posts: 4

Re: cycle redirect

Problem is fixed.
Thank you, Marco B

Offline

#5 2016-02-24 10:04:53

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: cycle redirect

You are Welcome, I AM very happy you was able to solve the issue.
Have a great time and thanks for the feedback,


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#6 2016-02-24 12:54:01

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: cycle redirect

Hi evildrumma,
now your live chat seems have again issue and not redirect well... maybe you made some changes ...

If you need help please search me again but be careful.. maybe you start with a normal LHC install and after you change the domain with subdomain.
This can cause issue.

I invite you to check again your website, hope all is fine but in this moment are not working fine live chat as you have invalid redirect.
I do not share here link in public.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer