![]() |
Error when using CFHTTP
Greetings friends,
I have built an app on openBD using CFML. In the app I am using CFHTTP like following: Code:
<cfcomponent output="false">I am damn stuck! What does this error means? I think on Adobe’s CFML engine is working properly, but I am not sure. My "programing" quiver was run out of arrows!.I need to get this working on openBD. With respect, Tom Greece |
It appears (to me) that you are setting "q" to equal q, rows, score, highlight, json, and phrasehighlighter. If these are all supposed to have their own name for each value, the string needs to be reformatted. There is also no closing ' for the string (not critical, but I consider it good form to always use a closing string delimiter.)
Also, you can do without the hashmarks, since the values are not contained within "double quotes". Code:
<cfset theUrl = 'http://localhost:8090/solr/ktimatologio/select/?hl.requireFieldMatch=true&hl.fl=*&q=' & Arguments.q & '&rows=' & ARGUMENTS.rows & '&score=' & ARGUMENTS.score & '&highlight=' & ARGUMENTS.highlight & '&json=' & ARGUMENTS.json & '&phrasehighlighter=' & ARGUMENTS.phrasehighlighter & ''> |
| All times are GMT +1. The time now is 06:34 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.