Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 20:02

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Homepage connection prepared

Discussion on Homepage connection prepared within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
.Soυzα's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,891
Received Thanks: 1,244
Homepage connection prepared

Moin
Und zwar hab diesen Fehler wenn ich auf meine HP gehe.

Code:
Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /var/customers/webs/ni183496_1/hp1/index.php on line 15 Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 110 in /var/customers/webs/ni183496_1/hp1/index.php on line 16 Sorry, it could not connect to server be prepared.
Index.php (nur bis zeile 24!)
Code:
<?PHP

  if(!file_exists('./inc/config.inc.php'))
  {
    header('Location: install.php');
  }

  session_name("m2hp");
  session_start();
  
  require("./inc/config.inc.php");
  require("./inc/rights.inc.php");
  require("./inc/functions.inc.php");

  $sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS);
  $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS);
  
  if(!is_resource($sqlServ) OR !is_resource($sqlHp)) {
    exit("Sorry, it could not connect to server
be prepared.");
  }
  require("./inc/head.inc.php");
  echo '<?xml version="1.0"?>';
?>
.Soυzα is offline  
Old 12/23/2013, 14:03   #2
 
elite*gold: 200
Join Date: Apr 2012
Posts: 577
Received Thanks: 290
Deine Config Werte ohne Passwort währen Interessant, remote connect oder lokal ?
Wenn du lokal verbindest benutze doch mal localhost oder 127.0.0.1.
MartPwnS is offline  
Old 12/23/2013, 14:09   #3
 
.Soυzα's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,891
Received Thanks: 1,244
da bitte sehr. Ganz normal verbunden halt. wie ich es immer mache.

Jetzt kommt das hier

.Soυzα is offline  
Old 12/23/2013, 14:34   #4
 
elite*gold: 200
Join Date: Apr 2012
Posts: 577
Received Thanks: 290
Da kann ich dir nicht helfen, es fehlen die logs zu dem 500er da du ja anscheinend einen webspace gekauft hast...

Deutet auf Skriptfehler hin, kannst du dich mit einem ganz normalen mysql_connect oder mysqli_connect Befehl verbinden?

Firewall am root falsch konfiguriert?
MartPwnS is offline  
Old 12/23/2013, 14:36   #5
 
.Soυzα's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,891
Received Thanks: 1,244
Wie meinst du das mit normalen mysql_connect? Ich kann mich mit der Db verbinden Server connecten server ist on.
Firewall nicht wirklich.

Webpace ist von nitrado
.Soυzα is offline  
Old 12/23/2013, 14:41   #6
 
elite*gold: 200
Join Date: Apr 2012
Posts: 577
Received Thanks: 290
Einfach das hier in ne neue php Datei und mal schauen:

Quote:
$link = mysqli_connect("host","user","passw","database") or die("Error " . mysqli_error($link));
MartPwnS is offline  
Old 12/23/2013, 14:47   #7
 
.Soυzα's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,891
Received Thanks: 1,244
Hast du vielleicht Skype?
.Soυzα is offline  
Old 12/23/2013, 15:27   #8
 
Coniesan's Avatar
 
elite*gold: 1000
Join Date: Mar 2009
Posts: 1,407
Received Thanks: 1,005
PN mich mal in Skype, kann ja mal via TV drüber gucken!
Coniesan is offline  
Reply


Similar Threads Similar Threads
[WTS|EU] 9x 85 18x 525 Berufe [MOP prepared]
08/07/2012 - World of Warcraft Trading - 1 Replies
http://domain-portal24.de/images/moneybookers(2).j pg http://www.4gstore.de/layout/aqmforever_iphone_pa ypal.png _________________________________________________ _____________



All times are GMT +2. The time now is 20:02.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.