Hey all. Does anyone have CF10 running in dev that...
# cfml-general
a
Hey all. Does anyone have CF10 running in dev that they can experiment on? CF10 on trycf won't help here. Trying to help this person: https://stackoverflow.com/q/74061026/894061
w
what do you need tested he asks tentatively
a
Ah see the blue text in my post there. You can click on it. Then it will take you to what's known as a "web page" and on that, it has "information".
Or, more helpfully... doing a HEAD request to a CFC
breaks on CF10. "works OK on my machine", but my machine is CF2021 . It would not surprise me if there's some dumbarsey in old versions of CF that don't understand HTTP beyond GET and POST.
p
Commandbox, about 5 seconds to spin up instance and test code...
box start cfengine=adobe@10
w
struggling with ignoring your sarcasm in light of your asking for help. you can save that for the idiots and dickheads, it's not for me
running the following on cf10/win10/iis i get a 200 OK with the following code:
Copy code
<cfhttp url="<http://cf10machine/test/httptest/sample.cfc?method=test>" method="head" result="head">
<cfdump var="#head#">

<cfcomponent output="false">    
    <cffunction name="test" access="remote" output="false" returntype="string" returnformat="plain">
        <cfreturn "OK">
    </cffunction>
</cfcomponent>
hth
a
I believe it's my decision to determine who's asking unnecessarily daft questions. You do "get" that it's not me asking for the help, right? It's the person I linked to on Stack Overflow.
@Patrick granted. Would require me to have commandbox installed. Or have the patience to do so. Again... I'm not asking for help. I'm asking if anyone here would like to help another of our colleagues.
w
yes, when i clicked on the link and read the post before your insulting comment i came to the conclusion that it was not your problem per se. it wasn't clear whether you had a block of code ready to run or what. no need to be a dick
a
Which I thought was clear in my first message, but seems not.
p
Heh yea I missed that pov
👍 1
And commandbox really is as simple as breathing oxygen 🙂 lol
a
Kevin. Come now. I was taking the mickey. You are not a stranger to that yerself.
w
take the piss out of those that deserve it is all
plenty of targets on here
a
There certainly is. More all the time, even.
w
anyway moving on. i do NOT get a 500 locally
a
Did you report back to the other person?
w
so he may not be allowing the verb at the web server level
no, i don't have a stack overflow account
a
Again... I personally am largely disinterested in the situation. I've drawn a blank with the amount of time I had to put to it, and was rather helping someone else could.
no, i don't have a stack overflow account
\me stares dumbfounded at the screen Blimey. Fair cop though.
w
i thought it was pretty clear i have little to nothing to offer my 'peers'
i just never made one
and not going to for some dipshit that's using remote access cfcs
😂 1
a
hahahahha
no, indeed (at least regarding "just to help one person")
w
i gave a dollar to a homeless guy yesterday. i'm good until next month
a
what, do you snatch it back off him then?
w
no, i said 'hey buddy, what's your take on access=remote functions in cfcs?' and he said, 'wtf are you talking about, just give me the dollar'. good enough for me, i let him have it.
😜 2
Found the fix....thanks Google...sigh
w
that's literally the only reply on that SO thread
a
@Patrick that's a mirror of the same Stack Overflow Q, and that's not an answer. Adrian misunderstood the Q
p
I mean Ariel did ask for "Any ideas guys?" sooo yea
w
i'm super over this topic but will end it with the fact that i dumped getHTTPRequestData() inside the cfc's test method and it confirms it saw the head request without issue
a
OK cool. Not innately a CF10 thing. Misconfig on Tomcat perhaps. Cheers.
I'll update the OP
Any more help would be appreciated (I mean from other ppl who haven't exhausted their options). I don't have a dog in this fight, but they are a rare CFMLer on Stack Overflow that's asked a well-written question, and made meaningful follow-ups, so wanted to show that it's a tactic for getting help.
It's a refreshing change from "cAn i hAz cOdEz" which seems to increasingly be the calibre about the place.
✔️ 1
❤️ 1
e
But stack overflow is full of ask-and-paste copycat programmers. Why do I have to RTFM when I can haz code? (SARCASIM)
m
@Adam Cameron I happened upon this answer from you Adam (from back in 2013). Thought it was funny that you already answered this question. sort of... https://stackoverflow.com/a/14929502/1636917
😂 1
a
At least I am not contradicting myself
😅 2
Ooh PeterB was being uppity on that one.
I remember it now.