SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    south
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Errors in new window

    I am using div tags for element placement. The problem is, when I get an error, the errors show behind the divs and I can't read them.

    Is there a way for a new window to be opened when an error occurs to display the error information?

  2. #2
    SitePoint Addict
    Join Date
    Feb 2003
    Location
    durango
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think there is anyway to open the error in a new window. Your best bet is to either move your divs so you can see the error or but the PHP in it's own div and layer it on top.

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2004
    Location
    south
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For those who might be having this problem, I found a class that opens a new window if you are in debugging mode or writes to the log file if not debugging mode. I just tested it and it works great. It can be found here: http://www.hotscripts.com/Detailed/29391.html.


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
  •