Jump to content
  • 0

Help la panel ;(


LucaAdv.

Question

Salut, acum am pus un panel pe un site si nu merge, in error_log imi apare :
 

[24-Jan-2019 10:32:34 Europe/Bucharest] PHP Fatal error:  Class 'PDO' not found in /home2/icegame/bluepanel/inc/Config.class.php on line 63



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

Ce pot face ?

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

 

GameMode Edited: gamemode

Servicii Scripting:

Contact:
Email: [email protected]
Discord: LucaAdv //  LHS#9084

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Pe hostul pe care-l ai trebuie sa dea update la PHP. Functiile PDO fiind de la o versiune de PHP mai mare.

 

Ai putea incerca sa adaugi:

extension=pdo.so

extension=pdo_sqlite.so

extension=sqlite.so

extension=pdo_mysql.so

 

in acel php.

 

Ia legatura cu cei de la WebHost

Edited by Gireada

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

  • 0

@Gireada imi da o eroare daca bag alea

[24-Jan-2019 11:02:38 Europe/Bucharest] PHP Parse error:  syntax error, unexpected 'extension' (T_STRING), expecting function (T_FUNCTION) in /home2/icegame/bluepanel/inc/Config.class.php on line 27

linia: extension=pdo.so

GameMode Edited: gamemode

Servicii Scripting:

Contact:
Email: [email protected]
Discord: LucaAdv //  LHS#9084

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.