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: Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in  (Read 6144 times)

0 Members and 1 Guest are viewing this topic.

vegascoug

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59

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/
« Last Edit: November 10, 2005, 11:45:33 pm by Nibbler »
Logged

Nibbler

  • Guest

You only need to edit the path, nothing else.
Logged

vegascoug

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59

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!
Logged
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 16 queries.