Flyff Earthquake V4 Hilfe!

10/15/2013 02:47 justin161591#1
Hallo Kann mir einer von euch bitte helfen ich probiere jetzt schon seit 10 Tagen aber ich kriegs einfach nicht hin. Ich habe folgendes Problem mit Flyff Earthquake V4:

Wenn ich auf meine Startseite 127.0.0.1/Shop gehe kommt folgende Fehlermeldung:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: (Mein PC)/SQLEXPRESS in C:\xampp\htdocs\Shop\login.php on line 27
Cannot connect to MSSQL Server.

Das ist die Zeile 27 von meiner login.php:
$mssql_con = mssql_connect($mssql_server, $mssql_username, $mssql_password);

Meine config.php:

PHP Code:
<?php
/*****************************************
**             Flyff Earthquake v4.0        **
**              inc/config.php            **
**           Created by Treachery.        **
*****************************************/
$enable_shop    true//Whether the shop is open or not. default: true

$mssql_server    "(Mein PC)/SQLEXPRESS"//MSSQL server and instance; ex: (COMPUTERNAME\SQLEXPRESS); default ".\SQLEXPRESS"
$mssql_username    "sa"//MSSQL username; default "sa"
$mssql_password    "Mein Passwort"//MSSQL password; default ""
$mssql_db['account'] = "ACCOUNT_DBF"//Account database; default "ACCOUNT_DBF"
$mssql_db['character'] = "CHARACTER_01_DBF"//Character database; default "CHARACTER_01_DBF"

$shopurl "C:/xampp/htdocs/Shop/index.php"//Base shop URL; default "./index.php"
$shop_title "FlyffEarthquake v4"//Title of the shop (when shown in a browser); default "FlyffEarthquake v4"
$new_window true//If set to true, upon logging in, the main shop will open in a popup window.

$editor_list = array("test","test2"); //Accounts allowed to edit the shop. There is no limit. "test","test2","test3"; default "test","test2"
$enable_edit true//Whether the shop is available for editing (mainly for demo site use); default true
$enable_search true//Whether the shop will allow searching or not; default true

$client_salt "kikugalanet"//Your client's salt; default "kikugalanet"
$cash_row "cash"//row that stores cash points (in ACCOUNT_TBL); default "cash"
$cash_name "dPoints"//Name of cash currency; default "dPoints"
$cash_name_min "dP"//Shortened version of cash currency; default "dP"

$popular 0//Popular item. Set to the list ID of an item, 0 to show the most purchased item; default 0

$paragraph['notice'] = 'All though some Flyff Premium Shop items can be purchased with "Penya", quite a bit of these Premium Items cannot be acquired with "Penya", instead, you must purchase gPoints. To purchase gPoints, you may choose from several separate payment options.<br/><span class="highlight">There is NO REFUND for gPoints!</span><br/>
        For inqueries regarding Billing, please contact us at <a href="mailto:[Only registered and activated users can see links. Click Here To Register...]">[Only registered and activated users can see links. Click Here To Register...]</a>.'
//Notice paragraph on the main page
$paragraph['warning'] = 'Do not disclose to anyone your personal billing information and history. Doing so places yourself <br/>at risk of fraud. All accounts found to be fraudulent and/or in violation of our Terms of Sevice is<br/> subject to immediate termination without compensation. All violators will be prosecuted and <br/>punished to the full existant of federal and state laws.</p>
                                <p><b>Attention!</b><br/>Please be aware that we, ExampleServer, will limit/restrict any players via IP (meaning they
        will no longer be able to connect and play on Example Flyff) due several reasons, such as banishment due to common hacking areas or fradulent transactions from a location.'
//Warning paragraph on the main page

$max_items 6//Max items per page; default 6
$max_list 10//Max number of pages to link at the bottom; default 10
$max_panel_list 8//Max items to be listed per page in the panel; default: 8
$show_count=array('G','H','I','J','K','L','P','X','Y'); //Pages to show item counts on by the name; default 'G','H','I','J','K','L','P','X','Y'
$gift_title false//If the player is sending an item as a gift, the "ITEM DETAILS" header will read "SEND GIFT"; default false

if(stristr($_SERVER['PHP_SELF'], "config.php"))
    
header("Location: ../");
?>
Ich hoffe eine von euch kann mir helfen.

PS.: Habe Xampp Version 1.6.8 bis 1.7.3 durchprobiert selbes ergebnis und in der php.ini von Xampp mssql aktiviert. Vielen Danke im Vorraus Justin
10/15/2013 10:28 Sedrika#2
Liegt am Slash ( "/" ), mach daraus ein Backslash ( "\" ) und es geht.
10/15/2013 20:49 justin161591#3
Habe ich gemacht das ist das Ergebnis:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server:
(Mein PC)\SQLEXPRESS in C:\xampp\htdocs\Shop\inc\functions.php on line 17
Cannot connect to MSSQL Server.

Zeile 17 von functions.php

$mssql_con = mssql_connect($mssql_server, $mssql_username, $mssql_password); //Attempt connection to MSSQL server using above server location.

Genau wie vorhin login.php
10/15/2013 21:08 Deadline.#4
Die Daten sind wahrscheinlich falsch.
10/15/2013 21:09 Velmore#5
Quote:
"(Mein PC)/SQLEXPRESS"
denk mal nach...
10/15/2013 22:10 justin161591#6
Das ist der Originale auszug: TERRASYS/SQLEXPRESS die frage ist wo sind die Daten falsch der Mssql Server ist 100% richtig eingestellt und ich weiß nicht mehr weiter habe alles versucht.
10/16/2013 08:54 Velmore#7
Quote:
Cannot connect to MSSQL Server.
Quote:
der Mssql Server ist 100%
Dann würde es ja gehen. Nein. Es muss etwas falsch sein. Wenn die Datenbank auf dem Rechner ist wo die HP läuft, muss du kein PW und keinen User Name reinpacken. Versuchs ma ohne.
10/16/2013 23:33 justin161591#8
Egal wie ich es eintrage selbes ergebnis er bemängelt immer diese Funktion:

$mssql_con = mssql_connect($mssql_server, $mssql_username, $mssql_password); //Attempt connection to MSSQL server using above server location.

Kann es nicht sein das in diesem Eintrag ein Fehler liegt?

Mit SQL Server Management Studio Express kann ich direkt zu meinem Server (TERRASYS/SQLEXPRESS) mit Benutzername und Passwort connecten.
10/17/2013 07:32 xTwiLightx#9
Verwende statt mssql_connect lieger odbc_connect, ODBC ist ein weiter verbreiteter Standard und in PHP auch gut zu verwenden.
10/18/2013 01:38 justin161591#10
Habe ich versucht folgendes kommt dabei raus:

Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] Der Datenquellenname wurde nicht gefunden, und es wurde kein Standardtreiber angegeben, SQL state IM002 in SQLConnect in C:\xampp\htdocs\inc\functions.php on line 17
Cannot connect to MSSQL Server.
10/19/2013 21:49 justin161591#11
Das problem besteht weiterhin weiß keiner einen Rat?
10/20/2013 19:59 xTwiLightx#12
[Only registered and activated users can see links. Click Here To Register...]