• i am getting the following error messages twice at the top of the page when i view my site

    Notice: Undefined index: SCRIPT_FILENAME in D:\sites\pantasmagoria\wp-settings.php on line 38

    what do i need to do to resolve this ? the site seems to work fine apart from this at the top of the page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chenks

    (@chenks)

    i am also getting this error when in the admin section

    Warning: Cannot modify header information – headers already sent by (output started at D:\sites\pantasmagoria\wp-settings.php:38) in D:\sites\pantasmagoria\wp-admin\inline-uploading.php on line 138

    i get this too

    Notice: Undefined index: SCRIPT_FILENAME in c:\inetpub\wwwroot\wordpress\wp-settings.php on line 38

    Notice: Undefined index: SCRIPT_FILENAME in c:\inetpub\wwwroot\wordpress\wp-settings.php on line 38

    Warning: Cannot modify header information – headers already sent by (output started at c:\inetpub\wwwroot\wordpress\wp-settings.php:38) in c:\inetpub\wwwroot\wordpress\wp-includes\wp-db.php on line 308

    and ive been trying to get this working for hours…
    but no luck! ive tried everything mentioned here and nothing. uninstalled, installed, replaced files, checked the white spaces…. all of this..

    I am getting really close to giving up on wordpress

    Thread Starter chenks

    (@chenks)

    previous WP version worked fine with no errors… this error has only appeared sinced i upgraded.

    you updated… i done a clean install… something is no right…

    Exactly the same here:

    Notice: Undefined index: SCRIPT_FILENAME in c:\inetpub\wwwroot\ronnie\wp-settings.php on line 38

    Notice: Undefined index: SCRIPT_FILENAME in c:\inetpub\wwwroot\ronnie\wp-settings.php on line 38

    Warning: Cannot modify header information – headers already sent by (output started at c:\inetpub\wwwroot\ronnie\wp-settings.php:38) in c:\inetpub\wwwroot\ronnie\wp-admin\install.php on line 16

    It looks like this is an IIS issue. I’ve been using 1.5 without problem too.

    A temporary fix is to comment out lines 38 and 39 of wp-settings.php. I know it’s not great but it works for me, as I’m only tweaking the layout of WordPress on IIS before uploading to a Linux server.

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