Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • jimlester Friend
    #155331

    I receive this message on web installer when first navigating to the site.
    Notice: Undefined index: QUERY_STRING in /hermes/bosweb/web005/b52/ipg.lesternetmarkcom/site3/libraries/joomla/environment/uri.php on line 161

    Any thoughts on what the problem is?

    Thanks!

    Phill Moderator
    #359172

    Seems to be a problem with the version of apache you are running and is not limited to this template.

    Try replacing in joomla/environment/uri.php


    /*
    * Since we do not have REQUEST_URI to work with, we will assume we are
    * running on IIS and will therefore need to work some magic with the SCRIPT_NAME and
    * QUERY_STRING environment variables.
    */

    if (strlen($_SERVER['QUERY_STRING']) && strpos($_SERVER['REQUEST_URI'], $_SERVER['QUERY_STRING']) === false) {
    $theURI .= '?'.$_SERVER['QUERY_STRING'];
    }

    }

    with


    /*
    * Since we do not have REQUEST_URI to work with, we will assume we are
    * running on IIS and will therefore need to work some magic with the SCRIPT_NAME and
    * QUERY_STRING environment variables.
    */

    if (isset($_SERVER['QUERY_STRING']) && strpos($_SERVER['REQUEST_URI'], $_SERVER['QUERY_STRING']) === false) {
    $theURI .= '?'.$_SERVER['QUERY_STRING'];
    }
    }

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Phill 14 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum