[Help] Problem when install a web site
Hello everyone i hope you can help me with sql problem. When i install it on my appache
Fatal error: Call to undefined function sqlsrv_connect() in C:\AppServ\www\reg\_inc\config.php on line 11
Also i filled all tables about database information , I do not know where the problem?
"/* Simple registration page for silkroad server, by Chernobyl
* Settings are at _inc/config.php
* If you get an mssql connection error, while defining totally correct data
* Just use older ntwdblib.dll for your webserver"
guys i even cant figure out where i have to put > ntwdblib.dll<
can someone explain me how can i make web site working please?
Re: [Help] Problem when install a web site
Quote:
Originally Posted by
dooz220
Hello everyone i hope you can help me with sql problem. When i install it on my appache
Fatal error: Call to undefined function sqlsrv_connect() in C:\AppServ\www\reg\_inc\config.php on line 11
Also i filled all tables about database information , I do not know where the problem?
"/* Simple registration page for silkroad server, by Chernobyl
* Settings are at _inc/config.php
* If you get an mssql connection error, while defining totally correct data
* Just use older ntwdblib.dll for your webserver"
guys i even cant figure out where i have to put > ntwdblib.dll<
can someone explain me how can i make web site working please?
#Solved by install wamp and replay ntwdblib.dll
but still problem appear in pages
Warning: include(.../main.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\webpage\templates\loginbox.php on line 16
Warning: include() [function.include]: Failed opening '.../main.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\webpage\templates\loginbox.php on line 16
other error when use other web page register
Notice: Use of undefined constant sql_host - assumed 'sql_host' in C:\wamp\www\reg\_inc\config.php on line 9
Notice: Use of undefined constant sql_user - assumed 'sql_user' in C:\wamp\www\reg\_inc\config.php on line 9
Notice: Use of undefined constant sql_pass - assumed 'sql_pass' in C:\wamp\www\reg\_inc\config.php on line 9
but database load and i can register account normal
any help?
Re: [Help] Problem when install a web site
well sql_host i guess you need to edit with your server address
Warning: include() [function.include]: Failed opening '.../main.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\webpage\templates\loginbox.php on line 16
open loginbox.php and edit line 16 to ../main.php
Re: [Help] Problem when install a web site
Thanks serend for trying helping me another error
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied., SQL state 08001 in SQLConnect in C:\wamp\www\web\Incluide\FTW.php on line 3
08001
any idea?
Re: [Help] Problem when install a web site
try putting ip of server in or computer name like : MY-PC\SQLEXPRESS