config.inc.php config.inc.php
 

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

config.inc.php

Started by debragrant, September 17, 2008, 01:57:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

debragrant

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?

<?php

    define 
'SILLY_SAFE_MODE' ) ;

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

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

?>

debragrant

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

Nibbler

You have a backtick instead of a single quote after localhost.