FreiChat related discussions
Freichat not present on real site

1. during the development on localhost, you extension works fine: no real problem
2. today, I transfer all my site in production. And I have none echo of Freichat on the users' screens.

My idea: any address of the right production Url must be changed now ???
Please: what are the parameters to be updated and in what file ?
=========================================

Here is the url of my site: http://www.planet-annonces.com
Best regards, admin.

ps a quarter after my post:
------------------------------------------
I have updated the parameters of the database in the "arg.php" file: now, I see the mini window of Freichat, but none icons, none members, ... on the screen !
Look at this part of my "arg.php" file (I have just hidden here the sensible parameters):
/* Data base details */
$con='mysql';
$username='********';
$password='********';
$client_db_name='*********';
$host='localhost';

1. during the development on localhost, you extension works fine: no real problem 2. today, I transfer all my site in production. And I have none echo of Freichat on the users' screens. My idea: any address of the right production Url must be changed now ??? Please: what are the parameters to be updated and in what file ? ========================================= Here is the url of my site: http://www.planet-annonces.com Best regards, admin. ps a quarter after my post: ------------------------------------------ I have updated the parameters of the database in the "arg.php" file: now, I see the mini window of Freichat, but none icons, none members, ... on the screen ! Look at this part of my "arg.php" file (I have just hidden here the sensible parameters): /* Data base details */ $con='mysql'; $username='********'; $password='********'; $client_db_name='*********'; $host='localhost'; <---------- Is that RIGHT for the real site ??? $driver='JCB'; $db_prefix='jus_'; $uid='4dbe4d1130807'; <---------- ???

Looks like there are double www. in your requests

Go here http://planet-annonces.com/en/

You will see that the chat works now .

You can do one thing ,

Go to ~/freichat/client/freichat.js

Then

In function analyse()

Add this line

freidefines.url = freidefines.url.replace(/www.www./g,"www.");

Looks like there are double www. in your requests Go here http://planet-annonces.com/en/ You will see that the chat works now . You can do one thing , Go to ~/freichat/client/freichat.js Then In function analyse() Add this line <code> freidefines.url = freidefines.url.replace(/www.www./g,"www."); </code>
Necessity is the mother of all inventions!

I have updated this file as you write it, but now: the mini window of Freichat is not on the screen !!!

ps: I have written this line in the first position, immediately after the title of the function analyse() (may be an error of me). I forgot to specify that it is a "french site" (cf. fr, and not "en")
Thanks admin for your help.

I have updated this file as you write it, but now: the mini window of Freichat is not on the screen !!! ps: I have written this line in the first position, immediately after the title of the function analyse() (may be an error of me). I forgot to specify that it is a "french site" (cf. fr, and not "en") Thanks admin for your help.

Yes you made a error in adding the code

The current code in your file is

FreiChat.analyse=function()


freidefines.url = freidefines.url.replace(/www.www./g,"www.");
{
if(FreiChat.ses_status==4)
{
FreiChat.freichatopt("goOnline");
}
.
.
.


Change it to following

FreiChat.analyse=function()
{
freidefines.url = freidefines.url.replace(/www.www./g,"www.");

if(FreiChat.ses_status==4)
{
FreiChat.freichatopt("goOnline");
}
.
.
.


That should solve the problem .

Yes you made a error in adding the code The current code in your file is <code> FreiChat.analyse=function() freidefines.url = freidefines.url.replace(/www.www./g,"www."); { if(FreiChat.ses_status==4) { FreiChat.freichatopt("goOnline"); } . . . </code> Change it to following <code> FreiChat.analyse=function() { freidefines.url = freidefines.url.replace(/www.www./g,"www."); if(FreiChat.ses_status==4) { FreiChat.freichatopt("goOnline"); } . . . </code> That should solve the problem .
Necessity is the mother of all inventions!

Well found, admin: you solved my problem ... and during a Sunday !
Thank you very much.

ps: just a "last" problem: on the Freichat window, we don't see the right icons of the theme. Freichat doesn't find the right pictures, so it takes ghost icons with Chrome and the word "option" with Firefox ! On localhost, I have not a such problem: all is right !
My real url is: http://www.planet-annonces.com/fr

Best regards, admin

Well found, admin: you solved my problem ... and during a Sunday ! Thank you very much. ps: just a "last" problem: on the Freichat window, we don't see the right icons of the theme. Freichat doesn't find the right pictures, so it takes ghost icons with Chrome and the word "option" with Firefox ! On localhost, I have not a such problem: all is right ! My real url is: http://www.planet-annonces.com/fr Best regards, admin

Add the same line ie

freidefines.url = freidefines.url.replace(/www.www./g,"www.");


in the function make_url() as you did for the analyse() function in the same file.

Add the same line ie <code> freidefines.url = freidefines.url.replace(/www.www./g,"www."); </code> in the function make_url() as you did for the analyse() function in the same file.
Necessity is the mother of all inventions!

That's right: marvellous support, admin.
And ... "merci beaucoup"!

That's right: marvellous support, admin. And ... "merci beaucoup"!
109
6
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft