Galaxy GunZ's website.

Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 67
  1. #26
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    I recorded a small video yesterday.
    Fix for Fatal error: Call to undefined function mssql_connect() - YouTube

    Code:
    ntwdblib.dll : http://www.mediafire.com/?g8g2bf2tgtd67u3
    
    1.Put the DLL in php6, Apache 2.2, bin (found in the "Apache 2.2").
    2.Open up the php.ini and remove the ";" before these lines :
                                                        extension=php_ming.dll
                                                        extension=php_mssql.dll
    
    3.You restart your apache server.
    Last edited by Vusion; 13-09-11 at 08:40 PM.

  2. #27
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Thread updated.

  3. #28
    Member yawamo is offline
    MemberRank
    Apr 2011 Join Date
    58Posts

    Re: Galaxy GunZ's website.

    sir help me i have this error

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzonline3\includes\class_config.php on line 10

    i follow the instruction but same problem..

    ---------- Post added at 08:14 AM ---------- Previous post was at 08:06 AM ----------

    please help me i got this error

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzonline3\includes\class_config.php on line 10

  4. #29
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Quote Originally Posted by yawamo View Post
    sir help me i have this error

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzonline3\includes\class_config.php on line 10

    i follow the instruction but same problem..

    ---------- Post added at 08:14 AM ---------- Previous post was at 08:06 AM ----------

    please help me i got this error

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzonline3\includes\class_config.php on line 10
    Please post your class_config.php.

  5. #30
    Member yawamo is offline
    MemberRank
    Apr 2011 Join Date
    58Posts

    Re: Galaxy GunZ's website.

    <?php
    session_start();
    date_default_timezone_set('Europe/Amsterdam');
    /**************************************/
    // Configuration -> Galaxy GunZ //
    /************************************/

    // Settings to connect to the database. //
    $_CONFIG['host'] = "mysql;
    $_CONFIG['user'] = "sa";
    $_CONFIG['pass'] = "mypassword";
    $_CONFIG['dbn'] = "GunzVG";

    // Site online/offline. 1 = on, 0 = off.
    $_CONFIG['mode'] = 1;
    $_CONFIG['modemsg'] = "<br /><br /><center>Website is currently turned off.</center>";

    $con = mssql_connect($_CONFIG['host'], $_CONFIG['user'], $_CONFIG['pass']) or die("Failed to connect to the database!");
    mssql_select_db($_CONFIG['dbn'], $con) or die("Failed to select the database!");

    if($_CONFIG['mode'] == 0)
    {
    die($_CONFIG['modemsg']);
    }
    $host = "mysql";
    $user = "sa";
    $pass = "mypassword";
    $dbname = "GunzVG";

    $connect = odbc_connect("Driver={SQL Server};Server={$host}; Database={$dbname}", $user, $pass) or die("Can't connect the MSSQL server.");
    $emblemfolder = "emblem"; //Emblem folder for the emblem uploader.
    $servername = "my GunZ"; //The title of the website.
    $downloadlink = "http://multiupload.com"; //Download link for the navbar and side links.
    $forumlink = "Http://forum.ragezone.com"; //Forum link for the navbar.
    $votelink = "http://top200.top-site-list.com/vote380.html"; //Vote link for the navbar.
    $matchserverport = 6000; //Leave it the way it is if you don't know what it is.
    $matchagentport = 7777; //Leave it the way it is if you don't know what it is.
    ?>
    Help me how to fix this line error,,i like your web....

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

    Re: Galaxy GunZ's website.

    Don't know if this is correct;

    Well it's talking about your MSSQL Login: "sa"

    Make sure that your host is your MSSQL address of your database
    Ex:
    $host: <My Computer Name>\SQLEXPRESS

  7. #32
    Member yawamo is offline
    MemberRank
    Apr 2011 Join Date
    58Posts

    Re: Galaxy GunZ's website.

    ok i try to put \sqlexpress

    ---------- Post added at 04:47 AM ---------- Previous post was at 04:41 AM ----------

    i got same errors,, i dont know why,, please help me...

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

    Re: Galaxy GunZ's website.

    what is your computer name?

    For example, my computer name is ANKU-PC

  9. #34
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    This is my host:
    Code:
    $_CONFIG['host'] = "TOPSECRET-PC\SQLEXPRESS";
    How to know yours?




    EDIT: OHMYGOD,
    You typed
    Code:
    $_CONFIG['host'] = "mysql;
    It should be
    Code:
    $_CONFIG['host'] = "PCNAME\SQLEXPRESS";

  10. #35
    Newbie Drema is offline
    MemberRank
    Oct 2011 Join Date
    2Posts

    Re: Galaxy GunZ's website.

    Soft and good-looking website, i like it. Thanks.

  11. #36
    Member yawamo is offline
    MemberRank
    Apr 2011 Join Date
    58Posts

    Re: Galaxy GunZ's website.

    $_CONFIG['host'] = "RAINOPC\SQLEXPRESS";

    but same error i dont know why?

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

    Re: Galaxy GunZ's website.

    Go to your system via Control Panel and look for your computer name.

  13. #38
    Elite Member wayutok is offline
    Member +Rank
    Oct 2011 Join Date
    198Posts

    Re: Galaxy GunZ's website.

    yeahh my pc name is RAINOPC

  14. #39
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Don't follow Jirachi's information, no offense, Jirachi. It's just he doesn't realize that the host isn't always the PC name. I just didn't feel like correcting him since the thread was getting dead.

  15. #40
    Ecchi addicted adz28 is offline
    Grand MasterRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    Re: Galaxy GunZ's website.

    Log to MSSQL using windows autentification, create a query and execute this
    Code:
    SELECT HOST_NAME() AS HostName
    that will give you the host name.
    In some strange cases you don't need to put "\SQLEXPRESS" so try it ._., also be sure your SA user is active.

  16. #41
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Quote Originally Posted by adz28 View Post
    Log to MSSQL using windows autentification, create a query and execute this
    Code:
    SELECT HOST_NAME() AS HostName
    that will give you the host name.
    In some strange cases you don't need to put "\SQLEXPRESS" so try it ._., also be sure your SA user is active.
    No offense, but what's the point of replying if you haven't read other replies.

  17. #42
    Ecchi addicted adz28 is offline
    Grand MasterRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    Re: Galaxy GunZ's website.

    I've read the replies, atleast i understood, he's still having connection problems from web to mssql and probably he's hostname is bad, just saying because i had that problem before with MSSQL 2k8. If i'm wrong then all i can say is sry :/.

  18. #43
    Elite Member wayutok is offline
    Member +Rank
    Oct 2011 Join Date
    198Posts

    Re: Galaxy GunZ's website.

    I use this settings but same error $_CONFIG['host'] = "RAINOPC\SQLEXPRESS";

    I use this settings but still same error $_CONFIG['host'] = "RAINOPC";


    grrr i dont know how to fix this..

  19. #44
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Quote Originally Posted by wayutok View Post
    I use this settings but same error $_CONFIG['host'] = "RAINOPC\SQLEXPRESS";

    I use this settings but still same error $_CONFIG['host'] = "RAINOPC";


    grrr i dont know how to fix this..
    What's the error o-o? And totally ignore the posts about the PC thingy, error fixes should be in the main thread.

  20. #45
    Elite Member wayutok is offline
    Member +Rank
    Oct 2011 Join Date
    198Posts

    Re: Galaxy GunZ's website.

    my error is
    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzwebsite\includes\class_config.php on line 10

  21. #46
    Hi, I'm Omar! Vusion is offline
    Grand MasterRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Quote Originally Posted by wayutok View Post
    my error is
    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzwebsite\includes\class_config.php on line 10
    Post your class_config.php in code tags, please.

  22. #47
    Elite Member wayutok is offline
    Member +Rank
    Oct 2011 Join Date
    198Posts

    Re: Galaxy GunZ's website.

    <?php
    session_start();
    date_default_timezone_set('Europe/Amsterdam');
    /**************************************/
    // Configuration -> Bone GunZ //
    /************************************/

    // Settings to connect to the database. //
    $_CONFIG['host'] = "RAINOPC;
    $_CONFIG['user'] = "sa";
    $_CONFIG['pass'] = "Bgunz";
    $_CONFIG['dbn'] = "GunzBG";

    // Site online/offline. 1 = on, 0 = off.
    $_CONFIG['mode'] = 1;
    $_CONFIG['modemsg'] = "<br /><br /><center>Website is currently turned off.</center>";

    $con = mssql_connect($_CONFIG['host'], $_CONFIG['user'], $_CONFIG['pass']) or die("Failed to connect to the database!");
    mssql_select_db($_CONFIG['dbn'], $con) or die("Failed to select the database!");

    if($_CONFIG['mode'] == 0)
    {
    die($_CONFIG['modemsg']);
    }
    $host = "RAINOPC";
    $user = "sa";
    $pass = "bgunz";
    $dbname = "GunzBG";

    $connect = odbc_connect("Driver={SQL Server};Server={$host}; Database={$dbname}", $user, $pass) or die("Can't connect the MSSQL server.");
    $emblemfolder = "emblem"; //Emblem folder for the emblem uploader.
    $servername = "bone gunz"; //The title of the website.
    $downloadlink = "http://multiupload.com"; //Download link for the navbar and side links.
    $forumlink = "Http://forum.ragezone.com"; //Forum link for the navbar.
    $votelink = "http://top200.top-site-list.com/vote380.html"; //Vote link for the navbar.
    $matchserverport = 6000; //Leave it the way it is if you don't know what it is.
    $matchagentport = 7777; //Leave it the way it is if you don't know what it is.
    ?>

    please help me...

  23. #48
    Member jeries is offline
    MemberRank
    Jun 2011 Join Date
    29Posts

    Re: Galaxy GunZ's website.

    Hey i need help please i still get the Call to undefined mssql_connect error i did what you said still didnt work. im using xampp

  24. #49
    Pee Aitch Pee Dave is offline
    Grand MasterRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: Galaxy GunZ's website.

    @jeries
    Use XAMPP and enable the php_mssql.dll extension.

    @wayutok
    Look at your $_CONFIG['host'] line.
    $_CONFIG['host'] = "RAINOPC;

    You forgot a " at the end.
    $_CONFIG['host'] = "RAINOPC";

  25. #50
    Newbie CampingFaggot is offline
    MemberRank
    Oct 2011 Join Date
    22Posts

    Re: Galaxy GunZ's website.

    This website has to many minor errors.



Page 2 of 3 FirstFirst 123 LastLast

Advertisement