SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast cilverphox's Avatar
    Join Date
    Jan 2005
    Location
    Petoskey, MI
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What the deuce!?

    I don't understand and it's almost impossible to program with...it's driving me crazy.

    All of a sudden, PHP doesn't show errors. It simply show a blank screen. It's also giving my crap about my extention dir ("c:\php\ext") resulting in an error-out (not a php error, a windows error) when loading dlls. This has never EVER happened before. "Well what has changed on your system?" I installed MySql and phpMyAdmin. Any ideas why this might be happening or why mysql or phpmyadmin would cause such an annoyance??

    System:
    Windows 2000 Pro
    IIS
    PHP 5
    MySQL 5

    -Cilverphox

  2. #2
    SitePoint Wizard wheeler's Avatar
    Join Date
    Mar 2006
    Location
    Gold Coast, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im not one for server configurations, but I know there is a setting somewhere (php.ini?) that determines the level of error reporting to show - something to do with E_ALL, E_WARNING etc. I use this:
    PHP Code:
    ini_set('display_errors'1);
    error_reporting(E_ALL); 
    at the top of documents but I dont believe this shows fatal errors for me at least

    I get blank pages if I forget an } or ; in most cases on one server I work with. I do still however get mysql errors when I use
    PHP Code:
    or die (mysql_error()) 
    Studiotime - Time Management for Web Developers
    to-do's, messages, invoicing, reporting - 30 day free trial!
    Thomas Multimedia Web Development

  3. #3
    SitePoint Enthusiast cilverphox's Avatar
    Join Date
    Jan 2005
    Location
    Petoskey, MI
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The display_errors settings are configured properly. Keep in mind, this problem just presented itself. PHP.ini has not been altered, unless mysql or phpmyadmin do it without letting the user know.

    Oh Yeah....PHP code is no longer executed, it's displayed. However, phpMyAdmin runs just fine

  4. #4
    SitePoint Wizard stereofrog's Avatar
    Join Date
    Apr 2004
    Location
    germany
    Posts
    4,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    > resulting in an error-out (not a php error, a windows error) when loading dlls.

    Does it simply say "windows error" or something you could share with us?

  5. #5
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Check how many php.ini files you have on your PC.

    If more than one, then rename them one at a time, restarting www service between each rename.

    Try using 127.0.0.1 and localhost and the IP of your PC as the home page in your browser...

    What did you install mysql with?


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
  •