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

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

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

Started by vegascoug, November 10, 2005, 09:04:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vegascoug

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/


vegascoug

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!