Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Page not found when incorrect EZPage link

    It's throwing an error when you try to access an incorrect/deactivated ezpages link.

    [21-Jul-2014 10:50:00 UTC] PHP Parse error: syntax error, unexpected $end in /home/domain/public_html/domain.com/1_5_3/includes/templates/classic/common/tpl_main_page.php on line 196

    It's doing it on both sites I'm working with but not the default installation. Since both sites are very different, it looks like a bug to me. Someone needs to test it on a default installation. Line 196 is the body tag.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Page not found when incorrect EZPage link

    So far, I cannot reproduce the error log that you are showing but I can reproduce a blank white page ...

    What happens if you comment out line 39 in:
    /includes/modules/pages/header_php.php
    Code:
    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');
    //  header('Status: 404 Not Found');
      zen_redirect(zen_href_link(FILENAME_DEFAULT));
    }
    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!

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Page not found when incorrect EZPage link

    That does give me a blank EZpage with the breadcrumb so no error. So did I muck up something?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #4
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Page not found when incorrect EZPage link

    I've been caught with the deactivated EZpages because we actually used them while deactivated.

    I recall reading something in the change logs about something being done to the way EZpages are handled which requires them to have at least one active button or you get the error you are talking about.

    We're having to redo quite a few EZpages formatting and sort orders to accomodate our particular use due to the change. It forces them to appear in an EZpages ToC and the ToC formatting plays havoc in responsive templates.

  5. #5
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Page not found when incorrect EZPage link

    So you are saying this is not new in 1.5.3, Rick?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Page not found when incorrect EZPage link

    No, I do not believe so ... as I was getting the blank white page on a clean demo install and fudging the URL to inactive page numbers or non-existent page numbers ...

    But, I will need to look into this further for the final solution ...
    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!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Page not found when incorrect EZPage link

    Quote Originally Posted by RixStix View Post
    I've been caught with the deactivated EZpages because we actually used them while deactivated.
    If you really want to use the deactivated pages, you could look at the new code in the header_php.php and adjust it to allow them, despite the status settings ...
    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!

  8. #8
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Page not found when incorrect EZPage link

    Quote Originally Posted by delia View Post
    So you are saying this is not new in 1.5.3, Rick?
    My upgrade is from v1.3.9h to v1.5.3 so I am not sure when/where the change was made but I thought it was in the change logs.

    CHANGE-425 - Fix for: Deleted ez-pages didn't trigger a 404 not found. Disabled pages were still reachable. Now sends to home page and shows message.
    Last edited by RixStix; 21 Jul 2014 at 02:55 PM.

  9. #9
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Page not found when incorrect EZPage link

    Ah, good. Thanks, Ajeh!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Page not found when incorrect EZPage link

    delia ... if you go to your Server Info in your admin and do a search for: fast do you see:
    Server API CGI/FastCGI
    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!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v150 Page not found when registering as a customer
    By jackdeth in forum Managing Customers and Orders
    Replies: 8
    Last Post: 15 Sep 2012, 06:38 AM
  2. Page Not Found When In Admin Area
    By aaronspromotions in forum General Questions
    Replies: 2
    Last Post: 3 Feb 2011, 10:32 AM
  3. Replies: 2
    Last Post: 31 Jul 2007, 03:27 PM
  4. Page Not Found: Incorrect File Upload
    By Jesse_Tyler in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 3 Nov 2006, 08:50 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