FreiChat related discussions
No display

I successfully followed all instructions for install and everything went well on a 1.5 Joomla with Community Builder. No errors or anything odd. I chose manual install and it went as illustrated in your very informative video. Now when I look at the homepage I see no freichat interface.

freichat/client/error_log shows

[19-Mar-2011 23:50:19] PHP Warning: Invalid argument supplied for foreach() in /home/username/public_html/mywebsite.org/freichat/server/drivers/JCB.php on line 35

line 35 of this file says:

if($res==null) {$this->freichat_debug("Incorrect Query in driver CBE check parameters");}




Your help is appreciated.


I successfully followed all instructions for install and everything went well on a 1.5 Joomla with Community Builder. No errors or anything odd. I chose manual install and it went as illustrated in your very informative video. Now when I look at the homepage I see no freichat interface. freichat/client/error_log shows [19-Mar-2011 23:50:19] PHP Warning: Invalid argument supplied for foreach() in /home/username/public_html/mywebsite.org/freichat/server/drivers/JCB.php on line 35 line 35 of this file says: if($res==null) {$this->freichat_debug("Incorrect Query in driver CBE check parameters");} Your help is appreciated.

check your arg.php file; it seems that FreiChatX is not able to connect to the database.
Try downloading the latest version and installing it.

check your arg.php file; it seems that FreiChatX is not able to connect to the database. Try downloading the latest version and installing it.
Necessity is the mother of all inventions!

When I try and access the arg.php file I get this message
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

All files show up in their appropriate directories. So I know its there.
When the installation is happening and it prompts me for the database file, is it supposed to query the JCB database and find the correct one on its own, or do I have to check my database names and be 100% certain it is looking at the right one?

Lastly, I installed FreiChatX.4.6.2 from the very beginning. I did not install any others. If I had used the quick install and then done manual install, would there be any conflicts or additional text strings added to the index.php file?

Oh, another thing. I am impressed by your promptness!!!

When I try and access the arg.php file I get this message Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. All files show up in their appropriate directories. So I know its there. When the installation is happening and it prompts me for the database file, is it supposed to query the JCB database and find the correct one on its own, or do I have to check my database names and be 100% certain it is looking at the right one? Lastly, I installed FreiChatX.4.6.2 from the very beginning. I did not install any others. If I had used the quick install and then done manual install, would there be any conflicts or additional text strings added to the index.php file? Oh, another thing. I am impressed by your promptness!!!

501 Internal Server Error,

I think it is something related to same origin policy

Can you edit freichat.js file and add the below line.

Go to ~/freichat/client/freichat.js ,

In the function FreiChat.init_HTML_freichatX = function()

Add below line

freidefines.url = fredefines.url.replace('http://','http://www.') ;



Also , I didnt understand what you meant in the third paragraph .
After successful installation , you only have to make sure that the database
details are correct in ~/freichat/arg.php

If you do multiple quick and manual installations, there should not be multiple inserts in
index.php (this is the normal behaviour ) .But if the template is written differently or
due to some problems , there may be mistakes , so i think its better if you check your
index.php , if there are any multiple instances of freichat include code.

Thanks

501 Internal Server Error, I think it is something related to same origin policy Can you edit freichat.js file and add the below line. Go to ~/freichat/client/freichat.js , In the function FreiChat.init_HTML_freichatX = function() Add below line <code>freidefines.url = fredefines.url.replace('http://','http://www.') ;</code> Also , I didnt understand what you meant in the third paragraph . After successful installation , you only have to make sure that the database details are correct in ~/freichat/arg.php If you do multiple quick and manual installations, there should not be multiple inserts in index.php (this is the normal behaviour ) .But if the template is written differently or due to some problems , there may be mistakes , so i think its better if you check your index.php , if there are any multiple instances of freichat include code. Thanks
Necessity is the mother of all inventions!

I have added the .js code snippet and also double checked index.php and there are not duplicate freichat code lines
arg.php does the same thing as before.

should I email you the index.php and the freichat directory as a zip?

I have added the .js code snippet and also double checked index.php and there are not duplicate freichat code lines arg.php does the same thing as before. should I email you the index.php and the freichat directory as a zip?

One thing that happend to me was that the right are not correct.

What happends if you cmod the freichat folder and subdir/files to 777?

One thing that happend to me was that the right are not correct. What happends if you cmod the freichat folder and subdir/files to 777?
Bart Cockheyt

Avi,

You said to add this code:

freidefines.url = fredefines.url.replace('http://','http://www.') ;


Shouldn't it be:
freidefines.url = freidefines.url.replace('http://','http://www.') ;

Avi, You said to add this code: <code>freidefines.url = fredefines.url.replace('http://','http://www.') ;</code> Shouldn't it be: <code>freidefines.url = freidefines.url.replace('http://','http://www.') ;</code>
Bart Cockheyt
Shouldn't it be:
freidefines.url = freidefines.url.replace('http://','http://www.') ;


That is correct, it was a typo!

501 internal server error: check your apache error log for these kind of errors. try changing the permission of the PHP file to 755.
<em>Shouldn't it be: freidefines.url = freidefines.url.replace('http://','http://www.') ;</em> That is correct, it was a typo! 501 internal server error: check your apache error log for these kind of errors. try changing the permission of the PHP file to 755.
Necessity is the mother of all inventions!

I tried everything on a clean install of Joomla 1.5.22 and got exactly the same errors and everything. I then did exactly the same thing as before, which is removed the freichat directory and reinstalled. This fixed the problem once again. I am sure it is permissions somehow, but not sure why. All I do is install, remove, re-install and it works fine. I am following up with this to help further your work. I never did have to change chmod permissions, somehow the install-reinstall did something.

I tried everything on a clean install of Joomla 1.5.22 and got exactly the same errors and everything. I then did exactly the same thing as before, which is removed the freichat directory and reinstalled. This fixed the problem once again. I am sure it is permissions somehow, but not sure why. All I do is install, remove, re-install and it works fine. I am following up with this to help further your work. I never did have to change chmod permissions, somehow the install-reinstall did something.
147
8
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