Re: Error with Tag->data in actionmap after upgrade to Centos 7.4 mysql 5.7.21

David Christensen <[email protected]> Thu, 8 Mar 2018 09:20:57 -0600
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
> 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
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlqhVNkACgkQN0ojyd+b
Zbj3ABAAgXqj08DmcXFcysKBOAkswo5yb7bk1CFw1KKFbOlwsplhzoKwilQXLf/T
MIMcAnEFfHFRm8j11aebiOEZs4VCgMi04/I9/JjhcdJJIsgBDKIuz7w+4UXfNnyv
N+n81e2PrzdfkI5WXFrGQFkViB/m1d5pXkjXIlOzE5Hz/HrKVKeqEidg4rRdLS13
zWMUA7dfLPtLfpETfwka+KsAfweuh6uV1R+SWT6hO2+0xoek9UzjW1HQ1iHwHbes
lP0a5w1CTt/HopjQZ84N5TRsTMwzQ99ifSQUMG6FWvQT7f9LQd3brDj1d8a1qTYT
hrjkRez0pmjdFQSzjoMOOr66a3Zfd9cQx8UZpZXFyxvPTRTwanUKBy/QANFfNgZS
m76piQIL6lBpAXBFnDmPj+cHCKR5ikQupXptM6MUPNcXbEgvOb66YDPA1YVS7fdO
t7dK20X3A1MZsad75Drrn7zB6YRKSokxRe5Adxjl/VpzqMOmMVN6M5RbVFeZRpvj
s6+XHOUwPzbqVoXD6bsPG8KrBxD8liP8g9/2mH3w5oHykcjLwxb30DUQwQ9LEFz8
YcgtAJt7P/huF/jtPPhnO7Tw4BTmnrLv+OMAR4GGrZLKRRwAVCnfUg84iFOq84kX
Mo7acAqPb16jPC6/mv6dItD5CJoTFjMSBR0+YnLN09uYOV/6fcE=
=7vXw
-----END PGP SIGNATURE-----