Anju beta web errors

Results 1 to 12 of 12
  1. #1
    Proficient Member Drkidvictor is offline
    MemberRank
    Jul 2011 Join Date
    New JerseyLocation
    174Posts

    Anju beta web errors

    Tried using Anju's newly released web but got this error..
    PHP Code:
    "") { $_LANGUAGE $_SESSION[Language]; } else { $_LANGUAGE $_MODE[LANG]; } if(file_exists("lang/{$_LANGUAGE}.php")) { include "lang/{$_LANGUAGE}.php"; } else { $_SESSION[Language] = $_MODE[LANG]; $_SESSION[LANG] = $_MODE[LANGSHORT]; redirect("{$_SERVER['HTTP_REFERER']}"); } if($_MODE[URI] == 0) { $URLLINK $_LINK[LOCAL]; } else { $URLLINK $_LINK[GUNZ]; } if(isset($_GET['gunz'])) { $do $_GET['gunz']; } else { $do "index"; } $_ACCOUNT mssql_fetch_row(mssql_query("SELECT AID, UserID, UGradeID, RegDate, Name, Email, Age, Sex, ZipCode, Address, Country, Cert, Question, Answer, Coins, ECoins, Tokens, ImgURL, BirthYear, BirthMonth, BirthDay FROM Account WHERE AID = '{$_SESSION[AID]}'")); include 'others/bbcodes.php'; echo '      '; echo ($_GET['gunz'] == 'register') ? '' ''; echo ($_GET['gunz'] == 'forums') ? " " ''; echo ($_GET['gunz'] == 'rebirth' || $_GET['gunz'] == 'event' || $_GET['gunz'] == 'vip' || $_GET['gunz'] == 'store') ? "" ''; echo 
    '
    ; include "include/header.php"; echo '
    '
    ; include "include/navigation.php"; if($_SESSION[AID] <> "") { include "include/block.php"; } if($_MODE[WEB] == 1) { if(file_exists("pages/gunz_".$do.".php")) { include "pages/gunz_".$do.".php"; } else { include "pages/gunz_unavailable.php"; } } elseif($_MODE[WEB] == 0) { if(!isset($_GET['gunz'])) { include "pages/gunz_index.php"; } else { include "pages/gunz_maintenance.php"; } } echo 
    '
    ; include "include/footer.php"; echo ''?> 
    Not really an error but web doesn't show just that shows...


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

    Re: Anju beta web errors

    Change every <? you can find to <?php.

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

    Re: Anju beta web errors

    Show an screen shot.

  4. #4
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Anju beta web errors

    Quote Originally Posted by Dave View Post
    Change every <? you can find to <?php.
    There shouldn't be any need to do that, the first time I set it up, there was no errors at all, so I'm guessing he's messed with the code.

    Please provide a screen shot so we can see what you mean.

  5. #5
    Valued Member WhatThePho is offline
    MemberRank
    Sep 2009 Join Date
    121Posts

    Re: Anju beta web errors

    I know nothing about Php but maybe its because he needs that ntwdblib.dll or something like that lol. I'm a newbie so ya

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

    Re: Anju beta web errors

    Quote Originally Posted by Chrisss View Post
    There shouldn't be any need to do that, the first time I set it up, there was no errors at all, so I'm guessing he's messed with the code.

    Please provide a screen shot so we can see what you mean.
    When he's seeing PHP code on the screen it means PHP short tags are disabled.

  7. #7
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Anju beta web errors

    Quote Originally Posted by Dave View Post
    When he's seeing PHP code on the screen it means PHP short tags are disabled.
    I understand that, but he must have disabled them or something because I'm using them fine.

  8. #8
    Proficient Member Drkidvictor is offline
    MemberRank
    Jul 2011 Join Date
    New JerseyLocation
    174Posts

    Re: Anju beta web errors

    Quote Originally Posted by Drkidvictor View Post
    Tried using Anju's newly released web but got this error..
    PHP Code:
    "") { $_LANGUAGE $_SESSION[Language]; } else { $_LANGUAGE $_MODE[LANG]; } if(file_exists("lang/{$_LANGUAGE}.php")) { include "lang/{$_LANGUAGE}.php"; } else { $_SESSION[Language] = $_MODE[LANG]; $_SESSION[LANG] = $_MODE[LANGSHORT]; redirect("{$_SERVER['HTTP_REFERER']}"); } if($_MODE[URI] == 0) { $URLLINK $_LINK[LOCAL]; } else { $URLLINK $_LINK[GUNZ]; } if(isset($_GET['gunz'])) { $do $_GET['gunz']; } else { $do "index"; } $_ACCOUNT mssql_fetch_row(mssql_query("SELECT AID, UserID, UGradeID, RegDate, Name, Email, Age, Sex, ZipCode, Address, Country, Cert, Question, Answer, Coins, ECoins, Tokens, ImgURL, BirthYear, BirthMonth, BirthDay FROM Account WHERE AID = '{$_SESSION[AID]}'")); include 'others/bbcodes.php'; echo '      '; echo ($_GET['gunz'] == 'register') ? '' ''; echo ($_GET['gunz'] == 'forums') ? " " ''; echo ($_GET['gunz'] == 'rebirth' || $_GET['gunz'] == 'event' || $_GET['gunz'] == 'vip' || $_GET['gunz'] == 'store') ? "" ''; echo 
    '
    ; include "include/header.php"; echo '
    '
    ; include "include/navigation.php"; if($_SESSION[AID] <> "") { include "include/block.php"; } if($_MODE[WEB] == 1) { if(file_exists("pages/gunz_".$do.".php")) { include "pages/gunz_".$do.".php"; } else { include "pages/gunz_unavailable.php"; } } elseif($_MODE[WEB] == 0) { if(!isset($_GET['gunz'])) { include "pages/gunz_index.php"; } else { include "pages/gunz_maintenance.php"; } } echo 
    '
    ; include "include/footer.php"; echo ''?> 
    Not really an error but web doesn't show just that shows...
    i'm using Anju's newly released web Chris... Not the one you gave me :I.

  9. #9
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: Anju beta web errors

    Quote Originally Posted by Drkidvictor View Post
    i'm using Anju's newly released web Chris... Not the one you gave me :I.
    Yeah I can read you know, post a screen shot of it.

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

    Re: Anju beta web errors

    I need to see what your error is that you're encountering. Please show a screen shot or image of it not the PHP codes.

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

    Re: Anju beta web errors

    That is the error Anju, he hasn't enabled short tags for his PHP yet (it's disabled by default). So when using <? with it off, it will show the actual PHP code like it's outputting it.

    Quote Originally Posted by Dave View Post
    When he's seeing PHP code on the screen it means PHP short tags are disabled.
    Quote Originally Posted by Dave View Post
    Change every <? you can find to <?php.
    Quote for truth

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

    Re: Anju beta web errors

    Must be his web host software that he's using. I only tested it with AppServ. Sorry for misunderstanding.



Advertisement