coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: vegascoug on November 10, 2005, 09:04:31 PM

Title: Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in
Post by: vegascoug on November 10, 2005, 09:04:31 PM
Getting this error

Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in

I am trying to integrate Coppermine with SMF forum.  I have the following set in my smf.inc.php file:

define('SMF_DB_NAME', $user_221241); // The name of the database used by the board
define('SMF_DB_HOST', $localhost); // The name of the database server
define('SMF_DB_USERNAME', $221241_scrapsoup); // The username to use to connect to the database
define('SMF_DB_PASSWORD', $**********); // The password to use to connect to the database

It seems to have a problem with the username (DB_USERNAME) and I am not sure why.

From the SMF config settings:

Server on which the database resides:  10.0.11.40
Database Username:  221241_scrapsoup
Database Password: ***********
Database Name:  user_221241

Both work independently, but not bridged.  What am I doing wrong?

URL:  www.thescrapbooksoup.com/smf/
URL: www.thescrapbooksoup.com/coppermine/
Title: Re: Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in
Post by: Nibbler on November 10, 2005, 11:15:18 PM
You only need to edit the path, nothing else.
Title: Re: Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in
Post by: vegascoug on November 10, 2005, 11:43:19 PM
Thanks, once again making life more dificult than it has to be.  MAN that was a lot easier than phpBB, at least it seems to be.

COOL!