• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

[FIX] html response 12152

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
23 posts • Page 1 of 2 • 1, 2

Postby Jeroen » Fri Mar 24, 2006 11:15 pm

Sometimes when the chatbox is open i get an error popup
the chat seems to work like it should...

it says"Error: the server returned the following http status: 12152 Recieved:"
Last edited by Jeroen on Fri Mar 24, 2006 11:18 pm, edited 1 time in total.
Jeroen
Member
 
Posts: 13
Joined: Mon Mar 20, 2006 2:38 pm
Top

Postby phpfreechat » Fri Mar 24, 2006 11:17 pm

Could you give me your public chat url to illustrate the problem ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Jeroen » Fri Mar 24, 2006 11:19 pm

you are fast!
Last edited by Jeroen on Fri Mar 24, 2006 11:23 pm, edited 1 time in total.
Jeroen
Member
 
Posts: 13
Joined: Mon Mar 20, 2006 2:38 pm
Top

Postby phpfreechat » Fri Mar 24, 2006 11:22 pm

Please resend it I lost your email :(
-------Edit------
Thank you :)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Sat Mar 25, 2006 2:07 am

I have the same problem sometimes, not always.
Link: http://www.bihinternet.com/index2.php

What is the solution for this ?

/Eminos
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby phpfreechat » Sat Mar 25, 2006 2:01 pm

Coulr you try with this patch ? :
Code: Select all
Modified: trunk/themes/default/templates/pfcclient.js.tpl.php
==============================================================================
--- trunk/themes/default/templates/pfcclient.js.tpl.php (original)
+++ trunk/themes/default/templates/pfcclient.js.tpl.php Sat Mar 25 13:56:45 2006
@@ -296,7 +296,7 @@
   */
  handleRequest: function(cmd, param)
  {
-    <?php echo $prefix; ?>handleRequest(cmd + " " + this.clientid + (param ? " " + param : ""));
+    return <?php echo $prefix; ?>handleRequest(cmd + " " + this.clientid + (param ? " " + param : ""));
  },

  /**
@@ -307,7 +307,10 @@
    clearTimeout(this.timeout);
    if (start)
    {
-      this.handleRequest('/update');
+      var res = this.handleRequest('/update');
+      // adjust the refresh_delay if the connection was lost
+      if (res == false) { this.refresh_delay = this.refresh_delay * 2; }
+      // setup the next update
      this.timeout = setTimeout('pfc.updateChat(true)', this.refresh_delay);
    }
  },
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Sat Mar 25, 2006 8:48 pm

Ok, I guess I should delete the MINUS lines, and add the PLUS lines, right ?

And, btw, I have my own theme, but I only have that CSS file in my templates folder. Is the other files automaticly loaded from the default theme if they are not found in my-theme-template folder ?

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby phpfreechat » Sat Mar 25, 2006 8:52 pm

Eminos wrote:Ok, I guess I should delete the MINUS lines, and add the PLUS lines, right ?

yes
Eminos wrote:And, btw, I have my own theme, but I only have that CSS file in my templates folder. Is the other files automaticly loaded from the default theme if they are not found in my-theme-template folder ?

yes
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Sat Mar 25, 2006 9:25 pm

I've patched it. Same problem :(

[EDIT]
Or wait .. I forgot to reload the page .. I will let you know if this bug doesn't occur in a while ..

/E
Last edited by Eminos on Sat Mar 25, 2006 9:27 pm, edited 1 time in total.
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby Eminos » Sat Mar 25, 2006 10:30 pm

Just cleared my cache in IE, restarted, loaded the page, and there it was again :(

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby Eminos » Mon Mar 27, 2006 1:44 am

I still have this problem, but now it's an other error code. Now I get "12029". And this occurs when I loose Internet connection = when the chat looses server connection. I keep getting the same message every 2-5 seconds.

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby mkoch » Mon Mar 27, 2006 8:20 am

Some of my users, using IE reports the same error:

"Error: the server returned following HTTP status: 12152 Received:

Note: Did not apply pfcclient.js.tpl.php patch [but using latest SVN trunk version]
Last edited by mkoch on Mon Mar 27, 2006 8:28 am, edited 1 time in total.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby mkoch » Mon Mar 27, 2006 9:04 am

In general I get a lot of timeouts. When this happens chat says so:

* Foobar disconnected (timeout)

But then some 20 seconds later Foobar silently appears in the user list again.
I wonder if the user actually disconnected? Or is the the recent patch of setting a new timeout broken? Or if not, the chat should say connected again I would assume.

PS: Not sure this is related to topic (12152 error) at all.
Last edited by mkoch on Mon Mar 27, 2006 9:07 am, edited 1 time in total.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby phpfreechat » Wed Mar 29, 2006 7:49 pm

Good news, the 12152 bug is now fixed in the pfc subversion repository !
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby mkoch » Wed Mar 29, 2006 8:31 pm

This is excellent news. Thanks alot!
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Next

Post a reply
23 posts • Page 1 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 22 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub