Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: messageStack output not returning value sitewide

    There are no admin settings for messageStack operation. If it's not working properly, then you've broken your code somewhere, often via a bad template, or PHP errors caused by syntax errors when altering code.
    This is the best approach: http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    This may be useful too: https://www.zen-cart.com/tutorials/index.php?article=82
    .

    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
    Jul 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: messageStack output not returning value sitewide

    I opted to add additional logging to the messageStack functions themselves to see if the add() and output() methods were returning useful data. I used the following statement to output the arrays where the messages were being stored (in the respective functions):

    error_log(print_r($theAlert, true), 0);

    error_log(print_r($output, true), 0);

    So, indeed I was getting the correct array information and errors were being logged (error_log writes to your /cache directory at this point). That led me immediately to the tpl_message_stack_default.php file in which I had commented out the return logic so that the client would be happy while Authorize net was in testing mode.

    Removed my local copy of the edited file and error messages are now appearing. Fantastic.

    Likely doing a diff comparison of the entire directories would have eventually led me to this conclusion.

    Thanks much Dr. Byte

    Patrick

 

 

Similar Threads

  1. my messageStack output 2 times, how to fix?
    By linjuming in forum General Questions
    Replies: 0
    Last Post: 14 Mar 2013, 11:17 AM
  2. v150 Is this a bug in v1.50? orders_total doesn't output "text" but "value"
    By inception in forum General Questions
    Replies: 10
    Last Post: 10 Sep 2012, 05:38 AM
  3. Replies: 1
    Last Post: 30 Oct 2009, 05:46 PM
  4. how do I relocate messagestack output?
    By bigjoed in forum General Questions
    Replies: 4
    Last Post: 25 Apr 2008, 07:53 AM
  5. No messageStack output at all
    By ericpeng in forum General Questions
    Replies: 5
    Last Post: 2 Mar 2007, 07:55 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