[ic] Error with Tag->data in actionmap after upgrade to Centos 7.4 mysql 5.7.21

David Christensen david at endpoint.com
Thu Mar 8 15:20:57 UTC 2018


> my $page = $Tag->data({ table => 'cat2', column => 'which_page', foreign => 'name', key => $c2 });
> 
> The error is:-
> 
> Sorry, there was an error in processing this form action. Please report the error or try again later. (Can't locate object method "open_table" via package "Vend::Table::DBI" (perhaps you forgot to load "Vend::Table::DBI"?) at /usr/local/interchange/lib/Vend/Data.pm line 995. )
>> I don't get this error on the old server, centos 5.8, mysql 5.6 and IC 5.10.
> 
> Any suggestions how to fix it?

Hi Andy,

This sounds like an issue with Safe; had you previously done an AllowGlobal or similar on the old server that you did not replicate to the new setup?  The other way to fix this is to write a wrapper global usertag or adjust the surrounding ITL to have the [data] tag called as a parse-level construct instead of in a [perl] or [calc] block.

David
--
David Christensen
End Point Corporation
david at endpoint.com
785-727-1171



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20180308/b0cc3623/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.icdevgroup.org/pipermail/interchange-users/attachments/20180308/b0cc3623/attachment.pgp>


More information about the interchange-users mailing list