Jump to content

Problema panel


 Share

Recommended Posts

  • Username: AdSense

Problema: Am niste erori in error_log si nu imi porneste panelul.

Imagini/Videoclipuri cu problema: Mai jos cu sursa.

Cod sursă:


[18-Jul-2018 05:24:16 Europe/Bucharest] PHP Warning:  include(inc/PDO.class.php): failed to open stream: No such file or directory in /home/ro4gaming/public_html/panel/index.php on line 6
[18-Jul-2018 05:24:16 Europe/Bucharest] PHP Warning:  include(): Failed opening 'inc/PDO.class.php' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/ro4gaming/public_html/panel/index.php on line 6
[18-Jul-2018 05:24:16 Europe/Bucharest] PHP Fatal error:  Class 'PDO' not found in /home/ro4gaming/public_html/panel/inc/Config.class.php on line 35

  • Alte detalii: Nu am.

Edited by AdSense
Link to comment
Share on other sites

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

 

linia 6: include 'inc/' . $class . '.class.php';

 

Panelul e bigzone.

Pe localhost imi porneste dar pe host nu.

Edited by AdSense
Link to comment
Share on other sites

cauta in partea de sus a paginii unde sunt definite: host, username, dbname si password si schimba-le cum le ai pe host, probabil sunt localhost default

 

Sunt datele bune de la host.

Daca deschid in localhost cu datele de la serverul de sa-mp imi merge dar pe web imi da erorile astea.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...