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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.