Actually it does Robert. Parachat.com check it out, they made a Mod for this forum. I have asked them about that they told me to come here. So, I'm only doing as I was told.Lumpy Burgertushie wrote:this has nothing to do with phpbb. that error above is saying that the user trying to access the database does not have permission to do so.
I have never heard of parachat, but I would assume that somewhere in the install process it asks for your database name/username/password so it can access the database. If you are getting that same error as above, then whatever you put in those fields during the parachat install is not correct.
robert
Lumpy Burgertushie wrote:did you download the phpbb plugin for it?
personally, I wouldn't associate with a site that pops up so many different windows that it is hard to dismiss them all and see what is on the page. also, you can't do anything without creating an account.
just bad business. anyway, if you have some instructions about how to use the phpbb plugin etc. then send them to me in a PM and I will see what I can come up with.
hopefully you did not pay for this. there are plenty of chats around for phpbb that are easy to install and work just fine.
robert
trace1301t wrote:[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 30: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'lesbianc'@'localhost' (using password: NO)
Code: Select all
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['enable']) . "' WHERE `setting` = 'enable_parachat';");
mysql_real_escape_string
has absolutely zero to do with phpBB. Have parachat fix their crappy code.Uhmmm, no it should be handled via a controller.The chat.php and chatauth.php files should be uploaded to the root of your phpBB installation.
There are no extensions in 3.0 If you read the http://service.parachat.com/knowledgeba ... hpBB3.html, the instruction are for a 3.0 board (like this 4½ years old topic )RMcGirr83 wrote:PS they haven't coded it to be an extension...at all.
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 45: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 45: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 46: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 46: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 47: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 47: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 48: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 48: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 49: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 49: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 50: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 50: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 51: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 51: mysql_real_escape_string(): A link to the server could not be established
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 52: mysql_real_escape_string(): Access denied for user 'ensignred'@'localhost' (using password: NO)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_parachat.php on line 52: mysql_real_escape_string(): A link to the server could not be established
Code: Select all
<?php
class acp_parachat
{
var $u_action;
var $new_config;
function main($id, $mode)
{
global $db, $user, $auth, $template;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix;
// Run SQL queries if parachat table doesn't exist
$result = $db->sql_query("SHOW TABLES LIKE '" . $table_prefix . "parachat'");
if (!$result->num_rows) {
$db->sql_query("
CREATE TABLE IF NOT EXISTS `" . $table_prefix . "parachat`
(
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`setting` varchar(32) NOT NULL,
`value` text NULL, PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9;");
$db->sql_query("
INSERT INTO `" . $table_prefix . "parachat` (`id`, `setting`, `value`) VALUES
(1, 'enable_parachat', '0'),
(2, 'site_id', ''),
(3, 'custom_applet_url', ''),
(4, 'room_width', '600'),
(5, 'room_height', '400'),
(6, 'default_room', 'Lobby'),
(7, 'additional_params', ''),
(8, 'allow_guests', '0');
");
}
switch ($mode) {
case 'index':
$this->page_title = 'ACP_PARACHAT';
$this->tpl_name = 'acp_parachat';
if ($_POST['submit']) {
$_POST['enable_parachat'] = (@$_POST['enable_parachat'] == "on") ? "1" : "0";
$_POST['allow_guests'] = (@$_POST['allow_guests'] == "on") ? "1" : "0";
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['enable']) . "' WHERE `setting` = 'enable_parachat';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['site_id']) . "' WHERE `setting` = 'site_id';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['applet_url']) . "' WHERE `setting` = 'custom_applet_url';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['width']) . "' WHERE `setting` = 'room_width';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['height']) . "' WHERE `setting` = 'room_height';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['room']) . "' WHERE `setting` = 'default_room';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['params']) . "' WHERE `setting` = 'additional_params';");
$db->sql_query("UPDATE `" . $table_prefix . "parachat` SET `value` = '" . mysql_real_escape_string($_POST['allow_guests']) . "' WHERE `setting` = 'allow_guests';");
}
$result = $db->sql_query("SELECT `setting`,`value` FROM `" . $table_prefix . "parachat`");
$settings = array();
while ($row = $db->sql_fetchrow($result)) {
$settings[$row['setting']] = $row['value'];
}
$template->assign_vars(array(
'ENABLE' => $settings['enable_parachat'],
'SITE_ID' => $settings['site_id'],
'APPLET_URL' => $settings['custom_applet_url'],
'WIDTH' => $settings['room_width'],
'HEIGHT' => $settings['room_height'],
'ROOM' => $settings['default_room'],
'PARAMS' => $settings['additional_params'],
'ALLOW_GUESTS' => $settings['allow_guests'])
);
break;
}
}
}
?>
Access denied for user 'ensignred'@'localhost'
?