Quote Originally Posted by torvista View Post
Thanks for the interest.

This is exactly what I have in the live shop code:

PHP Code:
       while (list($key$value) = each($_GET)) {
      if (
is_array($value)) trigger_error('GET param found to be array: ' print_r($valuetrue) . '  --- contents of GET: ' print_r($_GETtrue));//steve looking for reason, as per http://www.zen-cart.com/forum/showthread.php?t=176804
        //if ( (strlen($value) > 0) && ($key != 'main_page') && ($key != zen_session_name()) && ($key != 'error') && (!in_array($key, $exclude_array)) && ($key != 'x') && ($key != 'y') ) {//steve original line 
    
if ( (!in_array($key$exclude_array)) && (strlen($value) > 0) && ($key != 'main_page') && ($key != zen_session_name()) && ($key != 'error') && ($key != 'x') && ($key != 'y') ) {//steve this line edited to stop debug error as per http://www.zen-cart.com/forum/showthread.php?p=1070316#post1070316
          
if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { 
You just forgot to remove the line containing trigger_error call.