Results 1 to 9 of 9
  1. #1
    Join Date
    May 2013
    Location
    Karlskoga, Sweden
    Posts
    48
    Plugin Contributions
    0

    Default Error 406, sometimes...

    I'm trying to figure out why I receive an error 406 when I click the home button on my website.
    I recently defaulted to https and that's when I think it started. The problem only seams to occur when the zenid is in the URL and it's only the home link, all other pages load fine, even with the zenid present. The home link works fine when the zenid is not present.

    I changed the htaccess file and configure.php file to force https. I used to have https as default years back without this problem, and I'm still on the same ZC version (1.51). I found another thread here with a similar problem suggesting it's the SSL certificate level, but shouldn't that affect the other pages as well?

    Ideas anyone?

    https://www.scaffoldusa.com/

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,487
    Plugin Contributions
    88

    Default Re: Error 406, sometimes...

    It looks like an unwanted interaction in your site's .htaccess file, when you combined the https:// protocol "force" with your URL modifiers' required changes.

  3. #3
    Join Date
    May 2013
    Location
    Karlskoga, Sweden
    Posts
    48
    Plugin Contributions
    0

    Default Re: Error 406, sometimes...

    Are the URL modifiers absolute? Could you please elaborate some more?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,487
    Plugin Contributions
    88

    Default Re: Error 406, sometimes...

    What URL manager are you using? Ceon URI Mapping, Ultimate SEO URLs, or another?

  5. #5
    Join Date
    May 2013
    Location
    Karlskoga, Sweden
    Posts
    48
    Plugin Contributions
    0

    Default Re: Error 406, sometimes...

    Quote Originally Posted by lat9 View Post
    What URL manager are you using? Ceon URI Mapping, Ultimate SEO URLs, or another?
    I'm using Ceon URI Mapping.
    I'm thinking of adding a mapping for the home button, as a workaround.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,487
    Plugin Contributions
    88

    Default Re: Error 406, sometimes...

    You might try posting in the Ceon URI Mappings' support thread for assistance.

  7. #7
    Join Date
    May 2013
    Location
    Karlskoga, Sweden
    Posts
    48
    Plugin Contributions
    0

    Default Re: Error 406, sometimes...

    Couldn't get the mapping to work. I changed the "Home" link from /index.php?main_page=index to just /index.php and everything seams to be working now.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Error 406, sometimes...

    Quote Originally Posted by pexter View Post
    Couldn't get the mapping to work. I changed the "Home" link from /index.php?main_page=index to just /index.php and everything seams to be working now.
    The link in the upper left corner of the page in a default ZC install is created by the following code found in includes/templates/THE_TEMPLATE/common/tpl_header.php.
    Code:
    <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a>
    This results in simply accessing the folder in which the store is installed and not even to specifically reference an index.php, index.html, index.asp, etc.. file. For those that may come across this thread in their search for solution, what was the code for the link in the problem template and what did it become?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    May 2013
    Location
    Karlskoga, Sweden
    Posts
    48
    Plugin Contributions
    0

    Default Re: Error 406, sometimes...

    I just changed the home-link in the EZ-page editor in admin from index.php?main_page=index to "/index.php. I never did any manual file editing.

 

 

Similar Threads

  1. v154 Sitemap error 406
    By Ridgh in forum General Questions
    Replies: 10
    Last Post: 12 Jul 2016, 08:34 PM
  2. 406 Not Acceptable error
    By Ryk in forum Customization from the Admin
    Replies: 4
    Last Post: 18 Dec 2007, 04:41 PM
  3. 406 Error on banner_manager.php?
    By bettysue in forum General Questions
    Replies: 1
    Last Post: 8 Jul 2007, 10:41 AM
  4. 406 Error
    By ellenaldesigns in forum Installing on a Windows Server
    Replies: 4
    Last Post: 19 Apr 2007, 07:58 AM
  5. 406 error
    By Chrome Orange in forum General Questions
    Replies: 1
    Last Post: 23 Sep 2006, 08:16 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR