Hi,
Changed to
<cfajaxproxy cfc="./ajaxSupport" jsclassname="proxy" />
and got a more substantial telling off:
CFML Runtime Error
Invalid Request
Request /push20/dev/push_cms_25/actions/manageIncentives.cfm
File Trace /opt/openbdjam/webroot1/push20/dev/push_cms_25/actions/
manageIncentives.cfm
|
+-- /opt/openbdjam/webroot1/push20/dev/push_cms_25/Application.cfc
|
+-- /opt/openbdjam/webroot1/push20/dev/push_cms_25/actions/
manageIncentives.cfm
Type Application
Function(s) onRequest (/opt/openbdjam/webroot1/push20/dev/push_cms_25/
Application.cfc, Line=28, Column=9)
Detail A request was made to a resource that could not be located
Missing File .ajaxSupport
Tag Context CFFUNCTION (/opt/openbdjam/webroot1/push20/dev/push_cms_25/
Application.cfc, Line=28, Column=9)
|
+-- CFINCLUDE (/opt/openbdjam/webroot1/push20/dev/push_cms_25/
Application.cfc, Line=43, Column=17)
|
+-- CFAJAXPROXY (/opt/openbdjam/webroot1/push20/dev/push_cms_25/
actions/manageIncentives.cfm, Line=10, Column=1)
Source
7 :
8 : <!--- Functions to handle delete confirmations. --->
9 :
10: <cfajaxproxy cfc="./ajaxSupport" jsclassname="proxy" />
11:
^ Snippet from underlying
I didn't mention before but i am using OpenBD Jam - in case my noob
naivety is missing something....
On Oct 3, 5:10 pm, "Alan Williamson (aw2.0 cloud experts)"
<[email protected]> wrote:
> that is very strange indeed ... could you try this and see if that makes
> any difference:
>
> <cfajaxproxy cfc="./ajaxSupport" jsclassname="proxy" />
>
> I will take a look at this later ... i am about to dive into some
> meetings today
>
>
>
>
>
>
>
> Loz wrote:
> > Hi,
>
> > In a directory I have a couple of files - one a file named
> > ajaxSupport.cfc and another invoking that CFC via:
>
> > <cfajaxproxy cfc="ajaxSupport" jsclassname="proxy" />
>
> > However, the apache error logs are showing a 404 when i try to access
> > a specific method in the CFC:
>
> > GET /push20/dev/push_cms_25/actions/.ajaxSupport.cfc?
> > _d=1317655780902&method=getLiveUserIncentivesForGroupId&promotionId=605&inc
> > entiveGroupId=35528&__BDQUERYFORMAT=row&__BDRETURNFORMAT=json&__BDNODEBUG=1
> > HTTP/1.1" 404 20735
>
> > The application is running elsewhere under CF9 - i am trying to port
> > as a Proof of concept to use OBD - whoch apart from this hicup is
> > proving to be a great experience.
>
> > Any suggestions as to why the Apache path has a '.' in it before the
> > ajaxSupport.cfc (which is the root cause of the 404!).
>
> > Regards
> > Lawrence
--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en