Help
General ArrowChat talk that doesn't fit any other forum.
User avatar
KVanaudenaerde
Customer
 
Posts: 2
Joined: 26 May 2011, 15:45

 

by KVanaudenaerde 31 May 2011, 13:28

It's really a buggy and laggy chat, what to improve the chat?
I had 60 users online, and i had many offline messages which could not be delivered.
It was very buggy!
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 31 May 2011, 13:43

KVanaudenaerde wrote:It's really a buggy and laggy chat, what to improve the chat?
I had 60 users online, and i had many offline messages which could not be delivered.
It was very buggy!


It doesn't help us very much to just say it's buggy. We need to know exactly what is wrong so that is can be fixed (if anything needs fixing).

Your server may not be powerful enough for 60 users. You should increase the heart beat and lower the idle time.
User avatar
KVanaudenaerde
Customer
 
Posts: 2
Joined: 26 May 2011, 15:45

 

by KVanaudenaerde 31 May 2011, 14:24

Ok, some more specs:

I had 60 users online and had some problems:

- Users were online on the site, but when i sent a message i received an offline notification (during this session, the user with who i was chatting with, was really sending messages to me!)
- Serverload increased alot when 60 users were online... even a too many mysql connections came up...
- Image formatting was not right, sometimes the image was displayed like this 'smiley-image' "> (the "> appearing at the back?!)
User avatar
TKhobkrathok
Customer
 
Posts: 13
Joined: 13 Sep 2011, 22:57

 

by TKhobkrathok 16 Sep 2011, 05:00

We have a similar problem:

In your own chat window, smiles appear ok.

In the receiver's chat window, we get this shown:

<img class="arrowchat_smiley" width="16" height="16" "="" href="http://chat.birchplace.com/i/themes/bp_v3/images/smilies/smiley.gif" _blank"="" src="<a target=">

Notice how the HTML here is wrong:

src="<a target=">

Any ideas what code is causing this please?

We are using 1.06
User avatar
TKhobkrathok
Customer
 
Posts: 13
Joined: 13 Sep 2011, 22:57

 

by TKhobkrathok 16 Sep 2011, 05:04

Notice the strange "="" AFTER the width and height definitions.
User avatar
TKhobkrathok
Customer
 
Posts: 13
Joined: 13 Sep 2011, 22:57

 

by TKhobkrathok 16 Sep 2011, 05:31

It would appear that the function makeClickableLinks() is being executed in receive_core.php is being executed even if the string is only a smiley, resulting in the receive window not showing the smiley, but showing a broken URL string instead.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 16 Sep 2011, 06:26

TKhobkrathok wrote:It would appear that the function makeClickableLinks() is being executed in receive_core.php is being executed even if the string is only a smiley, resulting in the receive window not showing the smiley, but showing a broken URL string instead.


Fixed in v1.1, here is the updated function:

Code: Select all
   function makeClickableLinks($s) {
      return preg_replace("! \b((([a-z]{3,5}://))". "[-a-z0-9.]{2,}\.[a-z]{2,4}". "(:[0-9]+)?". "(/([^\s]*[^\s,.])?)?". "(\?([^\s]*[^\s,.])?)?)\b!i",  "<a target=\"_blank\" href=\"\\1\">\\1</a>", $s);
   }
User avatar
ALieb
Customer
 
Posts: 9
Joined: 10 Sep 2011, 18:00

 

by ALieb 16 Sep 2011, 10:44

We're having similar issues of getting offline message warnings. Where someone messages you first and then you reply back and arrow chat tells you that they're offline.
User avatar
TKhobkrathok
Customer
 
Posts: 13
Joined: 13 Sep 2011, 22:57

 

by TKhobkrathok 16 Sep 2011, 23:54

Thank you Jason, that seems to have fixed the smiley bug.
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.