Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorrw712
    • CommentTimeFeb 9th 2006
     
    I'm seeing a number of error messages in /var/log/httpd/error_log about:

    PHP Notice: Undefined index: PATH_TRANSLATED in /video/plogger/plog-load_config.php on line 30

    It seems that PATH_TRANSLATED is no longer supported and it appears that SCRIPT_FILENAME is the way to go.

    From the reserved variables section of the manual:

    'PATH_TRANSLATED'

    Filesystem- (not document root-) based path to the current script, after the server has done any virtual-to-real mapping.

    Note: As of PHP 4.3.2, PATH_TRANSLATED is no longer set implicitly under the Apache 2 SAPI in contrast to the situation in Apache 1, where it's set to the same value as the SCRIPT_FILENAME server variable when it's not populated by Apache. This change was made to comply with the CGI specification that PATH_TRANSLATED should only exist if PATH_INFO is defined.

    Apache 2 users may use AcceptPathInfo = On inside httpd.conf to define PATH_INFO.