[ic] Error with Tag->data in actionmap after upgrade to Centos 7.4 mysql 5.7.21
Stefan Hornburg (Racke)
racke at linuxia.de
Thu Mar 8 15:17:26 UTC 2018
On 03/08/2018 12:38 AM, IC wrote:
> I'm just setting up a new server with IC 5.10, Centos 7.4 and mysql 5.7.21, whilst testing the catalog on the new server
> I get an error which is being caused by the data tag in an actionmap.
>
> This is the line that causes the error:-
>
> 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?
Please try this at the beginning of your action map:
$Tag->perl({ tables => 'cat2' });
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
More information about the interchange-users
mailing list