[freeside] fs-setup issue
Bob Purdon
bobp at tekmax.com.au
Thu Nov 20 16:13:34 PST 2003
> Cannot specify both sql_type and pg_type at
> /usr/local/lib/perl5/site_perl/5.6.1/FS/Record.pm line 272.
>
>>This is a bug in DBD::Pg 1.31. The following patch should work around
>>the problem:
Hmmm, I didn't ever see this post - will check the archives...
> Applied the changes as suggested, and now a new error pops up:
>
> DBI::st=HASH(0x866e30c)->bind_param(...): attribute parameter '4' is not a
> hash ref at /usr/local/lib/perl5/site_perl/5.6.1/FS/Record.pm line 273.
>
> The reference of DBI.pm still recommends:
> $sth->bind_param(1, $value, { TYPE => SQL_INTEGER });
>
> and also DBD::Pg.3 wants a hash:
> $rv = $sth->bind_param($param_num, $bind_value, \%attr);
...although it might not solve my problem it seems, but might point me
in the right direction.
Cheers.
More information about the freeside-users
mailing list