CPG 1.2/IPB 1.3 how to do it? CPG 1.2/IPB 1.3 how to do it?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CPG 1.2/IPB 1.3 how to do it?

Started by safer, May 25, 2004, 12:51:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

safer

init.inc
define('COPPERMINE_VERSION', '1.2.0 - final');
// User database integration
// Uncomment the applicable line if you want to use it
// define('UDB_INTEGRATION', 'phpbb');
define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin');
// define('UDB_INTEGRATION', 'yabbse');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
// Start output buffering
ob_start();
// Report all errors except E_NOTICE
// This is the default value set in php.ini
// error_reporting (E_ALL ^ E_NOTICE);

cpg_redir
<?php
if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/myfriend';
header("Location: http://".www.china.com.$cpg_path);
exit;
?>

wrong:

Coppermine critical error:
Unable to connect to Invision Board database !

MySQL said: Access denied for user: 'root@localhost' (Using password: NO)

how to do it?

webwiz2010