Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2016-10-18 13:15:58

chatserviis
Member
Registered: 2016-10-18
Posts: 3

Chat tries files from previous location

Hi

I had change chat location.
Chat was available at /lhc/lhc_web and now moved to /chat.

I can open chat login i.e. site_admin, but all js and other are missing since it is trying to load /lhc/lhc_web
I can't login since it redirects to lhc/lhc_web.

Could it be possible to clear caches or something?

Offline

#2 2016-10-18 13:44:05

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 3,586
Website

Re: Chat tries files from previous location

Hi,
welcome in the Live Helper Chat Forum and thank you for your request!
Please remember: when you change patch, directory name to a web app you will have issue.

You need sometimes do changes also in the database not only in the files so is a complex process.
You need to know how to do or the better option is, when you want change patch,
consider to do a new install.

My suggestion is to make a backup of your previous working LHC (the old patch LHC) if you have not already,
than you need search in the database all old link and replace with the new patch.

If you don't know how to do maybe you can look at Google.
I cannot assist you on this change as is your server change...

Good luck.
Hope you will be able to solve soon.


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-10-18 13:47:56

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 3,586
Website

Re: Chat tries files from previous location

I will maybe consider to ask to create a guide in the documentation for when LHC has to be migrated in a different address.
GitHub request here:
https://github.com/LiveHelperChat/liveh … issues/927


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-10-18 14:14:53

chatserviis
Member
Registered: 2016-10-18
Posts: 3

Re: Chat tries files from previous location

PeopleInside wrote:

Hi,
welcome in the Live Helper Chat Forum and thank you for your request!
Please remember: when you change patch, directory name to a web app you will have issue.

You need sometimes do changes also in the database not only in the files so is a complex process.
You need to know how to do or the better option is, when you want change patch,
consider to do a new install.

My suggestion is to make a backup of your previous working LHC (the old patch LHC) if you have not already,
than you need search in the database all old link and replace with the new patch.

If you don't know how to do maybe you can look at Google.
I cannot assist you on this change as is your server change...

Good luck.
Hope you will be able to solve soon.

Hi,

This is bit perplexed. At my localhost I probably had vhost for /chat which was actually /lhc/lhc_web.

Last night I transferred it into live server. I was working quite well but had some issues with htaccess since /chat is included inside drupal folder.
And still has htaccess issues too.

But this problem aroused from the fact that when LHC was in /lhc/lhc_web is was requesting assets from /chat.
Now that I've moved it into /chat it is requesting from /lhc/lhc_web which is really weird but which is partly explained by cached resources.

We'll see what comes.

Last edited by chatserviis (2016-10-18 14:16:45)

Offline

#5 2016-10-18 14:29:13

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 3,586
Website

Re: Chat tries files from previous location

Thank you.
Usually I don't give support to who want move from localhost to web because I think if you decide to test in localhost than you are expert to choose to move on the web if you decide to move and do not a clean install on the web. I cannot support everyone who are doing this. If you start from web you will not have any of this issues.

Same for who change domains name or folder name. This is a complex situation where I cannot support people to manage their server or hosting. Is not something related to LHC. If you change domains or folder you will have issue whit all app not only LHC. However I have requested for the future a page in the Documentation who can help users in this situation.
You can follow the GitHub issue.

If you need commercial support this are available.


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-10-19 07:36:12

chatserviis
Member
Registered: 2016-10-18
Posts: 3

Re: Chat tries files from previous location

Okay, now it works perfectly. I think that the major problem was actually my browser.
Firefox seems cache everything and forever.

But when I've got the time I could try to gather some kind of summary.

Last edited by chatserviis (2016-10-19 07:36:36)

Offline

#7 2016-10-19 07:37:43

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 3,586
Website

Re: Chat tries files from previous location

Thank you for your feedback.
I AM happy now all is working fine. Is good to use the Private Surfing for see the no cached version.
Yes Firefox store cache for long time smile
Hey, enjoy your experience with LHC!

Here we are on the Forum when you need  lol


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

#8 2016-11-14 09:41:54

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 3,586
Website

Re: Chat tries files from previous location


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