Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Import error New Beta

Quote Reply
Import error New Beta
Alex, When doing an Import with the new beta I get the following error:-

execute called with 20 bind variables when 19 are needed at /home/sites/site1/web/cgi-bin/lsqldev-2.0.0-beta1/admin/import.cgi line 678.
Issuing rollback() for database handle being DESTROY'd without explicit disconnect().

When this occurs 214 categories and 1870 links have imported. The database is the same links sql 1.13 database I imported successfully with the first beta.

Quote Reply
Re: Import error New Beta In reply to
Yes, that is indeed a bug. The fix is to change line 661:

Code:
my ($id, $contact_name, $contact_email, $receive_mail, $cat_id) = splice @$row,0,4;
to:

Code:
my ($id, $contact_name, $contact_email, $receive_mail, $cat_id) = splice @$row,0,5;
The change is simply changing the 4 at the end of the line to 5. The bug has been fixed for the next beta release.

Jason Rhinelander
Gossamer Threads
Quote Reply
Re: Import error New Beta In reply to
Fix worked great. Thank you.