• 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

Loads fine on my PC, loadchat fails on other PCs

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

Post a reply
5 posts • Page 1 of 1

Postby dmg » Fri Dec 03, 2010 12:13 am

Hi everyone!

On my machine PFC works great on FF, IE and Chrome. Using Windows 7. On my neighbouring PC, using Vista, the chat will not load on FF or IE (no chrome to test). It loads fine on the office Mac as well. What matters is that it fails on my client's machine, using both FF and IE.

I made sure that teh vista machine and the windows 7 machine were running the same version of FF.

It appears from Firebug, that loadChat does not send a response.

Using php 5.3 and PFC 1.3, and nothing of note in $params

any ideas?
dmg
New member
 
Posts: 5
Joined: Fri Dec 03, 2010 12:07 am
Top

Postby dmg » Mon Dec 06, 2010 5:21 pm

Not idea anyone? I havent been able to figure it out at all. Except maybe that its something to do with Windows Vista? Does anyone else have it working with Vista?
dmg
New member
 
Posts: 5
Joined: Fri Dec 03, 2010 12:07 am
Top

Postby dmg » Mon Dec 06, 2010 5:41 pm

Just read another post with an slightly angry response for not including any code.

Code: Select all
<?php
   if( $userName == 'Guest' )
   {
      header( 'location:../index.php' );
   }
   error_reporting( E_ALL );

   require_once dirname(__FILE__)."/src/phpfreechat.class.php";
   $params = array();

   $params["title"] = "title here";
   $params["channels"] = array( "chan name" );
   $params['nick'] =  $userName;  // setup the intitial nickname
   $params['firstisadmin'] = false;
   $params['admins'] = array( 'admin' => 'password' );
   $params["isadmin"] = false; // makes everybody admin: do not use it on production servers ;)
   $params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
   $params["debug"] = true;
   $chat = new phpFreeChat( $params );
?>
  <title>Goddesses Chat Room - </title>
  <link rel="stylesheet" title="classic" type="text/css" href="chat/style/generic.css" />
  <link rel="stylesheet" title="classic" type="text/css" href="chat/style/header.css" />
  <link rel="stylesheet" title="classic" type="text/css" href="chat/style/footer.css" />
  <link rel="stylesheet" title="classic" type="text/css" href="chat/style/menu.css" />
  <link rel="stylesheet" title="classic" type="text/css" href="chat/style/content.css" />

<div class="content">
  <?php $chat->printChat(); ?>
  <?php if (isset($params["isadmin"]) && $params["isadmin"]) { ?>
    <p style="color:red;font-weight:bold;">Warning: because of "isadmin" parameter, everybody is admin. Please modify this script before using it on production servers !</p>
  <?php } ?>
</div>
dmg
New member
 
Posts: 5
Joined: Fri Dec 03, 2010 12:07 am
Top

Postby dmg » Mon Dec 06, 2010 5:51 pm

As another update, I downloaded Chrome for the Vista machine, and it DOES work there. So I seem to be back to square one insofar as its definitely nothing to do with Vista.

Hoping someone have an idea here, approaching wits end, and the client's patience is wearing thin!

Tia.
dmg
New member
 
Posts: 5
Joined: Fri Dec 03, 2010 12:07 am
Top

Postby dmg » Mon Dec 06, 2010 9:18 pm

You may close this thread if you wish, or it might prove useful should someone show up with an answer. I ran out of time so I switched to another free php chat solution which worked right out of the box.
dmg
New member
 
Posts: 5
Joined: Fri Dec 03, 2010 12:07 am
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 23 guests

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