IPB Integration: unexpected T_STRING error IPB Integration: unexpected T_STRING error
 

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

IPB Integration: unexpected T_STRING error

Started by kraei, May 30, 2005, 10:51:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kraei

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.






Tranz

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.