Problems with freichatx 5.0 and jomsocial 2.2

kapilsahu's picture

Forums: 

freichatx is not working with jomsocial 2.2 means when i install freichatx with joomla with jomsocial driver then after install i install joomla module and publish it but i doesn't seen chat window in my frontend but when i install freichatx 4.6 then chat window is showing in frontend i think there is something missing in it please check it yourself and fix this problem.
and when was the final version of freichatx 5.0 is releasing

admin's picture

Try manual installation

Instead of the modular installation , try the traditional manual installation
i.e copy paste the template code.

Also don't forget to disable the module .

But before that , can you do some debugging on the problem .
I mean in the backend enable PHP and JS debug mode .

And post the output of freix.log in ~/freichat folder here.

hassonmike's picture

wrong log

guess i sent you the wrong log, not sure if that will be usefull to you, but freixlog.log contents are

May 2, 2011, 12:06 pm: main.php loaded
May 2, 2011, 12:06 pm: connected to database successfully
May 2, 2011, 12:06 pm: Inserted the user with the following data :: Username = OGfireGuy And ID = 6298
May 2, 2011, 12:14 pm: main.php loaded
May 2, 2011, 12:14 pm: connected to database successfully
May 2, 2011, 12:14 pm: Inserted the user with the following data :: Username = OGfireGuy And ID = 6298
May 2, 2011, 12:16 pm: main.php loaded
May 2, 2011, 12:16 pm: connected to database successfully
May 2, 2011, 12:16 pm: Inserted the user with the following data :: Username = OGfireGuy And ID = 6298

Trying manual install now

kapilsahu's picture

the freichatx 5.0 is not

the freichatx 5.0 is not showing after manual installation also in front end and no error log also
please you install the freichatx with joomla and see that it is really not working.Please try to fix the error as soon as possible or give us a method to run it with joomla without any error.

hassonmike's picture

i am fairly certain all steps

i am fairly certain all steps are being done correctly, including uploading the zip file and extracting it remotely, and pasting the code into the specified location. And given that I am not the only one experiencing this, it might be safe to assume that this one is not likely user error.

admin's picture

Sorry for the troubles/problems

I made a very silly mistake in the path.
I think i got the problem .

You were correct Hassonmike ,
I made a little mistake, in haste while releasing the version..
[Really Haste makes Waste]

We will just check it ,

Now the template where you did the manual install . replace the PHP code in it with

<?php
$session
= JSession::getInstance("none",array());
$host = JURI::root();
$ses=$session->getId();

if(!
function_exists("freichatx_get_hash")){
function
freichatx_get_hash($ses){

       if(
is_file(JPATH_SITE."/freichat/arg.php")){

               require
JPATH_SITE."/freichat/arg.php";

              
$temp_id $ses . $uid;

               return
md5($temp_id);

       }
       else
       {
               echo
JPATH_SITE;
       }

       return
0;
}
}
?>

I have also made the same change in the module , so the next time you download
the module it should work

hassonmike's picture

a few things

first off, when attempting download the module, i get google 404:

"The requested URL /p/freichatx-i/downloads/detail?name=mod_freichatx-i.zip&can=2&q= was not found on this server. That’s all we know."

Followed through with manual install, chat window appears, but does not show how many users are online or show any names/avatars/buttons/anything (confirmed that other users are online)

hassonmike's picture

so i tried it again first

so i tried it again first with the modular install, and it seemed to do nothing

then i renamed the /freichat folder so i could reenable the old version, and i noticed this showed up (module still enabled)
http://s1.postimage.org/4ln01sylp/freichatscreenshot1.jpg

and with teh manual install of the new version, i see
http://s1.postimage.org/4lo3qpagd/freichatmanual.jpg

so the icons are showing up now, but still no user info, and confirmed that user were online at that time.

and i am using firefox

admin's picture

Can you do some debugging

In firefox , you will need to install firebug.

After installing that , see in the console panel . do you see any errors there ?

Also , there will be requests sent to the server every 5 seconds click any of them
and what response do you get ?

hassonmike's picture

firebug console gives me $()

firebug console gives me

$() is null - if($().delegate)
http://firebytrickconcepts.com/freichat/client/main.php?id=a4a24685db417...
Line 88

and clicking on the requests gives me (IN ORDER OF TABS)

(HEADERS)

Date Fri, 06 May 2011 18:10:44 GMT
Server Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.30
P3P CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Keep-Alive timeout=5, max=80
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/plain
Request Headersview source
Host firebytrickconcepts.com
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 ( .NET CLR 3.5.30729)
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Content-Type application/x-www-form-urlencoded; charset=UTF-8
Referer http://firebytrickconcepts.com/index.php?option=com_community&view=front...
Content-Length 225
Cookie phpbb3_7doxb_k=; style_cookie=printonly; currentURI=http%3A%2F%2Ffirebytrickconcepts.com%2Findex.php%3Foption%3Dcom_community%26view%3Dfrontpage%26Itemid%3D107; phpbb3_727ap_u=93; phpbb3_727ap_sid=1163586af85a5c9f8abc79f5e54e7817; GALLERYSID=bed50fdf70f8058d223780c32f631da5; phpbb3_7doxb_u=1; phpbb3_7doxb_sid=10293726da9f4a3440062603810c546c; 2f3e04f0110f007f5658f28022d14c24=a955514ee64790ff4504a202a793e305; PHPSESSID=3cdc24e4a586cd5f77a843235a0264db; 656fffac302e1cebe7bd53e595b21eeb=a4a24685db417b4923baafe2d0fac0ae

(POST)

Parametersapplication/x-www-form-urlencoded

0c925a1744195f488dc2a9584... 1
arg2 ["_d_",""]
arg3 ["_d_","all"]
arg4 ["_d_","186"]
arg5 ["_d_","230"]
arg6 ["_d_","true"]
arg7 ["_d_","all"]
func activities,ajaxGetActivities
no_html 1
option community
task azrul_ajax
Source
&option=community&no_html=1&task=azrul_ajax&func=activities,ajaxGetActivities&0c925a1744195f488dc2a95845f41b1e=1&arg2=["_d_",""]&arg3=["_d_","all"]&arg4=["_d_","186"]&arg5=["_d_","230"]&arg6=["_d_","true"]&arg7=["_d_","all"]&

(RESPONSE)

[["cs","joms.activities.appendLatest","",["","20000","New updates available"]]]

(JSON)

0
["cs", "joms.activities.appendLatest", "", ["", "20000", "New updates available"]]

0
"cs"

1
"joms.activities.appendLatest"

2
""

3
["", "20000", "New updates available"]

0
""

1
"20000"

___________

admin's picture

Look both the url's arent

Look both the url's arent same ,

Make sure the url is correct , you can change these urls in modules/mod_freichatx/mod_freichatx.php

ALso click on both the url's do you get a 404 page not found or are they correct .