Website SQL Error Problem!

Results 1 to 15 of 15
  1. #1
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Website SQL Error Problem!

    alright so this is what problem i get

    Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\secure\config.php on line 44




    LINE 44 IS:

    $con = mssql_connect($_MSSQL['Host'],$_MSSQL['User'],$_MSSQL['Pass']) or die("Cant Connect!");


    butttt, i typed my user pass host all right, it 100% right! i dont know my problem help!



    EDIT: every goddam website i try it gives me that stupid msql error, well similare, tell me that something is wrong, i typed my stuff in properly!
    Last edited by yurij13; 17-08-12 at 07:33 PM.


  2. #2
    Valued Member etropulus is offline
    MemberRank
    Jun 2012 Join Date
    118Posts

    Re: Website SQL Error Problem!

    Use Appserver.

  3. #3
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: Website SQL Error Problem!


  4. #4
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Re: Website SQL Error Problem!

    1) Put phpinfo(); on top of a page, and find out which php.ini file is being loaded.
    2) Open the php.ini file and remove the ; of ;php_mssql.dll
    3) Restart your web server.




    uhm, my php.ini doesnt even have ;php_mssql.dl

  5. #5
    Member skyness is offline
    MemberRank
    Nov 2010 Join Date
    VenezulaLocation
    59Posts

    Re: Website SQL Error Problem!

    use appserv :D

  6. #6
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Re: Website SQL Error Problem!

    appserve doesent make a difference.

  7. #7
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: Website SQL Error Problem!

    Code:
    ;extension=php_ming.dll
    ;extension=php_mssql.dll
    Remove the ";" (without the quotes) in that area that I put above.

    After that, you download this dll file (see attachments). Put it in three places (from what X-Weaver said or many others), "php6", "Apache", and "Apache/bin"

    Restart your Apache.

    If you're doing this in a MySQL webhost, I think it's possible to get it to work, but I am still working on that.
    Attached Files Attached Files

  8. #8
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Re: Website SQL Error Problem!

    Quote Originally Posted by Jirachi View Post
    Code:
    ;extension=php_ming.dll
    ;extension=php_mssql.dll
    Remove the ";" (without the quotes) in that area that I put above.

    After that, you download this dll file (see attachments). Put it in three places (from what X-Weaver said or many others), "php6", "Apache", and "Apache/bin"

    Restart your Apache.

    If you're doing this in a MySQL webhost, I think it's possible to get it to work, but I am still working on that.


    nope this did not work at all =(.
    still have



    Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\secure\config.php on line 44

  9. #9
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: Website SQL Error Problem!

    Try using AppServer instead of XAMP, I also had problems with XAMP. Just use AppServ 2.6.0 and follow the steps as I posted above.

  10. #10
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Re: Website SQL Error Problem!

    Quote Originally Posted by Jirachi View Post
    Try using AppServer instead of XAMP, I also had problems with XAMP. Just use AppServ 2.6.0 and follow the steps as I posted above.

    can you provide me with the AppServ 2.6.0 link?

    cause i cannot seem to find that version anywhere

  11. #11
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

  12. #12
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Re: Website SQL Error Problem!

    Quote Originally Posted by Jirachi View Post
    Try using AppServer instead of XAMP, I also had problems with XAMP. Just use AppServ 2.6.0 and follow the steps as I posted above.


    it just shows a white screen now with appsev =/. this makes me mad =/.


    u have skype?

  13. #13
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: Website SQL Error Problem!

    No, I don't have skype.

    I gave you the wrong link. Here; AppServNetwork - AppServ 2.5.10 and 2.6.0 with PHP6 New Released !!!

  14. #14
    Account Upgraded | Title Enabled! yurij13 is offline
    MemberRank
    Jul 2007 Join Date
    387Posts

    Re: Website SQL Error Problem!

    Quote Originally Posted by Jirachi View Post
    No, I don't have skype.

    I gave you the wrong link. Here; AppServNetwork - AppServ 2.5.10 and 2.6.0 with PHP6 New Released !!!

    tried it still nothing :/. just shows a white screen now :(..

  15. #15
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: Website SQL Error Problem!

    Which links you are clicking? Try to download them in Google Chrome or some other browser.



Advertisement