coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: kraei on May 30, 2005, 10:51:11 PM

Title: IPB Integration: unexpected T_STRING error
Post by: kraei on May 30, 2005, 10:51:11 PM
After editing init.inc.php and the bridge file

Quote
define('IB_DB_NAME', 'v5559_ipb'); // The name of the database used by the board
define('IB_BD_HOST', 'localhost'); // The name of the database server
define('IB_DB_USERNAME', 'v5559_ipb'); // The username to use to connect to the database
define('IB_DB_PASSWORD', 'xxxxx'); // The password to use to connect to the

database

// The web path to your Invision Board directory
// In this example http://yoursite_name.com/ivboard/
define('IB_WEB_PATH', '/forums/');

I get this when i try to access coppermine

QuoteParse error: parse error, unexpected T_STRING in /home/v5559/public_html/bridge/invisionboard.inc.php on line 34
Quote


Line34:
define('IB_WEB_PATH', '/forums/');

My coppermine is located in the /htdocs directory and my IPB is in /htdocs/forums. Also I have subdomain "forums" which goes to /htdocs/forums.

I would appreciate any help.
Thank you.





Title: Re: IPB Integration: unexpected T_STRING error
Post by: Tranz on May 30, 2005, 10:58:41 PM
Is the word 'database' really by itself in a line? Could you try correcting it so that it is in the same line as 'define('IB_DB_PASSWORD', 'xxxxx'); // The password to use to connect to the '?

The line you showed should really be line 32. However, with the 2 extra carriage returns, the line numbering will match, but it is incorrect.