Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Shrikee – Did you try setting display_errors = On in php.ini and then trying to view the site? Any php errors (and and WordPress bugs would *probably* be php errors) would be output to the screen.

    Forum: Fixing WordPress
    In reply to: Links problem

    Eactly! What *is* the problem? ??

    The settings (trimmed) from my stage server’s php.ini file contains the following lines.

    >>>
    error_reporting = E_ALL
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    log_errors_max_len = 1024
    ignore_repeated_errors = Off
    ignore_repeated_source = Off
    report_memleaks = On
    track_errors = Off
    error_log = /tmp/php_error_log
    >>>

    As you can see, I have errors set to E_ALL, but they are still not output to the browser, only to a file. It also stops potentially security compromising error reports being shown to your visitors.

    This might be worth a try.

    Make sure that your are *at least* logging php errors in a specific file. The line you are looking for is in php.ini, and may look something like

    error_log = /tmp/php_error_log

    This will create a file in the /tmp folder and any php errors will be logged there.

    This caught me out when I rebuilt my server, since php’s default setting is to *not* output errors to the browser.

    HTH, but if not, good luck. ??

Viewing 4 replies - 1 through 4 (of 4 total)