Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Import error: method "insert_id"

Quote Reply
Import error: method "insert_id"
Can any one shed light on this problem when I import a comma seperated file at database/links/properties/import? Many Thanks.



A fatal error has occured:
Can't call method "insert_id" without a package or object reference at (eval 9) line 79.


Please enable debugging in setup for more details.Stack Trace======================================Links (14063): Links::environment called at /home/www/thelocalsolution/links/admin/Links.pm line 430 with no arguments.Links (14063): Links::fatal called at (eval 9) line 79 with arguments (Can't call method "insert_id" without a package or object reference at (eval 9) line 79. ).Links (14063): Links::Admin::editor_import_data called at /home/www/thelocalsolution/links/admin/Links/Admin.pm line 40 with arguments (Links::Admin=HASH(0x82999e0)).Links (14063): Links::Admin::AUTOLOAD called at /home/www/thelocalsolution/links/admin/GT/SQL/Admin.pm line 121 with arguments (Links::Admin=HASH(0x82999e0)).Links (14063): GT::SQL::Admin::process called at admin.cgi line 78 with arguments (Links::Admin=HASH(0x82999e0), db, GT::SQL=HASH(0x8377e88), cgi, GT::CGI=HASH(0x81eea70)).Links (14063): main::db_request called at admin.cgi line 56 with no arguments.Links (14063): main::main called at admin.cgi line 24 with no arguments.System Information======================================Perl Version: 5.00404Links SQL Version: 2.1.1DBI.pm Version: 1.13Persistant Env: mod_perl (0) SpeedyCGI (0)GT::SQL::error = Name cannot contain the value ''@INC = /home/www/thelocalsolution/links/admin /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .CGI INPUT======================================db => Linksdo => editor_import_dataimport-delete => 1import-delim => ,import-file => im5import-text => CGI Cookies======================================bigwhat => 785f02c655d966623671cbe8efbbd42fcookie => 15editor_cols => 100htscallerid => 3DC14FBB0008338100007B5300000000ENVIRONMENT======================================AUTH_TYPE => BasicCONTENT_LENGTH => 92CONTENT_TYPE => application/x-www-form-urlencodedDOCUMENT_ROOT => /www/thelocalsolutionGATEWAY_INTERFACE => CGI/1.1GT_TMPDIR => /home/www/thelocalsolution/links/admin/tmpHTTP_ACCEPT => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*HTTP_ACCEPT_ENCODING => gzip, deflateHTTP_ACCEPT_LANGUAGE => en-gbHTTP_CACHE_CONTROL => no-cacheHTTP_CONNECTION => Keep-AliveHTTP_COOKIE => bigwhat=785f02c655d966623671cbe8efbbd42f; htscallerid=3DC14FBB0008338100007B5300000000; cookie=15; editor_cols=100HTTP_HOST => www.thelocalsolution.comHTTP_REFERER => http://www.thelocalsolution.com/links/admin/admin.cgiHTTP_USER_AGENT => Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)PATH => /usr/local/bin:/usr/bin:/binQUERY_STRING => REMOTE_ADDR => 62.252.200.65REMOTE_HOST => m65-mp1.cvx1-b.man.dial.ntli.netREMOTE_PORT => 1172REMOTE_USER => thelocalsolutionREQUEST_METHOD => POSTSCRIPT_FILENAME => /www/thelocalsolution/links/admin/admin.cgiSCRIPT_NAME => /links/admin/admin.cgiSERVER_ADMIN => webmaster@thelocalsolution.comSERVER_NAME => www.thelocalsolution.comSERVER_PORT => 80SERVER_PROTOCOL => HTTP/1.1SERVER_SOFTWARE => Apache/1.3.26 (Unix) PHP/4.0.6 FrontPage/4.0.4.3



Indigo Clothing is a t-shirt printing company based in the UK.
Indigo Clothing | Promotional Clothing | T-Shirt Printing | Embroidery
Quote Reply
Re: [IndigoClothing] Import error: method "insert_id" In reply to
This is the vital part:

GT::SQL::error = Name cannot contain the value ''

Looks like one of your fields is blank.