• After upgrading my blog to version 2.5 I’m getting the following errors at the top of the home page only:

    Notice: Undefined index: PATH_INFO in F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php on line 74

    Notice: Undefined index: PATH_INFO in F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php on line 77

    I’ve looked at the following threads https://www.ads-software.com/support/topic/164925?replies=6 and https://www.ads-software.com/support/topic/164618?replies=5 and followed the advice given. Firstly I tried cutting and pasting the code supplied but this didn’t work for me at all. Secondly I tried the advice given by djstelios:

    Just after the comment about IIS + PHP configuration (line 71) put this check:
    if ( isset($_SERVER[‘PATH_INFO’]) ) {

    and close the if statement, just above the comment “// Append the query string if it exists and isn’t null”

    This works in that it gets rid of errors but brings along another problem where if you click on a blog entry header or choose a category you get a 404 error.

    Does anyone have a fix for this at all? As my site current stands when I login I can’t use the admin panel and instead get even more errors:

    Notice: Undefined index: PATH_INFO in F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php on line 74

    Notice: Undefined index: PATH_INFO in F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php on line 77

    Warning: Cannot modify header information – headers already sent by (output started at F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php:74) in F:\Domains\acquiweb.com\wwwroot\blog\wp-login.php on line 202

    Warning: Cannot modify header information – headers already sent by (output started at F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php:74) in F:\Domains\acquiweb.com\wwwroot\blog\wp-login.php on line 214

    Warning: Cannot modify header information – headers already sent by (output started at F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php:74) in F:\Domains\acquiweb.com\wwwroot\blog\wp-includes\pluggable.php on line 552

    Warning: Cannot modify header information – headers already sent by (output started at F:\Domains\acquiweb.com\wwwroot\blog\wp-settings.php:74) in F:\Domains\acquiweb.com\wwwroot\blog\wp-includes\pluggable.php on line 685

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I had this same issue. Open your wp-config.php file and delete any extra line spaces at the very bottom of the file, so that the last line is ‘?>’.

    Actually nevermind, I got ahead of myself.. It looks like you’re error is slightly different than mine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ERROR: Undefined index: PATH_INFO’ is closed to new replies.