php errors and warnings and output

Posted on 2011-05-11
Last Modified: 2013-12-13
I changed my php settings to display errors and warnings

PHP Notice:  Undefined variable: username in

which displayed errors and warnings and the output

but then I made another change (which i forget)
now I just see errors and warnings and no ouput
Question by:rgb192
    LVL 107

    Accepted Solution

    Maybe the other change caused a parse error.  That will often result in no output.

    In case you find that you want to be able to roll back to a previous version, like when you made a change that didn't work, you may want to learn about "version control" (google that term).  Some popular tools are Subversion and GitHub.

    Author Comment

    all I know is that it is not an error

    because I have errors written to .txt file

    I tested by creating a file with parse error
    for (x

    and errors are being written
    LVL 10

    Assisted Solution

    by:Tyler Laczko
    Without being able to login and get into your system this may be difficult to fix.

    I would grab a copy of a fresh / default php.ini file and compare your current one to it to see the differences. (quick and easy solution)

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit ( and similar technologies have enjoyed wide adoption, making it possib…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to dynamically set the form action using jQuery.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now