Jump to content

Recommended Posts

Posted

Salut! Am luat si eu panelul BigZone 1.21: 

Am conectat la baza de date si imi da eroare cand intru pe site: 'Avem o problema tehnica. Revenim in cel mai scurt timp posibil.

De ex: La host am:

Server/Host: 127.0.0.1

Username: server_1234

Database name: server_1234_da

Parola: 1234567890

La panel am adaugat: 

            'host'         =>    '127.0.0.1',
            'username'     =>     'server_1234',
            'dbname'     =>     'server_1234_da',
            'password'     =>     '1234567890'

Ce este gresit de imi da acea eroare?

 

 

Posted
2 minutes ago, LucaAdv. said:

ai mentenanta.php sau cv de genu, sterge-o si iti merge !

Nu, in config.class este asta: 

	private function __construct() {
		$db['mysql'] = array(
			'host' 		=>	'localhost',
			'username' 	=> 	'root',
			'dbname' 	=> 	'bigzoneultimate',
			'password' 	=> 	''
		);

		try {
			self::$g_con = new PDO('mysql:host='.$db['mysql']['host'].';dbname='.$db['mysql']['dbname'].';charset=utf8',$db['mysql']['username'],$db['mysql']['password']);
			self::$g_con->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
			self::$g_con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
		} catch (PDOException $e) {
			@file_put_contents('error_log',@file_get_contents('error_log') . $e->getMessage() . "\n");
			die('<div class="alert alert-danger"><br />Avem o problema tehnica. Revenim in cel mai scurt timp posibil.</div>');
		}
		self::_getUrl();
		self::arrays();
	}

 

Posted
5 minutes ago, LucaAdv. said:

da-mi server_log

 SQLSTATE[HY000] [2002] Connection refused

Posted
1 minute ago, LucaAdv. said:

e clar, nu e conectat panelul bine !

Uita-te mai sus, nu am conectat corect?

Posted
1 minute ago, LucaAdv. said:

pai nuj, cum sunt datele date !

Da discordul tau, pls.

Posted
5 minutes ago, LucaAdv. said:

LucaAdv#9084

Nu merge. Da-mi tu cerere: FeVosFeR#6400

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.