the page is white and nothing happend

Discussion in 'PHP' started by Medes, Jul 10, 2008.

  1. #1
    Hi,
    I have created my first PHP site which is used for education. (PHP, iis 6, mysql).
    It has a logging page. when you logg on it opens a new page and loads many flash files and saves the answers to databas. sometimes it does not loads the flash files and when I close the new page to go back to logging page and Logg on again the new page will be white and it works and works, nothing happend.
    Thanks for your help.
     
    Medes, Jul 10, 2008 IP
  2. priyakochin

    priyakochin Banned

    Messages:
    4,740
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    0
    #2
    can u show some demo ?
    It may help us to understand more.
     
    priyakochin, Jul 10, 2008 IP
  3. 2slick

    2slick Peon

    Messages:
    73
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i think the default php.ini on IIS when you use their installer has short tags disabled, just enabled it.

    short tag:
    
    <?=$variable?>
    
    <?
    /*
    
    php code here
    */
    
    ?>
    
    
    Code (markup):
    long tags:

    
    <?php
    /*
    php code here
    
    */
    
    ?>
    
    
    Code (markup):
     
    2slick, Jul 10, 2008 IP
  4. revvi

    revvi Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Please double check the memory limit in php.ini too. Sometimes if it lacks of memory, it will only display white page.

    To see any error message related to the above problem, insert this line in the beginning of your code:

    error_reporting(E_ALL);
    PHP:
     
    revvi, Jul 10, 2008 IP