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.