FreiChat related discussions
Getting list of online users ....

Hi and thanks for your great work !

I am having some troubles with the "customized" version of Freichat 9.6.

I installed it at http://chat.internal.domain (running over Apache2) and it works fine. I upgraded an index.php to be able to fetch users and be logged in and it works perfect.

But, it is an internal domain and i need to reverse proxy it. So i installed it in a new Apache2 server external domain (in the DMZ) http://chat.external.domain and it does'nt work, bugging on the step "Getting list of online users".

With ChromeBug, it first told me that it was a cross domain problem (Access-Control-Allow-Origin) and i told to my internal website to accept headers from the external source and i stopped having the errors in Chrome Bug. Yet, it still does'nt work (Getting list of online users...") and here are the errors i'm having in the Apache2 logs from the internal (chat.internal.domain) source :

[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_ses_id in /var/www/freichat/server/freichat.php on line 79, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_name in /var/www/freichat/server/freichat.php on line 80, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Fatal error: Call to a member function fetchAll() on a non-object in /var/www/freichat/server/freichat.php on line 732, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_ses_id in /var/www/freichat/server/freichat.php on line 79, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_name in /var/www/freichat/server/freichat.php on line 80, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042is_guest in /var/www/freichat/server/freichat.php on line 277, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_ses_id in /var/www/freichat/server/freichat.php on line 79, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_name in /var/www/freichat/server/freichat.php on line 80, referer: http://chat.external.domain/
[Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042is_guest in /var/www/freichat/server/freichat.php on line 277, referer: http://chat.external.domain/

Thank you for you time.

Best regards.

M.

Hi and thanks for your great work ! I am having some troubles with the "customized" version of Freichat 9.6. I installed it at http://chat.internal.domain (running over Apache2) and it works fine. I upgraded an index.php to be able to fetch users and be logged in and it works perfect. But, it is an internal domain and i need to reverse proxy it. So i installed it in a new Apache2 server external domain (in the DMZ) http://chat.external.domain and it does'nt work, bugging on the step "Getting list of online users". With ChromeBug, it first told me that it was a cross domain problem (Access-Control-Allow-Origin) and i told to my internal website to accept headers from the external source and i stopped having the errors in Chrome Bug. Yet, it still does'nt work (Getting list of online users...") and here are the errors i'm having in the Apache2 logs from the internal (chat.internal.domain) source : [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_ses_id in /var/www/freichat/server/freichat.php on line 79, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_name in /var/www/freichat/server/freichat.php on line 80, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Fatal error: Call to a member function fetchAll() on a non-object in /var/www/freichat/server/freichat.php on line 732, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_ses_id in /var/www/freichat/server/freichat.php on line 79, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_name in /var/www/freichat/server/freichat.php on line 80, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042is_guest in /var/www/freichat/server/freichat.php on line 277, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_ses_id in /var/www/freichat/server/freichat.php on line 79, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042usr_name in /var/www/freichat/server/freichat.php on line 80, referer: http://chat.external.domain/ [Mon Apr 28 18:09:46 2014] [error] [client 10.XXX.XXX.XXX] FastCGI: server "/var/lib/apache2/fastcgi/php5.fcgi" stderr: PHP message: PHP Notice: Undefined index: 535e6ba2b6042is_guest in /var/www/freichat/server/freichat.php on line 277, referer: http://chat.external.domain/ Thank you for you time. Best regards. M.

Forgot to tell you about something. I changed the index.php with the code you're giving while installing just to test in guest mode and it still doesn't work (just change the two links to match my external url)

Forgot to tell you about something. I changed the index.php with the code you're giving while installing just to test in guest mode and it still doesn't work (just change the two links to match my external url)

Make sure you have made a fresh install of freichat for your external domain .

Do you get any errors in the response of requests made by freichat ?
You can check the request response using chrome (press f12 -> click on network tab -> click on any request -> click on response)

Make sure you have made a fresh install of freichat for your external domain . Do you get any errors in the response of requests made by freichat ? You can check the request response using chrome (press f12 -> click on network tab -> click on any request -> click on response)
Necessity is the mother of all inventions!
120
2
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