Re: [PHPOpenChat-Users] chat room almost live
Brought to you by:
letreo
|
From: Michael O. <mic...@pi...> - 2003-07-28 12:18:47
|
within class.Chatter.inc replace the line 1514 with:
$uri = (isset($_SERVER['REQUEST_URI']))? $_SERVER['REQUEST_URI']:
$_SERVER['PHP_SELF'];
preg_match('#^(.*)/register\.php.*$#', $uri, $parts);
unset($uri);
Andrew Miller wrote:
> Hi there and thank you for the chat software.
>
> I have installed it at
> http://www.thepowerstation.net/phpopenchat-3.0.0b2 and after a couple of
> days of working at it everything basically works however I have one or
> two issues i wonder if anybody can help with...
>
> When a user registers it works fine except that on the register
> confirmation page i get the message:
>
> Notice: Undefined index: REQUEST_URI in
> d:\sites\thepowerstation.net\html\phpopenchat-3.0.0b2\include\class.Chatter.inc
> on line 1514
>
> Notice: Undefined offset: 1 in
> d:\sites\thepowerstation.net\html\phpopenchat-3.0.0b2\include\class.Chatter.inc
> on line 1515
>
> Warning: Cannot add header information - headers already sent by (output
> started at
> d:\sites\thepowerstation.net\html\phpopenchat-3.0.0b2\include\class.Chatter.inc:1514)
> in d:\sites\thepowerstation.net\html\phpopenchat-3.0.0b2\register.php on
> line 147
>
> Warning: Cannot add header information - headers already sent by (output
> started at
> d:\sites\thepowerstation.net\html\phpopenchat-3.0.0b2\include\class.Chatter.inc:1514)
> in
> d:\sites\thepowerstation.net\html\phpopenchat-3.0.0b2\include\class.Template.inc
> on line 217
>
> The registration works and the email is sent but I can't seem to get rid
> of this which is stopping me opening the chat room to the world.
>
> I have still to figure out how to change the font sizes on some of the
> text, reword a few things (like the header) and change the smilies but
> it is all very good apart from that one error message.
>
> Andy
>
>
>
--
Pixelpark AG . . . . . . Systems & Technology / Webdevelopment
Michael Oertel . . . . . Software Engineer / Apprentice Instr.
Rotherstraße 8 . . . . . 10245 Berlin . . . . . . . . . . . .
Tel: +49 30 5058-1242 . . Fax: +49 30 5058-1355 . . . . . . . .
MD5 Fingerprint: DA:69:D8:7E:07:89:16:08:CD:59:63:5C:90:99:15:10
"Those who don't read have no advantage over those who can't."
- Mark Twain
|