Alex,
I've hit this twice now, and can't come up with an answer.
When I add a record using add_record to a table that is _NOT_ Links.def I get an error that the first term is missing:
Due to lots of print statements, I know all the terms are being passed INTO the routine.
To avoid problems, I follwed the FAQ guide for this test...
Column 'Term' cannot be null at /www/postcards/cgi-bin/LinkSQL/search.cgi line 297
I got this when I first tried to play with the routines (which is why I asked the questions on how to use DBSQL.pm) and I'm still getting it.
It looks like add_record is ver links.def specific. modify works just fine... if the 'Term' exists, I can increment 'Count' and change the 'Last_Look'.
Robert
[This message has been edited by pugdog (edited August 19, 1999).]
I've hit this twice now, and can't come up with an answer.
When I add a record using add_record to a table that is _NOT_ Links.def I get an error that the first term is missing:
Due to lots of print statements, I know all the terms are being passed INTO the routine.
To avoid problems, I follwed the FAQ guide for this test...
Quote:
Fatal Error: Unable to execute query: INSERT INTO Search_Log (Term, Count,Last_Look) VALUES (?, '1','935126868') . Reason: Column 'Term' cannot be null at /www/postcards/cgi-bin/LinkSQL/search.cgi line 297
I got this when I first tried to play with the routines (which is why I asked the questions on how to use DBSQL.pm) and I'm still getting it.
It looks like add_record is ver links.def specific. modify works just fine... if the 'Term' exists, I can increment 'Count' and change the 'Last_Look'.
Robert
[This message has been edited by pugdog (edited August 19, 1999).]