What is this mean
<cfhttp method="get" url="http://localhost:8500/projects/test.txt" timeout="5" />
<cfset header = cfhttp.header />
<cfif listContainsNoCase(header, "200 OK")>
<cflocation url="http://localhost:8500/projects/test.txt">
<cfelse>
<cfset request.proginfo.pagemessage="The file was not found.">
<cflocation url="search.cfm">
</cfif>
hi the above is bit confusing i am relocating to search.cfm instead of opening url in cfhttp , but the file still exists on the same path and i am able to open it up with address http://localhost:8500/projects/test.txt
any one had idea about what it is doing?
Thanks
Do this:
<cfhttp method="get" url="http://localhost:8500/projects/test.txt" timeout="5" />
<cfdump var=”# cfhttp#”>
That will display what returns from the cfhttp request. If that is not ‘200 OK’, if that is something else like 404, then your coldfusion server could not access localhost:8500. That happens base on the security settings in the web server. Try with the sever name or with the IP address. Some times that works.
If your test.txt and this cfm file in the server, you can use FileExists() function to check if the text file exists. That is way faster than cfhttp.
Thanks
Sam
cflove.org
Similar Messages
-
What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7
I found the manual update, which worked!
http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604Hi Barbara,
For failed 13.1.2 update error U44M1P7, Please refer to the solution mentioned in the following threads :
http://forums.adobe.com/message/5396792#5396792
http://forums.adobe.com/message/5409050#5409050 -
Why has my monitor suddenly begun to have a moiré pattern all over – it is even showing up on my icons on the dock? It appears to be very thin bright green vertical lines. I have a 2007 iMac which is running 10.6.8. What does this mean? I've attached some screen shots below.
Also experiencing some funky issues with my wireless keyboard. With new batteries, it will just stop functioning. Certain keys intermittently won't work. Also the fans go on as soon as I turn the computer on - some times they stay on and sometimes they don't. Ever since upgrading the operating system - I've been having many issues with this iMac. Not happy. Any answers out there?Thanks for your reply LexSchellings, There is no disc in the drive and I went through the suggestions you put forward on the phone with Apple support without any luck. I can put a disc in but it pops straight back out again without registering on finder.
The idea of using an external drive was to enable me to avoid the cost and loss of productivity whilst machine in repair... if I have to take it in to get the old drive removed than I might as well have a new internal drive put in, although I do worry about the reliability of these apple drives given my experience with this one coupled with my limited online research ... on line forums seem to be full of people with the same problem (although perhaps searching such forums is bound to make it seem a common problem as users with perfectly working machines are less likely to post (?)) Your reply suggests that no external drive will work whilst the existing drive is in place.
As a postscript: I do realise that this is a user forum ...my secondary question was asking if anyone knows how to put forward a case/complaint to Apple... I can't find a link on the support page that would enable me to do so and I was wondering if anyone on this user forum had any ideas/experience.. -
when I am trying to download IPad updates I get the message "Your Apple ID has been disabled". What does this mean? How do I get my ID enabled again? Still got more than 50$ in my account !
Reset your Apple ID password here > Apple - My Apple ID
More information here > Apple ID: "This Apple ID has been disabled for security reasons" appears -
Trying to upgrad to Mountail Lion and got an error message : 403 Forbidden. What does this mean? What can I do? I had no problem when I upgraded to Lion.
403 Forbidden HTTP status code in response to a request from a client for a web page or resource to indicate that the server refuses to allow the requested action. In other words, the server can be reached, but the server declined to allow the requested access.
http://en.wikipedia.org/wiki/HTTP_403
Could you be using a different Apple ID oe such? -
I am suddenly unable to open my pictures in Adobe Photoshop. It gives the following message: The document “Tina-19.jpg” could not be opened. Photoshop cannot open files in the “Adobe Photoshop JPEG file” format.
What does this mean? I have opened my photos in Adobe Photoshop for years and suddenly I get this message and can't open any of my picturesJoeLib wrote:
You type way faster than me Gene.
Well, not necessarily in this case.
According to the time stamp, Gene posted his answer a bit over three hours before you did, Joe.
Gene's post: Dec 29, 2014 5:54 PM
Joe's post: Dec 29, 2014 8:57 PM -
When sending an email from my Ipad. I get "receipient was rejected by server because it does not allow relaying". What does this mean and how do I correct it?
On the email account's settings (Settings > Mail, Contacts, Calendars and tapping on the account on the right), go into it's outgoing SMTP settings and try putting in your email name and password (they might currently show as 'optional')
-
I set up my work e-mail account on my iphone 4S. When I try to send an e-mail message from my phone, an error message occurs "Cannot Send Mail" - "recipient was rejected by the server because it does not allow relaying". What does this mean and how do I correct it?
Get the correct mail server settings from your IT department.
-
My iPod doesn't sync it keeps coming up with the message "The iPod 'iPod Nano' cannot be synced. An unknown error occurred (13019)." What does this mean and how can I fix it?
I am getting the same error message. Have you figured it out?
-
I'm trying to finalize/share to Media Browser a 20 minute still slide show with music and text. I'd like to finalize it 1080 hd and have tried several times, but just before it's finished, a message box pops up saying it can't be done because "File already open with with write permission." What does this mean? All files are closed; this iMovie project is the only thing open. Does it mean one of the song files from iTunes? And should I just settle for saving it as a "large" file, which is what I'm trying right now?
Thanks,
JamieHi
Error -49 opWrErr File already open with write permission
Trash the preference files while application is NOT Running.
from Karsten Schlüter
Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
This issue occours only on MacOs machines using 10.7x
try switching-off the Local Mobile Backup
in Terminal copy/paste
sudo tmutil disablelocal
Re-launch Mac
See also this post
https://discussions.apple.com/thread/4434104?tstart=0
Yours Bengt W -
I have downloaded icloud to my pc, however when i go to sign in to Apple through icloud, i get an error message saying my apple ID is valid but is not an icloud account. What does this mean and how can i update my account so i can access icloud?!
To use iCloud, you must first set it up with your Apple ID on a device with iOS 5 or a Mac with OS X Lion.
-
I want a song purchased on my ipad with my apple id downloaded onto our home mac mini. So i can listen to it via that computer. However the mac is registered to my husbands apple id and it comes up with a message about 90days wait needed or something. What does this mean? And how do I get one measly song downloaded?!
Welcome to the Apple Community.
It sounds like you are trying to change your login in the Tunes store through iTunes on your computer, which you can only do once in 90 days, which you don't need to do for this.
What does your iPad usually sync with. -
I have downloaded music to my phone through my Apple ID and it has this message that reads you can download purchases on this device with one Apple ID account every ninety days, what does this mean and how do I fix it?
Well, it doesn't mean that at all. You can download music purchased with an Apple ID to up to 10 devices. There is no 90 day wait. The wait is if you change the Apple ID.
-
Hi everyone,
My iphone and Ipad got stollen yesterday...
I registered my Ipad onto "my profile" but when I tried to register my Iphone 4 onto "My Profile" it says that the product has been registered under ANOTHER apple ID. What does this mean?! Does this mean that the thief is using my phone under a new apple ID?!
I am getitng abit paranoid because when I tried to download a new app onto my macbook pro, it says that someone had accessed my account from a new computer. I am so scared.. as I know that if they are able to access my apple ID account they can see my billing/card details. I tried to delete my billing address and card details on my apple ID account to prevent this from occuring but I can't. Please help
Many thanks,
KimYou should change your AppleID password NOW. And if it says it was registered under another AppleID, the thief has probably done it.
-
A family member set up my time capsule and sayy it's workign correcly but the light on it isn't green, it is yellow...what does this mean?
If the Time Capsule is operating normally, the light will be green.
If the amber light is blinking, something is not adjusted correctly, or there may be an update available for the Time Capsule.
Do you have the device that was used to set up and configure the Time Capsule there? Is this a Mac? If yes, we need to know what operating sysem it is using.
If you are not sure, click the Apple icon in the upper left corner of the screen and then click About This Mac. Post back with the OS X Version number that you see there. -
downloaded Appleworks 6.2.9 for Mac Updater-2.sim but when i try to open the file i receive the message "legacy image should be updated". what does this mean and/or entail?
Mavericks is not recognizing the .smi extension - on my Mac it thinks it's a RealPlayer document. You are not going to be able to do anything with this - it requires AppleWorks to be present to be updated, and you can't run AppleWorks on Mavericks (other than by the rather roundabout process of installing Snow Leopard Server in Parallels and installing AppleWorks on that, as described here).
Maybe you are looking for
-
I am trying to restore my sons new ipod touch i am trying to restore it but it keeps coming up as error 1611, i have removed all security software and tried again but it has made no difference, any advice?
-
Greetings Oracle gurus! Problem: I'm trying to write a query that does some data pivoting. I've done this before in the past on smaller data sets, and they've worked great. However, now I'm doing it against a table that has well over a million record
-
UIButton tag not available in controller code
Hi, I have UIButton defined in InterfaceBuild. I assigned Tag (integer?) to the button. It has a IBOutlet in my controller code. But my controller can not retrieve the tag value by using: int tag = mybutton.tag; It is always 0 no matter what I set in
-
I already installed Lion 10.7.2 but there is not icloud on system preferences panel
I already installed Lion 10.7.2 but there is not icloud on system preferences panel. Anyone can help me please?
-
How do I get true stero separation from Itunes
I recorded a split track audio tape into GarageBand. Voices are on right track and instrumental on the left. GarageBand played out to my stereo when panned left, hears no voices on the left...that's good. I exported GarageBand to Itunes for burning t