Error On Setup

50 views
Skip to first unread message

Eric Hoffman

unread,
Aug 28, 2014, 12:51:21 AM8/28/14
to bugl...@googlegroups.com
I added to new site, in CF11;

Followed install, added tables directly to SQL 2008 via SQL studio....

Went to first page and get this error and can't get past it:

Parameter validation error for the _INSERT function.

The function takes 3 parameter.
 
The error occurred in D:/webs/bugssys/buglog/components/lib/dao/dbDataProvider.cfc: line 120


Any ideas?

Oscar Arevalo

unread,
Aug 28, 2014, 9:19:12 AM8/28/14
to bugl...@googlegroups.com

Hi Eric, did you change the dbtype setting in the config file? I think the default is for mysql.

Oscar

--

---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Hoffman

unread,
Sep 4, 2014, 11:18:41 PM9/4/14
to bugl...@googlegroups.com
Yes, to sqlserver.

So no luck quite yet.  I reset CF too.   I wondered if it was cached somehow but not sure next steps.


Thanks.


You received this message because you are subscribed to a topic in the Google Groups "BugLogHQ" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bugloghq/S4lrCtKF3nA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bugloghq+u...@googlegroups.com.

Eric Hoffman

unread,
Sep 23, 2014, 11:47:49 PM9/23/14
to bugl...@googlegroups.com
Any other ideas?  Just did a fresh install, and same exact issue.

Oscar Arevalo

unread,
Sep 24, 2014, 2:06:38 AM9/24/14
to bugl...@googlegroups.com
Hi Eric,
I'm looking at the original error message and this looks very strange. It complaints about the "_insert" method requiring 3 arguments, but if you look at the code (here https://github.com/oarevalo/BugLogHQ/blob/master/components/lib/dao/dbDataProvider.cfc#L179) that method only takes 2 arguments.

I'm wondering now if this is an issue with ColdFusion11 instead. Can you try renaming the method "_insert" to "_insertInternal" (or whatever) and making sure you do a search/replace for it? then reset the app and see if the same error happens.

Thanks,

Oscar

Oscar Arevalo

Jason Dean

unread,
Nov 17, 2014, 4:19:23 PM11/17/14
to bugl...@googlegroups.com
Same problem, CF11.  Renaming the method worked.  Could CF11 have an undocumented function called _insert?

Jason

Oscar Arevalo

unread,
Nov 22, 2014, 9:37:49 PM11/22/14
to bugl...@googlegroups.com
Google doesn't seem to find anything about an _insert method, but in any case I just pushed a small fix (1.8.6) renaming the _insert and _update methods to _insertRow and _updateRow. This should take care of the issue.

Oscar

Reply all
Reply to author
Forward
0 new messages