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: config.inc.php  (Read 8035 times)

0 Members and 1 Guest are viewing this topic.

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
config.inc.php
« on: September 17, 2008, 01:57:09 pm »

Code: [Select]
Parse error: syntax error, unexpected T_STRING in /home/divahos/public_html/georgieparker/gallery/include/config.inc.php on line 7

So what is wrong with the below code?

Code: [Select]
<?php

    define 
'SILLY_SAFE_MODE' ) ;

    
$CONFIG['dbserver'] = 'localhost` ;
    $CONFIG['
dbuser'  ] = 'divahos_debrag ;
    
$CONFIG['dbpass'  ] = 'helen2006' ;
    
$CONFIG['dbname'  ] = 'divahos_copp6'   ;

    
$CONFIG['TABLE_PREFIX'] =                'cpg_';

?>
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: config.inc.php
« Reply #1 on: September 17, 2008, 02:11:15 pm »

realised I was missing a ' but that hasn't changed anything now error on line 6
Logged

Nibbler

  • Guest
Re: config.inc.php
« Reply #2 on: September 17, 2008, 03:40:43 pm »

You have a backtick instead of a single quote after localhost.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.