Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "/ajax.php" adds itself to the navigation history

    Quote Originally Posted by lat9 View Post
    Apologies, but what was wrong with lhungil's initial proposal? That implementation allows the ajax.php module to "take care of" itself, rather than muddying-up the navigation class.
    Simple: it didn't work properly.
    .

    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.

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: "/ajax.php" adds itself to the navigation history

    Quote Originally Posted by DrByte View Post
    Simple: it didn't work properly.
    I tested the initial "dirty workaround" against the same environments I listed above (suPHP is used on the Debian box). Can you share which environment(s) it did not work in (so I can add it to my test environments - if possible)?

    Quote Originally Posted by DrByte View Post
    ... But, I know some people swear by them and don't even realize that the browser has a "back" button. Sigh.
    And there is my smile for the day! Currently communicating with a hosting provider who managed to get on one of the mx blacklists (and somehow I found out before they did - which is unusual).
    Last edited by lhungil; 13 Jan 2015 at 10:39 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "/ajax.php" adds itself to the navigation history

    Quote Originally Posted by lhungil View Post
    I tested the initial "dirty workaround" against the same environments I listed above (suPHP is used on the Debian box). Can you share which environment(s) it did not work in (so I can add it to my test environments - if possible)?
    We tested several environments, including developer machines and live hosting servers:
    Debian/Mac with PHP 5.6
    Ubuntu with PHP 5.5
    CentOS with PHP 5.3

    It started removing the wrong things the more we clicked around and added/removed things, and visited other pages, and logged on and logged off, etc, in various combinations, and then finally would just leave the navigation array completely empty, making the button do nothing.
    Last edited by DrByte; 13 Jan 2015 at 10:41 PM. Reason: symptoms
    .

    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. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: "/ajax.php" adds itself to the navigation history

    Quote Originally Posted by DrByte View Post
    We tested several environments, including developer machines and live hosting servers:
    Debian/Mac with PHP 5.6
    Ubuntu with PHP 5.5
    CentOS with PHP 5.3
    Thank You!

    Time for me to add a CentOS box to my list :)
    Last edited by lhungil; 13 Jan 2015 at 10:43 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: "/ajax.php" adds itself to the navigation history

    I changed the line number, the regex pattern, and added a return ... in my updated earlier post: http://www.zen-cart.com/showthread.p...99#post1269499
    .

    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.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 2 Jan 2011, 01:14 PM
  2. Editing the "tpl_product_info_display.php" to change the "call for Price" message
    By camospi13 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Sep 2010, 05:50 AM
  3. Please help, no "my account" or "order history"
    By jaypg1 in forum General Questions
    Replies: 15
    Last Post: 18 Oct 2009, 07:05 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