Re: Error with Tag->data in actionmap after upgrade to Centos 7.4 mysql 5.7.21
Peter <[email protected]> Fri, 9 Mar 2018 12:50:04 +1300
| Newsgroups | gmane.comp.web.interchange.users |
|---|---|
| Message-ID | <[email protected]> |
On 09/03/18 12:43, Peter wrote:
> On 09/03/18 04:33, IC wrote:
>>>
>>> $Tag->perl({ tables => 'cat2' });
>>
>> I had already tried that, that line on its own causes the same error.
>
> In that case, try this in catalog.cfg (or wherever you define the
> actionmap):
>
> AutoLoad <<EOA
> [perl cat2][/perl]
> EOA
Note other alternatives that should work:
Define your actionmap in interchange.cfg instead of catalog.cfg.
Change your actionmap to ITL so it looks like this:
Actionmap foo <<EOA
[perl cat2]
# ...your code here
[/perl]
EOA
Peter