Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default ceon uri mappin and custom 404 in htcaccess, back button gets sent to page not found

    Hi.

    I just found a very unusual error.

    We have modified our .htaccess file to accommodate a custom 404 error: ErrorDocument 404 /404error.php.

    We have CEON URI Mapping installed as well.

    The problem we are encountering is if you go to any link in the INFORMATION sidebox (conditions, shipping, etc), the back button redirects to the page_not_found of zencart. Even if I don't click the back button and just hovers my mouse on top, the link shows index.php?main_page=page_not_found.

    How exactly is the "back" button coded to get the previous URL? I don't think adding an errordocument in htaccess should affect it. But for some reason, if I remove the 404 error document in the htaccess file, the back button works fine.

    Any ideas??

  2. #2
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: ceon uri mappin and custom 404 in htcaccess, back button gets sent to page not fo

    bump anyone else having the same issue?? Not sure if this is CEON specific. But one thing for sure, if I remove the custom error page in my htaccess file, everything works ok.

    How exactly is the value of BACK button being defined??

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    1,937
    Plugin Contributions
    20

    Default Re: ceon uri mappin and custom 404 in htcaccess, back button gets sent to page not fo

    The Back button's value/link is usually set by the function zen_back_link, present in /includes/functions/functions_general.php.

  4. #4
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: ceon uri mappin and custom 404 in htcaccess, back button gets sent to page not fo

    Fixed it. I think CEON is making changes to the $link value. Since the HTTP REFERER has a correct value.

    I just made a small change and set a value for $link if it had the page_not_found value.

    Hope this helps others with the same issue

 

 

Similar Threads

  1. Click back button and page not found?
    By bridge32 in forum General Questions
    Replies: 8
    Last Post: 25 Aug 2011, 12:16 AM
  2. Back Button leads to Page Not Found 404 error
    By wtashby in forum General Questions
    Replies: 1
    Last Post: 2 Sep 2009, 02:13 PM
  3. Super Order 2.0 gets a 404-Not Found?
    By CabinetGuy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Aug 2009, 01:40 AM
  4. Custom 404 Error Page Not Found
    By jasminescreations in forum General Questions
    Replies: 5
    Last Post: 12 May 2009, 08:35 PM
  5. custom 404 page not found
    By abs007 in forum Basic Configuration
    Replies: 3
    Last Post: 19 Mar 2009, 05:26 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
  •