Well, I've seemed to have cleaned up that error, but I'm now running into
another error.

I'm currently calling mason like this:

      $interp->set_global('app' => $self);
      $m = $interp->make_request(comp => $comp, args => [EMAIL PROTECTED]);
      $m->error_mode($MASON_ERROR_MODE);
      $m->error_format($MASON_ERROR_FORMAT);
      $m->exec;

When I look at @_, I have this:
$VAR15 = 'promo_message';
$VAR16 = 'You fail.  You don\'t meet the promo requirements yet.  You are
the weakest link! Good bye... or add 1 more book(s) to your cart';

So the promo_message is definitely there.

Now when I call the mason component, I did this:

% print "<pre>".Dumper($m->caller_args(1))."</pre>";

And I get this listed:

$VAR15 = 'promo_message';
$VAR16 = 'You fail.  You don\'t meet the promo requirements yet.  You
are the weakest link! Good bye... or add 1 more book(s) to your cart';

So promo message is definitely there, but when I try and do this:

Promo message: <% $promo_message %><br />

its empty.

Can anyone help me figure out whats up?

Thanks again.




On 8/8/07, Ben Goren <[EMAIL PROTECTED]> wrote:
>
> On 2007 Aug 8, at 8:25 AM, shawn looker wrote:
>
> > Actually, nothing I change in that file seems to do anything at
> > all.  I'm not sure why.
>
> If you mean that, no matter what you do to the file, it doesn't
> change what Mason / Apache serves up, then you need to delete the
> corresponding item in your Mason obj directory (and probably should
> delete everything there). It means that Mason isn't recognizing that
> your real file is newer than its copy of it in the obj directory, and
> isn't refreshing the copy in the obj directory as a result.
>
> I'm sure you could mess with timestamps, etc., but simply deleting
> the file(s) is easier on the human and has the exact same end result.
>
> Cheers,
>
> b&
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Mason-users mailing list
> Mason-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mason-users
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to