Connection Error MPOG Web.

Results 1 to 16 of 16
  1. #1
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Connection Error MPOG Web.

    Hi people, i'm hosting the MPOG web on my webdomain and the database is on my server. My problem is: It doesn't remotely connect. (Or i do it wrong way)

    I'm getting this exact error:
    Fatal error: Call to undefined function mssql_connect() in /home/restyleg/public_html/gunz/config.php on line 2




    Yes people i did search, no answers.


  2. #2

    Re: Connection Error MPOG Web.

    wesman2232's Unofficial Fix Thread.

  3. #3
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    Quote Originally Posted by Linear88 View Post
    wesman2232's Unofficial Fix Thread.
    I'm using remote connection. And i can't acces dll's or something. (i use webhosting)

  4. #4

    Re: Connection Error MPOG Web.

    Enable remote connections. Google that. It may take some time for it to work.

  5. #5
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    Quote Originally Posted by Linear88 View Post
    Enable remote connections. Google that. It may take some time for it to work.
    Already did that. But i'll walk al steps trough again. Thanx for trying to help ^^

    And any "tips" on how to put in my info?
    Like mssql_connect ("IP\SQLEXPRESS","sa","Password")
    or mssql_connect ("IP","sa","Password")

  6. #6
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Connection Error MPOG Web.

    Thanks Linear but Mambo is the second person that I know of that uses Remote-SQL I could not fix it for for the first one because wizkid set his up, I didn't know where the DB was (it wasn't on his comp) and his files was on the web-server (so I cant change any dll there D:)
    @Mambo if you host the files on your comp I might be able to help :D

  7. #7
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    Should i use TCP/IP or Piped? Or both?

  8. #8
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Connection Error MPOG Web.

    try TCP/IP first, then with Piped cause i think piped had something to do with ports, i cant remember the last time I tried to configure it.

  9. #9
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    Quote Originally Posted by wesman2232 View Post
    try TCP/IP first, then with Piped cause i think piped had something to do with ports, i cant remember the last time I tried to configure it.
    You are right. It has to be TCP/IP!

    And what about the ports? Something to do like (forwarding)? And do i've to set a port? But which one is used by MPOG web?

  10. #10
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Connection Error MPOG Web.

    normal website port?

  11. #11
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    Quote Originally Posted by wesman2232 View Post
    normal website port?
    I don't think so.

    Any others? (Wizkid maybe :P?)

  12. #12

    Re: Connection Error MPOG Web.

    Forward port 1433. Old >_>

  13. #13
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    Quote Originally Posted by Linear88 View Post
    Forward port 1433. Old >_>
    Did, doesn't work.

    I've to put it in the SQL Server options too? (Seen it somewhere, but i don't know HOW to configure it)

  14. #14
    Account Upgraded | Title Enabled! shadow-xx is offline
    MemberRank
    Jan 2007 Join Date
    MegatonLocation
    804Posts

    Re: Connection Error MPOG Web.

    In the host variable try

    "<ip/domein>:<port>" instead of "<ip/domein>"

  15. #15
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Connection Error MPOG Web.

    mssql_connect or connection to a remote MSSQL database isn't possible from a Linux (web)server to a windows db host? (At all?)
    My site is running on Linux..

  16. #16

    Re: Connection Error MPOG Web.

    Quote Originally Posted by Mambo View Post
    Did, doesn't work.

    I've to put it in the SQL Server options too? (Seen it somewhere, but i don't know HOW to configure it)
    I'm not running SQL Server right now, but I'll give a brief description.

    Forward port 1433.
    Go to SQL Server Configuration Manager.
    Enable the service SQL Server Browser. (or something named like that)
    Start it.
    Enable TCP/IP in the SQL Server Configuration Manager.
    Double click TCP/IP and check for IPAll. Change the Port to 1433. Leave Dynamic Ports to 0.
    Restart the SQL Server Database Engine/SQL Server Service.
    Now use SMSE and connect to the server by IP with login details.
    Tell me what happens.



Advertisement