Forums / Bug Reports / Page not found when incorrect EZPage link

Page not found when incorrect EZPage link

Views: 2,169

Results 21 to 23 of 23
17 Aug 2014, 8:57 PM
#21
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Page not found when incorrect EZPage link

Yes adding the comment on:

if ($var_pageDetails->EOF) {
  require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
  $messageStack->add_session('header', ERROR_PAGE_NOT_FOUND, 'caution');
  header('HTTP/1.1 404 Not Found');
[B]//[/B]  header('Status: 404 Not Found');
  zen_redirect(zen_href_link(FILENAME_DEFAULT));
}

seems to manage the issue ... see if that works for you ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Aug 2014, 9:25 PM
#22
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Page not found when incorrect EZPage link

Commenting line 39 corrects the blank page.

I thought you meant to look further in the file to additionally comment line 29 so that url functionality was restored to that of previous versions to actually open the EZ pages instead.

My issue was displaying valid, existing EZ pages that are not enabled to appear in any ToC instead of error/blank page.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

17 Aug 2014, 11:43 PM
#23
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Page not found when incorrect EZPage link

Thanks for the update ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!