Cfm page gets downloaded instead of rendering in the browser - coldfusion

I have done the setup for coldfusion-61.When I try to hit the URL for a cfm page, a download window pops up asking if I want to save the file. This happens in the Internet Explorer. In Mozilla it just shows the code written in the cfm file. I looked up on the internet and what most people suggested was re installation but the issue persists . Any suggestions ?

As your using port 8500 I presume you are using the internal server and do bot gave iis installed?
Are you sure that you chose rhis option during installation?
Also have you checked the service is actually running.

I ran into this on CF10, was in the end an issue with the Application Pool. I had to recreate the pool and could then move forward with other issues.

Related

Expo publish - using a cached project alert

I wanted to make my app accessible without local connection via expo publish. After running the command i successfully get a link to the project page. But if i try to open the app via the project page in Expo Go, it displays this alert:
The project is loaded on my device(i suppose it is because it is cached in my device), but it is not opening for anyone else. How to load it with network instead of cache? My network is connected even though the alert tells to check it.
It was my mistake, had to go through the expo documentations to find a guide that simply states:
Invite your teammate to the Expo account that owns the project.
I thought since the project privacy is set to public, this was not mandatory. It is.
I had this problem today - for me the issue was being on a public WiFi network (at a co-working space) that I think must have some kind of network filtering that presumably blocked fetching new Expo packages.
Switching WiFi off on my phone and using cellular resolved the issue.

Google Cloud Shell has been stuck on "Provisioning your Cloud Shell machine" for hours now

I am new to Google cloud and I am trying to sue the cloud shell. After going to the page with it it just has been saying "Provisioning your Cloud Shell machine" for hours now with no activity or prompts. Am I doing something wrong here or is this just the time it takes to generate the server.
Thanks in advance.
Try to restart it. Click on the 3 dots on the right of the window and hit restart.
Update, after switching from un googled chromium to Firefox it cleared up the issue, I am guessing some block that was causing this.
Firefox stays in this state forever, for me.
Microsoft Edge works just fine..
If you are using Chrome or an incognito tab then the following solves the issue:
At the right hand side of your search bar just ensure that Third-party cookie blocking is turned off to allow cookies.
The location of the Third-party cookie blocking icon:
Used Chrome instead of Firefox solved the issue.

Coldfusion Server Standalone server displaying source code

I needed to install Coldfusion 8 on my local Windows 7 PC, to do some testing. I took the easy route and installed the Standalone server, which included a built in web server. I didn't really need a fully fledged web server, just needed to test.
So after some time of Coldfusion working fine. It started displaying the source code of the page. In other words, Coldfusion was not parsing the page. Merely displaying the source code.
I've worked out that the following line will make the page display source code
<?xml version="1.0" encoding="utf-16"?>
Even if I remove this line from the source code, the source code is still displayed. So I have to make another .cfm file with all the code except the above line, for it to run.
My question is, how do I clear the Coldfusion Standalone Web Server's cache? I've tried the usual restarting of Coldfusion to no avail.
Update: I eventually used a workaround of just renaming the files ie: testing1.cfm, testing2.cfm. For anyone else getting this issue, just use a standalone web server like Apache.
Have you tried restarting ColdFusion?
Have you tried clearing the cache in your browser?
For what it is worth, I prefer to use a web server even when doing development. I have found that using the CF web server and having all my projects under the CF web root can lead to pathing issues in production.
Not sure if you have already fixed this issue but there is an option in the ColdFusion administrator under the Settings > Caching option. At the bottom is a button named Clear Template Cache Now. Clicking that button will empty (remove) any templates that ColdFusion has cached. The next request to that template will force ColdFusion to recompile it if it has been modified.

JCS Admin page: Links on JSPAdmin.jsp do not work out of the box

I have been working with JCS for a while now and I seem to have run into an issue with the JSPAdmin.jsp page that comes bundled with the jcs download from apache. The page helps us monitor the cache elements in the Remote Cache Server setup.
The links (Summary | Detail | Clear) on the page does not seem to work as I get a resource not found error when I trying clicking those. The JCS forums suggest tweaking couple of class files in the jar to enable this but that did not work.
The Remote cache server is currently setup within jetty.
Has anyone run into such an issue and was able to configure the pages for those links? The main page works fine.
Thanks,

CSS applied differently on local vs. remote

This is a bit of a long shot given how vague my problem is but I'm at my wit's end here.
Basically on my local machine, my website looks fine. However, once it's deployed to the live server, the CSS is not being applied in the same manner. Some of the overwrites that are happening on my local server are not being replicated on the remote server.
All the CSS files are loading for sure on the remote. Collectstatic command has also been ran.
Has anyone experienced such an issue before? Or does anyone have an guesses as to why this might be happening?
UPDATE
I know which style sheets are causing my problem, reset.css and text.css for those familiar with 960.gs. The thing is the overwrites are working in the right order locally but not on the remote.
It could be a lot of things, but I've had this happen to me before. It could be related to some virtual directories not being set up properly on your dev machine when compared to the production environment (causing some CSS to not load).
Have you used Firebug to see which CSS files are being loaded? You could use the Web Developer Toolbar in firefox to disable individual style sheets to see which is your culprit.
Are you sure there aren't any embedded styles on the remote server that you don't have locally?
Remember that there is a cascading order of priority for which CSS takes precedence in a browser. See: http://www.w3schools.com/css/css_howto.asp (bottom of page "Multiple Styles Will Cascade into One").
Good luck.
clear cache as well as cookies of your browser and recheck it. sometimes if network is slow , page does not download properly. basically css has to take nothing from the server. It may differ from browser to browser.
By default, Intranet sites are displayed in compatibility view in Internet Explorer.
This setting can be disabled