Hello,
I want to use the Sapphire Website on my Server, but somehow it can not connect to my MSQL 2012 Server. It uses Windows Auth!
I tried some different connectionstrings and noticed the odbc_error():
If you're using windows auth with ODBC, you better create a system data source name (DSN) and reference it in your odbc_connection string (you can leave out user and password then).
As driver, SQL Server Native Client and SQL Server should both do it. But Native Client is always better in terms of PHP compabitlity.
Your DSN name can be any, you decide.
Your server should be [COMPUTER / SERVERNAME]\SQLEXPRESS (if you are using SQL Server Express version, this is your name), but this is always correct:
Quote:
localhost\SQLEXPRESS
If the user you are connecting to SQL Server is your active user, you can use builtin NT authentication (which is what you want, I guess).
Else you should reference your NT User and Password in the ODBC_USER and ODBC_PASS constants, of course.
If this is not working, you'll have to stick to SQL Server auth.
Dir ist bekannt, dass die Sapphire FlyFF Webseite ab PHP 7 odbc_conntect Fehler ausgibt?
Abey hey, du weißt ja alles besser :*
Falls du es nicht wissen solltest (fk dann geht bestimmt auch die Welt unter)
Der Error Reporting gibt diesen Fehler ab PHP 7 aus: Call to undefined function odbc_connect()
Dir ist bekannt, dass die Sapphire FlyFF Webseite ab PHP 7 odbc_conntect Fehler ausgibt?
Abey hey, du weißt ja alles besser :*
Falls du es nicht wissen solltest (fk dann geht bestimmt auch die Welt unter)
Der Error Reporting gibt diesen Fehler ab PHP 7 aus: Call to undefined function odbc_connect()
Wenn das so wäre, würde gar kein Fehler wegen 'invalid credentials' oder 'cannot connect to server' ausgegeben, sondern der von dir besagte.
Ist das der Fall? Nein.
Und nein, Fehler gestackt wird nicht, weil ein nicht vorhandenes ODBC Modul keine ODBC-Fehler ("SQL Server 12345: Error XYZ") ausgeben kann.
Quote:
Originally Posted by Capt. Jack
EDIT:
I'm not sure but do I need a entry at the odbc-datasources?
I did it like the other dbs with "website" as name and WEBSITE_DBF as defaultdb.
EDIT2:
I heared that IIS dont want a Winauth.. so I set a password for sa. But it still give me that error :/
First: Yes, that's what I mentioned with DSN.
Second: It should be possible, since IIS is a windows application - why shouldn't it use Win NT Auth? It might be some configuration with it's FastCGI module or php.ini -> cgi settings.
I use PHP 7 and I got at first the error. But I already fixed it with
Code:
extension=php_odbc.dll
Quote:
Originally Posted by xTwiLightx
Wenn das so wäre, würde gar kein Fehler wegen 'invalid credentials' oder 'cannot connect to server' ausgegeben, sondern der von dir besagte.
Ist das der Fall? Nein.
Und nein, Fehler gestackt wird nicht, weil ein nicht vorhandenes ODBC Modul keine ODBC-Fehler ("SQL Server 12345: Error XYZ") ausgeben kann.
First: Yes, that's what I mentioned with DSN.
Second: It should be possible, since IIS is a windows application - why shouldn't it use Win NT Auth? It might be some configuration with it's FastCGI module or php.ini -> cgi settings.
Chyukαsame is right there was an error. But I already fixed that error.
I tried many configs with other DSNs.. One configuration works now. The server still uses Win Auth, but the Website has an own User for MSQL.
Quote:
Originally Posted by yazuka21
Offtopic sirs how to fix this error "Could not create output directory 'g:\program'. ??
Please help me!
ODBC der Website auf Remoteserver? 12/02/2014 - Flyff Private Server - 15 Replies Hallo,
ich wollte mal fragen wie ich die ODBC-Verbindung von PHP auf einen externen Server zeigen lasse. Habe auf dem MS SQL Server schon Remotezugriff per TCP/IP eingeschaltet da das denke ich mal von nöten sein wird.
Momentaner Versuch:
$odbc_connect = odbc_connect('DRIVER={SQL Server};Server=<hieripeintragen>;Database=SQ LEXPRESS;', ODBC_USER, ODBC_PASS);
About Sapphire FlyFF website 06/12/2014 - Flyff Private Server - 4 Replies this link: http://www.elitepvpers.com/forum/flyff-pserver-gui des-releases/3142307-release-support-sapphire-flyf f.html
The site release in here is safe to use??
release support sapphire if there's any backdoor?
Sapphire Flyff Website Reupload 11/17/2013 - Flyff Private Server - 4 Replies hey leute kann wer mal die:
Non-Cronjob Websitepaket von hier: http://www.elitepvpers.com/forum/flyff-pserver-gui des-releases/1820955-release-sapphireflyff-website .html reuploaden?
danke im vorraus ;)