Fatal error: Call to undefined function problem

Results 1 to 4 of 4
  1. #1
    Valued Member kellybang is offline
    MemberRank
    Oct 2008 Join Date
    192.168.1.1Location
    112Posts

    Fatal error: Call to undefined function problem

    good day guyz. im having problems with making the registration site. im using cuvvie's v15 files and im using TheJacob registration script and i keep having this error "Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\register.php on line 31"

    im using xampp 5.6 and already added php_pdo_sqlsrv_56_ts.dll and php_sqlsrv_56_ts.dll and edited my php.ini

    screenshots:







  2. #2
    Apprentice Bartjak is offline
    MemberRank
    May 2013 Join Date
    NetherlandsLocation
    21Posts

    Re: Fatal error: Call to undefined function problem

    Your username might be wrong?

    ./SQLEXPRESS ?

    instead of the . place your sqlexpress username that you use when you are logging in Management Studio

    Are you sure your SQL server is running?

  3. #3
    Enthusiast Ketchup is offline
    MemberRank
    Jan 2009 Join Date
    25Posts

    Re: Fatal error: Call to undefined function problem

    Quote Originally Posted by Bartjak View Post
    Your username might be wrong?

    ./SQLEXPRESS ?

    instead of the . place your sqlexpress username that you use when you are logging in Management Studio

    Are you sure your SQL server is running?
    Has nothing to do with this.

    Quote Originally Posted by kellybang View Post
    good day guyz. im having problems with making the registration site. im using cuvvie's v15 files and im using TheJacob registration script and i keep having this error "Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\register.php on line 31"

    im using xampp 5.6 and already added php_pdo_sqlsrv_56_ts.dll and php_sqlsrv_56_ts.dll and edited my php.ini

    screenshots:





    mssql_connect() does not work with php 5.6, youll need to find a new site script that uses ODBC or sqlsrv. You could also downgrade to php 5.2

    Anyways GL!
    Last edited by Ketchup; 08-06-18 at 08:01 PM.

  4. #4
    Valued Member kellybang is offline
    MemberRank
    Oct 2008 Join Date
    192.168.1.1Location
    112Posts

    Re: Fatal error: Call to undefined function problem

    Quote Originally Posted by Ketchup View Post
    mssql_connect() does not work with php 5.6, youll need to find a new site script that uses ODBC or sqlsrv. You could also downgrade to php 5.2

    Anyways GL!
    thanks. ill try downloading xampp with 5.2php version.

    - - - Updated - - -

    Quote Originally Posted by Ketchup View Post
    mssql_connect() does not work with php 5.6, youll need to find a new site script that uses ODBC or sqlsrv. You could also downgrade to php 5.2

    Anyways GL!
    the error got fixed. but now im having another error. im sure my mssql server and password is correct.

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: kelzjam-PC\SQLEXPRESS




    i used my virtual box setup.
    screenshot


    - - - Updated - - -

    update:
    connection fixed. this thread helped me. just downloaded the .dll

    http://forum.ragezone.com/f483/connect-mssql-server-please-help-1088050/#post8553340



Advertisement