Chat not working

HI, 

 

I'm using 7.0.8 and it seems my chat does not load. just seems to be empty. If I load chat through the Flash Apps admin link, it loads just fine so I'm not sure why the general chat link wouldn't load up.

 

I thought it may have to do with mod_rewrite at first, but I disabled the chat permalink and the problem is the same...

Any thoughts what I can check into?

error.tiff · 38.1K · 159 views
Quote · 11 Jan 2012

Guess this isn't a common issue...

 

When using chrome inspector, I see these errors on the default raychat page:

 

  1. Uncaught ReferenceError: swfobject is not defined /modules/?r=chat/home/:1442
  2. (anonymous function) /modules/?r=chat/home/:1442
    I'm not sure where the :1442 is coming from? It's not in the link configuration in the Navigation menu...
Quote · 26 Jan 2012

when I look for a swfobject in that page I see this:

varflashvars={url:"http://www.domain.ca/flash/XML.php",module:"chat",app:"user",id:"1",password:"095b9f25bcb9c380ce2d5a45ce850a26da456f7b"};varparams={allowScriptAccess:"always",allowFullScreen:"true",base:"http://www.domain.ca/flash/modules/chat/",bgcolor:"#FFFFFF",wmode:"opaque"};varattributes = { id: "ray_flash_chat_user_object", name: "ray_flash_chat_user_embed", style: "display:block;"};swfobject.embedSWF("http://www.domain.ca/flash/modules/global/app/holder_as3.swf", "chat_user_1327597741", "100%", "600", "9.0.0", "http://www.domain.ca/flash/modules/global/app/expressInstall.swf", flashvars, params, attributes);

However in my XML.php there is no "chat" module listed...

$sModule = isset($_REQUEST['module']) ? $_REQUEST['module'] : "";

$sAction = isset($_REQUEST['action']) ? $_REQUEST['action'] : "";

 

if(($sModule == "mp3" && $sAction == "screenshot")

|| ($sModule == "board" && $sAction == "transmit")

|| ($sModule == "games" && $sAction == "makeShot")

|| ($sModule == "livecam" && $sAction == "channelShot")

|| ($sModule == "photo" && $sAction == "transmit"))

{

        define('BX_SECURITY_EXCEPTIONS', true);

 

could this be a problem?

Quote · 26 Jan 2012

 

Guess this isn't a common issue...

 

When using chrome inspector, I see these errors on the default raychat page:

 

  1. Uncaught ReferenceError: swfobject is not defined /modules/?r=chat/home/:1442
  2. (anonymous function) /modules/?r=chat/home/:1442
    I'm not sure where the :1442 is coming from? It's not in the link configuration in the Navigation menu...

 your right, two years here and I've never seen that problem.

What type of server are you using? Are all you php settings set to the referenced default levels in your http://www.yoursite.com/administration/host_tools.php, what are your results?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Jan 2012

It's my own server, debian

 

Software requirements

  • PHP: 5.3.5-1ubuntu7.4 - WARNING (your PHP version is outdated, upgrade to the latest 5.3.9 maybe required)
    • allow_url_fopen = On - OK
    • allow_url_include = Off - OK
    • magic_quotes_gpc = Off - OK
    • memory_limit = 2147483648 - OK
    • post_max_size = 52428800 - OK
    • upload_max_filesize = 209715200 - OK
    • register_globals = Off - OK
    • safe_mode = Off - OK
    • short_open_tag = On - OK
    • disable_functions = - OK
    • php module: curl = curl - OK
    • php module: gd = gd - OK
    • php module: mbstring = mbstring - OK
    • php module: xsl = xsl - OK
    • php module: json = json - OK
    • php module: openssl = openssl - OK
    • php module: mysqli = mysqli - OK
    • php module: ftp = ftp - OK
  • MySQL: 5.1.54-1ubuntu4 - OK
  • Web-server: Apache
    • rewrite_module - OK
  • OS: Linux server 2.6.38-13-generic #53-Ubuntu SMP Mon Nov 28 19:23:39 UTC 2011 i686
Quote · 26 Jan 2012

I just did a fresh new install and get the same problem.

 

All I did was a base install, then logged in as admin, installed the chat module went to the chat page and is still blank with the same error... in the inspector except instead od :1442 it had :1331

The admin chat link works just fine from the flash apps panel....

Quote · 26 Jan 2012

ok, I have a server here at home set up under ubuntu as well. This is my php info, and the chat

Make sure your flash is installed properly. In your flash apps menu, are you using an RMS server?

could you PM your link or share it here?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Jan 2012

 

ok, I have a server here at home set up under ubuntu as well. This is my php info, and the chat

Make sure your flash is installed properly. In your flash apps menu, are you using an RMS server?

could you PM your link or share it here?

 Installed on the server properly? (Your chat loads fine for me using the same browser)

I have RMS setup... but for the time being I do not have it enabled...

I'll PM you if wish, the site is NSFW

Quote · 26 Jan 2012

 

 

ok, I have a server here at home set up under ubuntu as well. This is my php info, and the chat

Make sure your flash is installed properly. In your flash apps menu, are you using an RMS server?

could you PM your link or share it here?

 Installed on the server properly? (Your chat loads fine for me using the same browser)

I have RMS setup... but for the time being I do not have it enabled...

I'll PM you if wish, the site is NSFW

 I'm old enough..lol and work from home.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Jan 2012

also check this older topic out, it is what I used.

http://www.boonex.com/forums/?action=goto&my_flags=1#topic/D7-Ubuntu-9-10.htm

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 26 Jan 2012

yeah, checked that out. Don't see anything that would be much different with my install...

Quote · 27 Jan 2012

After working with the one and only Rayz, I was able to get this working as expected!

The change I was instructed to make was:

edit "flash/modules/global/inc/content.inc.php" file, find "getRayIntegrationJS" function definition and comment out the following code:

    if ($isDolphinPage)
        $GLOBALS['oSysTemplate']->addJs($sGlobalUrl . 'js/swfobject.js');
    else

Hope this helps someone in the future. Support didn't know what to do after a week.

Thanks Rayz!

Quote · 27 Jan 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.