Galaxy GunZ's website.

Page 4 of 5 FirstFirst 12345 LastLast
Results 46 to 60 of 67
  1. #46
    Hi, I'm Omar! Vusion is offline
    MemberRank
    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.

  2. #47
    Proficient Member wayutok is offline
    MemberRank
    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...

  3. #48
    Enthusiast 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

  4. #49
    Pee Aitch Pee Dave is offline
    MemberRank
    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";

  5. #50
    Apprentice CampingFaggot is offline
    MemberRank
    Oct 2011 Join Date
    22Posts

    Re: Galaxy GunZ's website.

    This website has to many minor errors.

  6. #51
    Member Morality is offline
    MemberRank
    Aug 2010 Join Date
    Houston, TXLocation
    89Posts

    Re: Galaxy GunZ's website.

    Quote Originally Posted by CampingFaggot View Post
    This website has to many minor errors.
    If you don't like it, don't use it. Simple.



    --Thanks for the release.

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

    Re: Galaxy GunZ's website.

    Quote Originally Posted by CampingFaggot View Post
    This website has to many minor errors.
    I didn't have any problems using this. It works fine, except for the item mall/vip shop (like Vusion said).

  8. #53
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Thanks guys, and thanks Dave for helping this fella while I wasn't here.

    @CampingFaggot, where? simply reply here and I'll fix them if I had time.

    @Jirachi, I gave a sample "includes/shop.php", few edits here and there and it should work using dbo.CashShop.

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

    Re: Galaxy GunZ's website.

    Oh thanks, I thought I had to find a different shop.php.

  10. #55
    Novice tatsu is offline
    MemberRank
    Oct 2011 Join Date
    1Posts

    Re: Galaxy GunZ's website.

    I have a bug

    Notice: Undefined index: userid in ...\Gunz\includes\functions.php on line 296

  11. #56
    hey Irahnik is offline
    MemberRank
    Mar 2010 Join Date
    127.0.0.1Location
    1,680Posts

    Re: Galaxy GunZ's website.

    Wait. I just looked back at this. First four words in your post are "I have a story."

    ...

    Where in the name of pancakes is your story.

  12. #57
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Galaxy GunZ's website.

    Quote Originally Posted by Ironic. View Post
    Wait. I just looked back at this. First four words in your post are "I have a story."

    ...

    Where in the name of pancakes is your story.
    The story is the web, duh. Long time no see, Irvin.

    Quote Originally Posted by tatsu View Post
    I have a bug

    Notice: Undefined index: userid in ...\Gunz\includes\functions.php on line 296
    It's your Apache server's configurations or the PHP.ini. Not the web's fault.

    Undefined index PHP - Google‏

    GOOGLE, MY FRIEND.
    Last edited by Vusion; 11-01-12 at 05:06 PM.

  13. #58
    Kyura Ryukrey is offline
    MemberRank
    Jan 2010 Join Date
    ItalyLocation
    354Posts

    Re: Galaxy GunZ's website.

    How to execute the file SQL? and where? i am newbie
    Last edited by Ryukrey; 30-10-11 at 01:36 AM.

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

    Re: Galaxy GunZ's website.

    Quote Originally Posted by Ryukrey View Post
    How to execute the file SQL? and where? i am newbie
    Double click it, and it should open the MSSQL, hit connect then click F5.

  15. #60
    Novice mastergunz123 is offline
    MemberRank
    Oct 2011 Join Date
    1Posts

    Re: Galaxy GunZ's website.

    What do i need exactly to edit in shop.php and make it work?



Page 4 of 5 FirstFirst 12345 LastLast

Advertisement