1 error inemisand's panl..

Results 1 to 5 of 5
  1. #1
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    1 error inemisand's panl..

    lol, i tried many changes in config.php ,, b ut ever i get the same error!!!

    This error (ude "config.php"; $aid = $_SESSION['AID']; $q1 = mssql_query("SELECT * FROM Account(nolock) WHERE AID = $aid"); $q2 = mssql_fetch_assoc($q1); $UGradeID = $q2['UGradeID']; if( $UGradeID != 252 and $UGradeID != 254 and $UGradeID != 255 ){ unset($_SESSION['AID']); die("Acceso no Autorizado");} ?> )


    and here a pic of the error http://i42.servimg.com/u/f42/11/82/86/31/lol11.jpg

    i use br jan server files & wamp5_1.6.6

    can any one help me???
    Last edited by Demantor; 17-07-08 at 12:55 AM.


  2. #2
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: 1 error inemisand's panl..

    and my register page,, same error!!! can not connect....!

    and server is working correctly.....www.crazygunz.tk lol

    just need some fixess..
    Last edited by Demantor; 17-07-08 at 12:56 AM.

  3. #3
    HeroGamers Developer emisand is offline
    MemberRank
    Mar 2006 Join Date
    UruguayLocation
    330Posts

    Re: 1 error inemisand's panl..

    The problem is with your php.ini (PHP's configuration file)

    You have to open php.ini, search for: short_open_tag, you will see that is set to Off, change it to On.
    Save php.ini and restart your webserver.

    Description of short_open_tag in php.ini:
    Code:
    ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
    ; NOTE: Using short tags should be avoided when developing applications or
    ; libraries that are meant for redistribution, or deployment on PHP
    ; servers which are not under your control, because short tags may not
    ; be supported on the target server. For portable, redistributable code,
    ; be sure not to use short tags.

  4. #4
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: 1 error inemisand's panl..

    ty,,,, but it is on.....
    Last edited by Demantor; 17-07-08 at 12:57 AM.

  5. #5
    Sultan of Yolo Demantor is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    1,266Posts

    Re: 1 error inemisand's panl..

    Quote Originally Posted by emisand View Post
    The problem is with your php.ini (PHP's configuration file)

    You have to open php.ini, search for: short_open_tag, you will see that is set to Off, change it to On.
    Save php.ini and restart your webserver.

    Description of short_open_tag in php.ini:
    Code:
    ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
    ; NOTE: Using short tags should be avoided when developing applications or
    ; libraries that are meant for redistribution, or deployment on PHP
    ; servers which are not under your control, because short tags may not
    ; be supported on the target server. For portable, redistributable code,
    ; be sure not to use short tags.
    er
    TY for that,, but i did that all and same errors!! anything more to do?!



Advertisement