FreiChat related discussions
message not send when using psession

Hello,


I have an issue when using PSession and chat using the username and id. It will be working fine when use Sdatabase and guest. After checking mysql record , frei_chat table shows result like in the screenshot :

http://www.flickr.com/photos/58268618@N05/5617999333/in/photostream/#/photos/58268618@N05/5617999333/in/photostream/lightbox/

Can you help me ? from the screenshot of frei_chat table, guest is in the second row which is working fine and the userid in the first row which is having the problem in the 'from' field and 'to' field (always generate same random number).


Thanks

Hello, I have an issue when using PSession and chat using the username and id. It will be working fine when use Sdatabase and guest. After checking mysql record , frei_chat table shows result like in the screenshot : http://www.flickr.com/photos/58268618@N05/5617999333/in/photostream/#/photos/58268618@N05/5617999333/in/photostream/lightbox/ Can you help me ? from the screenshot of frei_chat table, guest is in the second row which is working fine and the userid in the first row which is having the problem in the 'from' field and 'to' field (always generate same random number). Thanks

LOL! that is the maximum possible size that PHP and MYSQL can handle on 32 bit systems.
change the field type from INT to BIGINT.
that should solve the issue.

LOL! that is the maximum possible size that PHP and MYSQL can handle on 32 bit systems. change the field type from INT to BIGINT. that should solve the issue.
Necessity is the mother of all inventions!

thanks for the reply, i've tried to change the field type to BIGINT and it works only for the 'from' field , but the problem exist for 'to' field when I tried to change 'to' field to BIGINT .

http://www.flickr.com/photos/58268618@N05/5619219768/in/photostream/lightbox/

that's my screenshot

thanks for the reply, i've tried to change the field type to BIGINT and it works only for the 'from' field , but the problem exist for 'to' field when I tried to change 'to' field to BIGINT . http://www.flickr.com/photos/58268618@N05/5619219768/in/photostream/lightbox/ that's my screenshot

ok i understood what is happening....
in freichat/server/freichat.php
search for a function named "post_mesg()"
in that function you will find the below line

$to=(int)$_POST['to'];


replace the above code with
$to=$this->bigintval($_POST['to']);


hopefully that should make it work!

ok i understood what is happening.... in freichat/server/freichat.php search for a function named "post_mesg()" in that function you will find the below line <code> $to=(int)$_POST['to']; </code> replace the above code with <code> $to=$this->bigintval($_POST['to']); </code> hopefully that should make it work!
Necessity is the mother of all inventions!

thanks , it's working now and message sent /received successfully in my localhost :) , you are the man :D . now i only need to fix some issue when viewing the chat in IE browsers, the position not fixed in the bottom right corner properly , it stays in the center right of the page.

thanks , it's working now and message sent /received successfully in my localhost :) , you are the man :D . now i only need to fix some issue when viewing the chat in IE browsers, the position not fixed in the bottom right corner properly , it stays in the center right of the page.

can you send me a screenshot of what is happening in IE.
i will be able to understand better if i look at the screenshot.

can you send me a screenshot of what is happening in IE. i will be able to understand better if i look at the screenshot.
Necessity is the mother of all inventions!

here is the the screenshot when i access using IE8 : http://www.flickr.com/photos/58268618@N05/5630765616/in/photostream/lightbox/

, you can see the user-online bar , in the middle right of the browser and it will be in the same position when i try scroll up or down . And also the chat box , if click an online user, it will pop up on the top left corner of the browser , hope you understand .


Thanks

here is the the screenshot when i access using IE8 : http://www.flickr.com/photos/58268618@N05/5630765616/in/photostream/lightbox/ , you can see the user-online bar , in the middle right of the browser and it will be in the same position when i try scroll up or down . And also the chat box , if click an online user, it will pop up on the top left corner of the browser , hope you understand . Thanks

try changing the template, there may be some CSS related issues.

try changing the template, there may be some CSS related issues.
Necessity is the mother of all inventions!

i have tried to change the template but no luck , the issue still remain there, is it something related to css hack for IE browser in FreichatX theme ?


thanks

i have tried to change the template but no luck , the issue still remain there, is it something related to css hack for IE browser in FreichatX theme ? thanks
85
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