Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Problem with redirects

    That didn't make any difference. I'm not seeing the space though. If I enter a valid search here's what I see /index.php?main_page=advanced_search_result&search_in_description=1&keyword=silk& x=13&y=16 invalid /index.php?main_page=advanced_search&search_in_description=1&keyword=Seborrheic&i nc_subcat=0&sort=20a

  2. #12
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Problem with redirects

    Quote Originally Posted by badarac View Post
    That didn't make any difference. I'm not seeing the space though. If I enter a valid search here's what I see /index.php?main_page=advanced_search_result&search_in_description=1&keyword=silk& x=13&y=16 invalid /index.php?main_page=advanced_search&search_in_description=1&keyword=Seborrheic&i nc_subcat=0&sort=20a
    Frankly, I really don't know what to make of this.

    Yes, the URL's are looking correct, but only until we paste them into this forum where the space seems to magically appear.

    I've noticed that your latest paste has the space in a different place this time. In between the 'i' and 'n'.

    I've tried pasting these URL's into several different editors and none of them replicate the problem.

    I'm really totally stumped at this point.

    The only other suggestion I could make is for you to remove the tpl file in your custom folder (if one exists there) and/or replace this file with a ZenCart original.

    I'm not convinced that this will solve the problem either though. The space may be just a quirk of the forum editor which means we are barking up another wrong tree,

    As for me. Tis almost 5:30am... Time for bed.

    Cheers
    RodG

  3. #13
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Problem with redirects

    I found it. It looks like the contents of includes/modules/pages/advanced_search/header_php.php was overlaid with the contents of includes/modules/pages/advanced_search_results/header_php.php. It didn't generate any errors but definitely broke stuff. Thanks for the help!

  4. #14
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Problem with redirects

    Quote Originally Posted by badarac View Post
    I found it.
    Good stuff. I'd have NEVER thought of that one. :)

    Now the 'big' test. What does the pasted URL look like this time?

    index.php?main_page=advanced_search&search_in_description=1&keyword=QWERTY&inc_s ubcat=0&sort=20a

    Cheers
    RodG

    ps. Looks fine when pasting (still), but after submitting the message the space appears (still). How weird is that!!!
    Last edited by RodG; 3 Mar 2015 at 07:56 PM. Reason: Added PS.

  5. #15
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Problem with redirects

    It looks fine index.php?main_page=advanced_search&search_in_description=1&keyword=QWERTY&inc_s ubcat=0&sort=20a and the result is the expected message There is no product that matches the search criteria. That was certainly a brain teaser.

  6. #16
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Problem with redirects

    And yet the space still exists when pasted herein. Any possibility that the text needs to be retyped "again" or at least tried? :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #17
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Problem with redirects

    Quote Originally Posted by mc12345678 View Post
    And yet the space still exists when pasted herein. Any possibility that the text needs to be retyped "again" or at least tried? :)
    That's really weird. It's working correctly on the website and it looks fine when I post it here. This all makes my head hurt.

  8. #18
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Problem with redirects

    Quote Originally Posted by mc12345678 View Post
    And yet the space still exists when pasted herein. Any possibility that the text needs to be retyped "again" or at least tried? :)
    See the ps in post#14

    Cheers
    RodG

  9. #19
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,954
    Plugin Contributions
    96

    Default Re: Problem with redirects

    Could it be some funky CHARSET thing, like the website is running ISO-8859-1 but the PHP file was saved as UTF8-without-BOM?

  10. #20
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Problem with redirects

    I retyped the text, made sure that it was utf-8, and replaced the file on the server. The search box works correctly and the url appeared in the browser without the space. When I paste it into the reply box it does not include the space. The result after saving this reply is: /index.php?main_page=advanced_search&search_in_description=1&keyword=QWERTY&inc_s ubcat=0&sort=20a. Intrestingly when I post it as a url it appears correctly when you hover over it. http://domain.com/index.php?main_pag...cat=0&sort=20a

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v153 Admin page access fails with too many redirects
    By swguy in forum Bug Reports
    Replies: 28
    Last Post: 16 Jan 2015, 07:13 PM
  2. Replies: 3
    Last Post: 17 Jan 2011, 05:15 PM
  3. redirects problem
    By lieven23 in forum General Questions
    Replies: 5
    Last Post: 3 Oct 2009, 12:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg