[Help] Problem when install a web site

Results 1 to 5 of 5
  1. #1
    Member atossuper is offline
    MemberRank
    May 2012 Join Date
    50Posts

    [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?


  2. #2
    Member atossuper is offline
    MemberRank
    May 2012 Join Date
    50Posts

    Re: [Help] Problem when install a web site

    Quote Originally Posted by dooz220 View Post
    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?

  3. #3
    Sorcerer Supreme serend is offline
    Member +Rank
    Mar 2012 Join Date
    eurosro.coLocation
    338Posts

    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

  4. #4
    Member atossuper is offline
    MemberRank
    May 2012 Join Date
    50Posts

    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?

  5. #5
    Sorcerer Supreme serend is offline
    Member +Rank
    Mar 2012 Join Date
    eurosro.coLocation
    338Posts

    Re: [Help] Problem when install a web site

    try putting ip of server in or computer name like : MY-PC\SQLEXPRESS



Advertisement