ColdFusion 2016 stopped rendering website after Mac software update - apache

ColdFusion 2016 stopped rendering website files in browser after I updated my Mac software to latest one, Mojave 10.14.1. Instead of seeing the rendered page in the browser I can see my repository files only.
I noticed that some previous settings regarding local server and Apache were removed after update. I did restore missing settings back how they were before and even reinstalled ColdFusion 2016, but still have that problem with rendering websites on the ColdFusion platform.
After running /Applications/ColdFusion2016/cfusion/runtime/bin and sudo ./wsconfig, I the get Web Server Configuration Window with content inside
[ localhost ] Apache : /private/etc/apache2.
Is there anyone who can help to resolve this issue please?

Change the directory to
/Application/ColdFusion2016/cfusion/runtime/bin
Run
sudo ./wsconfig
The documentation does not mention sudo, but I am suggesting it to be safe.
Source: https://helpx.adobe.com/coldfusion/configuring-administering/web-server-management.html

After testing ColdFusion 2016 platform using port :8500 I found out that CF server uses Tomcat path (wrong path) instead of Apache one (for Mac virtual directory file: httpd-vhost.conf) and both of them are running at the same time.

Related

Visual studio code auto refresh browser with apache

Is there a way to set up (extension, etc...) Visual studio code to auto-refresh browser (Firefox Dev, Chrome Dev) as soon as the file I am working on is saved? (Like Live Server extension)
I am working with local installation of Apache (Yes, I am working on WordPress :)
Using this tutorial from youtube you will install the Live Server VSCode extension for use with html files. However, you will most likely (although you haven't mentioned) be using PHP or other languages because apache supports it. For this, use this tutorial from GitHub. It installs a browser extension (compatible with chrome/chromium-based/firefox browsers) that connects to a server instance and serves the reload function to that webserver. This does NOT install a web server (in this case it shouldn't matter). If you follow the tutorial, it should be really self-explanatory.

Wamp (apache) stops working after windows 10 upgrade

I'm an old dog (75) not very good at learning new tricks.
I still use Coral_8_0_0 to create my WAMP server and am comfortable with it, so please don't tell me to upgrade to 13_3_2_ZeroXIII.
I have tried that and haven't yet worked out how to have several websites in the vhosts folder and get to them via the localhost.
I promise that I will sort that out - but, meanwhile, I have another more pressing problem:
I am running Windows 10 on a desktop computer, and I have Apache running as a service and I can :
Stop it when I like and restart it when I want;
Maintain 13 websites in the vhosts folder;
Look at each site via the localhost.
A few weeks ago the Windows 10 OS was upgraded for April 2018 to version 1803, and my setup stopped working :
I could not stop or start apache either as a service or as a programme;
I could not look at my local sites via localhost.
This was really annoying as I update most of these sites on a daily/weekly basis.
Also Dreamweaver did not work properly as it could not access the local site.
I uninstalled the version 1803 upgrade and - magic - Apache and Dreamweaver and the localhost worked perfectly again.
HOW CAN I OVERCOME THIS PROBLEM ?
I sync everything to my laptop which also has windows 10 (not yet upgraded) where everything works as I like.
Today - the 1803 upgrade arrived and I installed it to see what would happen.
Alas - Apache and localhost stopped (like on the desktop machine) so I uninstalled the upgrade and everything reverted back to normal.
I would like to solve this problem before I get stuck into sorting out the latest version of WAMP.
Any help will be gladly received. Thanks in advance.

How to run Php Pages in Netbeans

