Re: [PHPOpenChat-Users] help
Brought to you by:
letreo
|
From: Michael O. <Mic...@pi...> - 2001-03-19 11:15:15
|
hi,
thanx for using PHPOpenChat!
At 14:46 06.03.01 +0400, you wrote:
>hi all
>
>i just downloaded the PHPOpenChat scripts
>and i am facing a lot of problems
>i did the database dumb and now i am trying to run the script
>
>i am using Windows98 with Apache, PHP4 and MySQL running
>
>i installed the scripts of the chat in the following dir
>c:\apache\htdocs\chat
>
>and i moved all the inculde files to be in the html dir becouze of the
>inculde error ..
that's okay.
>i did the following changes to the default_inc.php
>----------------------------------------------
>$CHATNAME =3D "chat";
>$MAX_NICK_LENGTH =3D 15;
>$FILE_EXTENSION =3D "php";
>$INSTALL_DIR =3D "/chat";
>$CHATSERVERNAME =3D "http://localhost";
be sure the chat will work at localhost only. better you use the correct=20
DNS-name.
>$tmp=3Dereg("^(http://[^/]*).*$",$HTTP_REFERER,$teil);
>$HTTP_REFERER_SERVER =3D $teil[1];
>$BACKGROUNDIMAGE =3D "images/hauskopf.gif";
>$DATABASENAME =3D "phpopenchat";
>$DATABASEHOST =3D "localhost";
>$DATABASEUSER =3D "phpopenchat";
>$DATABASEPASSWD =3D "password";
>--------------------------------------------
>
>but i am getting the following error why? do you think that it is from
>the
>Install dir?
>
>Warning: open(/tmp\sess_751a6f0aab12372b731b4c1d21ff17d9, O_RDWR)
>failed: m (2) in session_inc.php on line 6
>Error:
> Sorry, the chat room is too busy at this time. Try again to login!.
>Chat-HomePage
>Warning: Supplied argument is not a valid MySQL-Link resource in
>c:\apache\htdocs\chat\html\index.php on line 66
ahhh, you need a directory named "tmp" on dive C.
in a dos shell type:
> c:
> cd \
> mkdir tmp
that's it :)
regards,
michael
--=20
Pixelpark AG . . . . . Systems & Technology / Webdevelopment
Michael Oertel . . . . IT-Developer . . . . . . . . . . . .
Rotherstra=DFe 8 . . . . 10245 Berlin . . . . . . . . . . . .
Tel: +49 30 5058-1242 . Fax: +49 30 5058-1355 . ICQ: 8057112
Fingerprint:5993 7B79 718A B921 C042 12CD CCB9 5226 3109 0D2A
|