Advanced search  

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]

Pages: [1]   Go Down

Author Topic: IPB Integration: unexpected T_STRING error  (Read 2680 times)

0 Members and 1 Guest are viewing this topic.

kraei

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
IPB Integration: unexpected T_STRING error
« 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

Quote
Parse 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.





Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: IPB Integration: unexpected T_STRING error
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.