I have just successfully deployed Quercus on Glassfish 4.1. I tested in the browser
http://localhost:8080/quercus-4.0.39/ and saw this:
Congratulations! Quercus™ Open Source 4.0.39 is interpreting PHP
pages. Have fun!
Then ran Netbeans Tools > Options > PHP > Activate PHP Support
It worked. I now see this:
So I made 3 tests:
I ran a php page in an html application but instead of displaying the page it prompts a download box to open in Notepad
I created a new PHP project with below configuration:
But when I run the app with above configuration I receive this error:
Firefox can't establish a connection to the server at localhost.
So I tried with a third test with other configuration:
When I run this third test I get a HTTP Status 404 - Not Found error on GlassFish server.
What am I doing wrong? Thank you!
The problems with your tests are:
PHP needs to be interpreted by a web server. Your browser doesn't know what to do with a PHP file, so it just treats it like a file rather than a page to render. Apache is the most common and easiest server to do that with, GlassFish is unnecessary and probably not the best choice for PHP.
In this test, you are trying to visit a web server which doesn't exist. You don't have any server that listens on port 80.
Here, GlassFish is reporting that it can't find the resource you requested. Have you made sure to put your PHP project in the right directory for Quercus (like in step 4 of your documentation link) and made sure you're visiting a valid URL?
I think the best thing for you to do is move away from Quercus. The latest version of it is very old and implements an old version of PHP (version 5, whereas the latest is 5.6). Looking at the official website, the project appears to be dead, with broken links and very old documentation.
I would suggest you investigate installing a WAMP (Windows, Apache, MySQL, PHP) or LAMP (Linux, Apache, MySQL, PHP) stack. There are lots of very easy installers for this approach which will help you get up to speed and a lot of helpful tutorials and documentation.
For those who using tomcat, below are the steps :-
Right click your project --> properties --> Run Configuration --> For Run As, select PHP Built-in Web Server
Go to Tools --> Options --> PHP tab --> in Php 5 interpreter, browse the correct location for php
Then it should works !
In my case , my php is in /usr/bin/php7.0, so I put the path in Php 5 interpreter.

How to run Wamp server?

I have a wamp server as well as Xampp installed. I am unable to start my wamp server. When I try to start services, it stops in orange state, never moves to green. But I am getting to see my local host in browser with Xamp under this situation. Can any one help me how to get my wamp server only running.
Sorry for being naive. I am just starting.
if you are using Ubuntu 14.0 you can try somewhat like this in the Terminal Window by pressing Ctrl+Alt+T
Stopping web server apache2
sudo /etc/init.d/apache2 stop (find the path where your xampp server is located)
Starting XAMPP
sudo /opt/lampp/manager-linux.run (find the path where your wamp server is located)
For Windows
Press Windows Key + R or go to run
Type services.msc
Then stop the service for Xampp Server
If Apache is not running as a Windows Service:
you use the Xampp Control Panel Application to stop and start Apache.
I also experienced the same problem and I hope it will work
INSTALLING
Double click on the downloaded file and just follow the instructions.
Everything is automatic. The WampServer package is delivered whith
the latest releases of Apache, MySQL and PHP.
Once WampServer is installed, you can manually add aditionals Apache,
Php or MySql (only VC9, VC10 and VC11 compiled) versions.
Explanations will be provided on the forum.
Each release of Apache, MySQL and PHP has its own settings and its
own files (datas for MySQL).
Using wampserver
The “www” directory will be automatically created (usually
c:\wamp\www)
Create a subdirectory in “www” and put your PHP files inside.
Click on the “localhost” link in the WampSever menu or open your
internet browser and go to the URL : http://localhost
Installing Wamp

Apache Tomcat Server shutdown yet webapplication is still running

I am using Apache Tomcat 6.0.18, I am running on Windows XP
I have a web application which I place it's war file under webapps folder. The web application runs fine, its just when I run the shutdown.bat the application still runs (as in I refresh the page and it doesn't come up not found).
I check the localhost:/8080 and webpage cannot be found comes up
but when I run localhost:/8080/myapp my application comes up.
I have tried this in both IE and Firefox
Thank you for any help.
I had this similar problem, This can only happen if Apache Tomcat is not configured properly. Best way is to check build path and look for exact directory of Apache.
Example
i.e C:\Program Files (x86)\apache-tomcat-7.0.27
Also look for windows service for start, restart or stop
Run - services.msc
You may want to check this link
i.e
Verify that tomcat is actually down (simplest way is via task manager)
The issue sounds like a caching issue. Try deleting your cache.