Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35
  1. #21
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Easy pages links

    May I suggest going back to the basics?

    Mprough, in the first post, there is indication that previous versions of ZC have been used, the thread or issue appears to be focused on ZC 1.5.4 with a "fix" associated with 1.5.3 correcting the problem you were having...

    What about the answers to all of those helpful questions in the posting tips? The ones centered around how this site became ZC 1.5.4 as reported and any differences in it as compared to a clean install would help Dr. Byte with his question above or it might help another developer correct something in a plugin, etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #22
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy pages links

    Quote Originally Posted by mc12345678 View Post
    Mprough, in the first post, there is indication that previous versions of ZC have been used, the thread or issue appears to be focused on ZC 1.5.4 with a "fix" associated with 1.5.3 correcting the problem you were having...
    Quote Originally Posted by DrByte View Post
    I'm still not clear whether there's a case to consider that there's a bug or not.

    Since this was posted in Bug Reports I'd like to get clarification: Is there a bug? If so, please explain how to reproduce using a clean unaltered install of v1.5.4, and I'll be happy to fix it.
    Neither was I which is why I questioned the "solution". In a clean 1.5.4 shop I can't reproduce the issue.. hence my concern that perhaps some bug had escaped my detection.. I think that this issue was something in the v1.5.3 codebase and FIXED in 1.5.4. That link for the "fix" suggested, appears to apply to v1.5.3.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

    Default Re: Easy pages links

    Exactly. It seems like they're using v1.5.3, else the "solution" wouldn't have been needed.
    .
    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.

  4. #24
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy pages links

    Quote Originally Posted by DrByte View Post
    Exactly. It seems like they're using v1.5.3, else the "solution" wouldn't have been needed.
    Thanks DrByte for confirming that this is NOT a bug with regards to v1.5.4..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

    Default Re: Easy pages links

    Quote Originally Posted by DivaVocals View Post
    Thanks DrByte for confirming that this is NOT a bug with regards to v1.5.4..
    Well, as far as I can tell it isn't.
    Not sure why mprough reported it as a bug with 1.5.4. Usually she doesn't make that kind of mistake.
    .
    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. #26
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy pages links

    Quote Originally Posted by DrByte View Post
    Well, as far as I can tell it isn't.
    Not sure why mprough reported it as a bug with 1.5.4. Usually she doesn't make that kind of mistake.
    I agree which was what got me concerned that I had missed a new 1.5.4 bug.. (hence my seemingless relentless probing)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #27
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Easy pages links

    From my experience in installing and upgrading Zen Cart sites, prior to version 1.5.3 (I did not use 1.5.2 because it was supposed to be for demo only) if you had an ez page that had no sort number, nor was the button changed to green, you could still put a link to that ez page somewhere and it would work.

    Beginning with 1.5.3 (and possibly 1.5.2), if you do this, it goes to the index page and gives error message at top saying "Sorry, the page you were attempting to access cannot be found."

    I discovered this problem when upgrading a customer to 1.5.3 and somehow found a solution was to do what it says in includes/modules/pages/page/header_php.php and comment out a line at or about line 30 as follows:

    Code:
    $sql = "select * from " . TABLE_EZPAGES . " where pages_id = " . (int)$ezpage_id;
    // comment the following line to allow access to pages which don't have a status switch set to Yes:
    //$sql .= " AND (status_toc > 0 or status_header > 0 or status_sidebox > 0 or status_footer > 0)";
    That worked and I was delighted, since this customer had TONS of ez pages that were not in a sidebox, header or footer - but as links on various pages in her store.

    It is nice to know that the code "fix" does not need to be applied in that file any longer and that simply clicking the TOC to green will allow the page to be displayed beginning with version 1.5.3. Now all I have to do is REMEMBER that after all these years of not having to do it!

    BTW - I noticed the problem does not apply to an upgrade to 1.5.4 I am working on right now that has Ultimate SEO URL's installed. The ez pages will show up whether the TOC is clicked green or not.

    Hope this helps someone reading this thread who has encountered the same problem!

  8. #28
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy pages links

    Quote Originally Posted by stellarweb View Post
    BTW - I noticed the problem does not apply to an upgrade to 1.5.4 I am working on right now that has Ultimate SEO URL's installed. The ez pages will show up whether the TOC is clicked green or not.
    and I will add to this that with all due respect that there must be something wrong with your upgrade then.. because the links I posted are indeed from a dev site that was upgraded from v1.5.1 to 1.5.4. If you do not activate the TOC, the EZ Pages re-direct to the home page with a message that the file requested cannot be found.. But with the TOC activated, you are properly redirected to the EZ Page.. In fact I just repeated the SAME upgrade on that SAME DB on my local server and even without re-installing the modules and custom template, I still get the exact same result..

    There are quite a few modules and templates marked v1.5.4 compatible which I found re-introduce outdated Zen Cart code.. So I'd say that unless you missed a file in your upgrade activities or installed a module or template that uses outdated EZ Pages code and overwrote the upgrade changes by installing this module or template, the new EZ Pages code should work on a properly upgraded store..
    Last edited by DivaVocals; 22 Feb 2015 at 06:37 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #29
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Easy pages links

    Not sure what could be wrong with the upgrade. He has very few mods installed - so the build was quite easy - install 1.5.4, pull over select tables from the current database, upgrade the database, update the template files and install the few mods he has - sideboxes, sales report, mail chimp, Ultimate SEO URLs, etc. It is probably a .htaccess problem or caching on my computer, so I guess disregard that statement! LOL

  10. #30
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy pages links

    Quote Originally Posted by stellarweb View Post
    pull over select tables from the current database, upgrade the database
    .httaccess would NOT be the cause.. but wonder if your method of upgrading the databases is at issue.. pulling over "select tables" sounds like cherry picking tables and this is not a recommended upgrade practice..

    In any case sounds like you are missing pieces of the 1.5.4 codebase which is the only reason why the new functionality wouldn't work..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 8 Jun 2010, 01:25 AM
  2. easy way to add a sidebox with links to different pages
    By cyb3rp1mp in forum Addon Sideboxes
    Replies: 1
    Last Post: 15 Dec 2008, 06:18 AM
  3. [not a bug] Define Pages Editor Error
    By netforce in forum Bug Reports
    Replies: 1
    Last Post: 10 Mar 2007, 03:23 AM
  4. [Not a Bug] EZ-Page Links IE bug when first clicking
    By NamSingh in forum Bug Reports
    Replies: 11
    Last Post: 25 Dec 2006, 03:40 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