forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: debragrant on September 17, 2008, 01:57:09 pm

Title: config.inc.php
Post by: debragrant 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_';

?>
Title: Re: config.inc.php
Post by: debragrant on September 17, 2008, 02:11:15 pm
realised I was missing a ' but that hasn't changed anything now error on line 6
Title: Re: config.inc.php
Post by: Nibbler on September 17, 2008, 03:40:43 pm
You have a backtick instead of a single quote after localhost.