ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Query string causes template error

August 10, 2010 6:42am

Subscribe [3]
  • #1 / Aug 10, 2010 6:42am

    captaink

    43 posts

    Hi there,

    I’m wanting to pass a query string in a URL eg. http://www.domain.com/index.php/about/?category=1

    When I do this EE gives a template not found error.

    Any help much appreciated.

  • #2 / Aug 10, 2010 4:58pm

    Ingmar

    29245 posts

    What version and build of EE are you using? Are you using strict urls? Do you’ve got a link?

  • #3 / Aug 11, 2010 5:24am

    captaink

    43 posts

    v2.1.0 Build 20100805

    Not using strict URLs. I am using the Structure plugin but this problem seems to be occuring on non Structure pages as well.

    Link here: http://www.wpa-pinfold.co.uk/dev/uol/studyabroad/index.php/test/testing/?cat=1

    Thanks.

  • #4 / Aug 12, 2010 5:10am

    John Henry Donovan

    12339 posts

    captaink,

    In your system/expressionengine/config/config.php file- find

    $config['uri_protocol']    = 'AUTO';

    Try changing it to PATH_INFO

  • #5 / Aug 12, 2010 5:52am

    captaink

    43 posts

    Lovely, thats worked a treat.

    Thanks very much.

  • #6 / Aug 12, 2010 5:58am

    John Henry Donovan

    12339 posts

    Glad that worked for you. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases