syntax error, unexpected ”’ (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in /home/p1140439/public_html/panel/inc/config/Config.class.php on line 56 [closed]

Question

private static $instance;

public static $g_con;

public static $_url = array();

private static $_pages = array(
    'profile','staff','mentenanta', 'login', 'logout', 'notifications', 'lp', 'search', 'shop', 'factions', 'complaints', 'apply', 'applications', 'application','complaint', 'createcomplaint', 'admintools', 'clans', 'houses', 'business', 'houses', 'tickets', 'unbans', 'createunban', 'vehicles', 'newupdate', 'toppaint', 'leaderpanel', 'members', 'toppaint', 'topplayers', 'recover', 'factionlogs', 'stergelinku', 'updates'

);

public static $_PAGE_URL = 'https://ryl.ro/panel/';

public static $_IP = 'RPG.RYL.RO';

public static $_SITE_NAME = 'RPG.RYL.RO';

public static $_VERSION = '0.0.3';

public static $factions = array();

public static $logs = array();

public static $vehColors = array();

public static $facColors = array();

public static $namevehicles = array();

public static $ccat = array();

public static $jobs = array();

public static $_VIPCARS = '1';

private function __construct() {

    $db['mysql'] = array(

        'host'      =>  '188.212.100.198', 
        'username'  =>  'client457_samp',
        'password'  =>  'rtAvL63nO59tYy',
        'dbname'    =>  'client457_samp''

    );



    try {

        self::$g_con = new PDO('mysql:host='.$db['mysql']['host'].';dbname='.$db['mysql']['dbname'].';charset=utf8',$db['mysql']['username'],$db['mysql']['password']);

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/syntax-error-unexpected-t_constant_encapsed_string-expecting-in-home-p1140439-public_html-panel-inc-config-config-class-php-on-line-56-closed/">

syntax error, unexpected ''' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /home/p1140439/public_html/panel/inc/config/Config.class.php on line 56 [closed]</a>
0
Sathyr 2 months 0 Answers 50 views 0

Leave an answer