Results 1 to 6 of 6

Thread: i got 2 questions

  1. #1
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    133
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default i got 2 questions

    why is php not giving errors anymore? it just shows up as a blank screen... is this normal?
    http://www.insanecombat.com << bored? check out ma game

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    an error will be reported... it just may not display on your screen. I would talk to your host and ask them if they have changed the settings, but the interpreter will always log errors and warnings.

  3. #3
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    133
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default

    like if i spelled something wrong and put <?php mysql_connect(select frm hello) or die ("Cant connect"); ?>

    it wont even put the die... it just shows a white blank screen
    http://www.insanecombat.com << bored? check out ma game

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You may change the error reporting in your php.ini settings, or in the script with error_reporting(E_ALL); at the top of your script(s).
    You may also occasionally get no output if an error is wrong enough, in that it may completely confuse the script to where it doesn't reach outputting an error.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The errors may be logged in a log file.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Feb 2007
    Location
    Earth
    Posts
    133
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default

    ok thanks
    http://www.insanecombat.com << bored? check out ma game

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •