Welcome to Geeklog, Anonymous Tuesday, April 16 2024 @ 11:23 pm EDT

Geeklog Forums

PhpMyChat doesn't work, please help!

Status: offline


Forum User
Registered: 04/06/04
Posts: 59
I installed phpmychat and everything seemed to be ok on installing. The admin page is also ok, I can create and delete rooms.

The problem is: when I click on the name of a chat room I obtain the "text" version of some php file in the browser window:

--------this is the output i receive-----------
// This is an example of what may be done to include phpMyChat into an
// existing web page, regardless of its name.
// You can also include such a file in a frameset.

// Lines below must be at the top of your file because 'index.lib.php3'
// sets headers and cookies.
$ChatPath = "chat/"; // relative path to chat dir, empty value if this
// file is in the same dir than the chat;


// You can put html head statements right after the "" tag.

// Both values are boolean. See explanations in 'index.lib.php3' file.

// If nothing other than phpMyChat is loaded in this page, or if you want
// to have the same background color as phpMyChat for the whole page,
// you have to modify the BODY tag to ''
// You can put html statements right after the "" tag or add
// php code here.

$Is_Error = (isset($Error));

if (isset($HTTP_COOKIE_VARS))
if (isset($HTTP_COOKIE_VARS["CookieUsername"])) $CookieUsername = $HTTP_COOKIE_VARS["CookieUsername"];
if (isset($HTTP_COOKIE_VARS["CookieRoom"])) $CookieRoom = $HTTP_COOKIE_VARS["CookieRoom"];
if (isset($HTTP_COOKIE_VARS["CookieRoomType"])) $CookieRoomType = $HTTP_COOKIE_VARS["CookieRoomType"];
$Username = (isset($CookieUsername) ? $CookieUsername : "");
$Room_name = (isset($CookieRoom) ? $CookieRoom : "");
$Room_type = (isset($CookieRoomType) ? $CookieRoomType : "");


// You can add php code here, or add html statements before the "" tag.

// The following line is required
----this is the end of the output i receive---------
admin of http://www.tampano.com

Status: offline


Forum User
Registered: 02/26/04
Posts: 33
I am getting the same thing. Anyone have a fix yet?

Status: offline


Forum User
Registered: 05/15/02
Posts: 9
I'm not sure if it helps, but it may be because all phpMyChat files have *.php3 extension. Some servers doesn't recognise this extension as php script and show the file content instead of executing the script. The solution is to rename all files to *.php (and change all internal links in phpMyChat scripts to point to the new names).

All times are EDT. The time is now 11:23 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content