Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43
  1. #1
    Join Date
    Feb 2006
    Posts
    40
    Plugin Contributions
    0

    Default Page Not Found override not working for me

    Hi all,

    I'm running 1.3.5 and all seems to be working fine. However, I'm now trying for the first time to actually get the page_not_found.php to work; unfortunately my override for define_page_not_found.php doesn't seem to have any effect on what is actually displayed. The Define Pages Editor shows my edited HTML code, but the site still doesn't show it when I open http://www.beebasic.co.uk/store/page_not_found.php.

    Can anyone help?

    Thanks!

    Spinner

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Page Not Found override not working

    you might want to add this using phpMyAdmin:
    Code:
    insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('Define Page-Not-Found Status', 'DEFINE_PAGE_NOT_FOUND_STATUS', '1', 'Enable the Defined Page-Not-Found Text from define-pages?<br />0= Define Text OFF<br />1= Define Text ON', '25', '67', now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\'),');
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Page Not Found override not working

    Hi DrByte,

    Thanks for that - that worked fine! However, how can I edit the list of page links that appears beneath my text? In fact, how can I edit my Site Map in the same way? It currently shows "Page 2", "Page 3" and "Page 4" in the list.

    Thanks again,

    Spinner

  4. #4
    Join Date
    Feb 2006
    Posts
    40
    Plugin Contributions
    0

    Default Re: Page Not Found override not working

    Just read the Define Page Status page more carefully and managed to turn off the unwanted links - I should have noticed that before! However, could you tell me how I can modify the Site Map link list, adding links and generally beautifying it? Is such a things possible?

    Thanks!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Page Not Found override not working

    You can edit your site map by modifying your customized template file at:
    /includes/templates/YOURTEMPLATE/templates/tpl_sitemap_default.php
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Sep 2006
    Location
    Leeds, UK
    Posts
    174
    Plugin Contributions
    1

    Default Re: Page Not Found override not working

    I have had this problem since i upgraded to 1.3.5 i did the fixes but my page still not working! All other define pages work fine. Any ideas?

  7. #7
    Join Date
    Sep 2006
    Location
    Leeds, UK
    Posts
    174
    Plugin Contributions
    1

    Default Re: Page Not Found override not working

    Finally found the problem!!!!

    I have installed the SEO URL Re writing mod and it places a .htaccess file on the root. I think this is over riding the Error 404 Document.

    I simply added the following line at the top and it works fine!

    ErrorDocument 404 /page_not_found.html

  8. #8
    Join Date
    Oct 2005
    Posts
    211
    Plugin Contributions
    0

    Default Re: Page Not Found override not working

    I just found the switches for turning on my "page not found" in admin config- My store -Missing page check.

    And switched the setting in the Admin - Config - Define Page-Not-Found Status.

    I put some text in the define page area and with a test it showed up.

    Now I see the site map is added below my text. But the EZ pages are not showing up.

    You can edit your site map by modifying your customized template file at:
    /includes/templates/YOURTEMPLATE/templates/tpl_sitemap_default.php
    I had already done the prior code patch for EZ pages and they do show up on the actual site map but not in this define_page_not_found site map.

    Did I miss something or is there a way to make them work the same?
    Justwade
    Zen 1.5.5f
    Zen 1.3.9h, Zen 1.27 + (did that, done with that)

  9. #9
    Join Date
    Aug 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: Page Not Found override not working

    I looked in the forum but couldn't find explanation...
    I'm using ZenCart 1.3.7, windows server (so .htaccess file won't work for me)

    My page_not_found.php will not show up when trying to access a non existing product or path. I'm getting a standard default server 404 page like this one:
    http://www.rid.org/666

    In Admin Config I have in MY Store Missing Page Check set to Page Not Found and under Define Pages Missing Page set to "display text".

    Page_Not_Found is editable in Define Pages Editor but will not show up in place of the default 404 page...

    Please help me understand how it is supposed to work.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Page Not Found override not working

    Quote Originally Posted by sillygrl1212 View Post
    I looked in the forum but couldn't find explanation...
    I'm using ZenCart 1.3.7, windows server (so .htaccess file won't work for me)
    You'll have to talk to your hosting company for instructions on how to change the default behavior of the 404 page on your particular windows server.

    You'll want to point it to something like one of the following:
    http://www.MYSITE.COM/page_not_found.php
    or
    http://www.MYSITE.COM/index.php?main...page_not_found

    Your hosting company should be able to tell you how to do it, or if they don't let you do it yourself, then they should be able to do it for you.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. v139g ez Pages not working and inks showing PAGE NOT FOUND
    By irishshopper in forum Basic Configuration
    Replies: 5
    Last Post: 18 Jun 2012, 07:21 PM
  2. Custom Page Not Found Is Not Working
    By bluelightnin6 in forum General Questions
    Replies: 2
    Last Post: 8 Jan 2012, 08:42 AM
  3. Page Not Found redirect not working for some of my deleted products
    By all4coffee in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 16 Aug 2010, 12:58 AM
  4. Page Not Found is not working for me in the new 1.3.7 release
    By immersive in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 22 Feb 2007, 04:41 PM
  5. 404 Not Found Page Not Found not working!
    By NamSingh in forum Basic Configuration
    Replies: 0
    Last Post: 15 Oct 2006, 10:31 AM

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