FIX – Coldfusion 8 z-indexing field overlapping problem

 Here is a simple code to fix the z-indexing issues with the Coldfusion date field overlapping a field. I wrote this code to crawl the DOM after the page loads, finding all the date fields on the page and fixes the badly formatted code.

 

Code for the header:

Trigger the code at the end of the code outside the </body> tag

FIX – ColdFusion 9 Installation 404.3

Notes: When installing ColdFusion on Vista, Windows Server 2008 Standard or Ent with IIS6 or IIS7 Server you may receive HTTP 404.3 Error, similar to this one:

HTTP Error 404.3 – Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

  • Module: StaticFileModule
  • Notification: ExecuteRequestHandler
  • Handler: Static File
  • Error Code:0x80070032

Additionally if you run ColdFusion Web Server Configuration Tool, you will see a message saying that IIS components are being installed and could take between 2 to 5 minutes of time.


Windows 2008 Standard / Ent Fix:

Scroll Down For Vista Fix

  1. Start Server Manage: Roles >Under Web Server (IIS) Add Roles Services
    Add Role Services
  2. Add Role Services: > Select Role Service > Add “ISAPI Extensions”
    ISAPT Extensions
  3. Add Role Services: > Select Role Service > Add “ISAPI Filters”
    ISAPI Filters
  4. Add Role Services: > Select Role Service > Add “IIS 6 Metabase Compatibility”
  5. Add Role Services: Click Next > Click Install
  6. Start > Programs> Adobe > ColdFusion 9 > Web Server Configuration Tool
  7. Add Web Server Configuration: Check Configure web server for ColdFusion 9 applications > Click OK
    Check Configure web Server for ColdFusion 9
  8. Confirm > Yes
    Confirm

Windows Vista Fix:

  1. Start: Control Panel > Programs and Features > Turn Windows features on or off
  2. Windows Features: Check ISAPI Extensions & ISAPI Filters
  3. Windows Features: Check IIS Metabase and IIS 6 Configuration compatibility
  4. Continue at step 6 of the Windows 2008 Standard / Ent Fix
ColdFusion Installation Screen 1

HOW-TO Install ColdFusion 9

Prerequisites: Install your IIS6 or IIS7, Apache, SUN

If you are installing ColdFusion 9 on a windows server with IIS, you will need the following features

  • ISAPIExtensions
  • ISAPI Filters
  • IIS 6 Metabase Compatibility

Note: If you are installing the Developer Version, there is an option for a built in web server.

  1. ColdFusion 9 Installation How-To
    Auto Run your CD or Double Click the installation file, you will see this screen as it extracts the compressed files.
    ColdFusion Installation Screen 1
  2. Introduction
    Welcome to the installation Wizard of Adobe ColdFusion 9, Adobe recommends that you exit from all running applications before proceeding. This is more then a recommendation, some applications may cause the installation to fail.
    ColdFusion 9 Installation Screen 2
  3. License Agreement
    Installation and Use of Adobe ColdFusion 9 Requires Acceptance of the Following License Agreement. Accept the terms or end installation process now.
  4. Install Type
    If you do not have a serial number, select either 30-day trial or Developer Edition. NOTE: Developer Edition only allows 2 CPU’s connected at a time. Your SQL server and if your a black hat, the Reverse Proxy HTML Wrapper. If your a White Hat, then it will be your workstation computer.
    ColdFusion 9 Instillation Screen 4
  5. Installer Configuration
    Your choice; Server Configuration, Enterprise Multi-Server configuration & J2EE Configuration. In my step-by-step example I am using the Server Configuration. If you expect server growth I would recommend Enterprise Multi-Werver configuration.
    ColdFusion 9 Installation Screen 5
  6. Sub-Component Installation
    Select the sub-components to install: Coldfusion 9 ODBC Services, Coldfusion 8 Search Services, ColdFusion 9 Solr Services, .NET Integration Services, ColdFusion 9 Documentation
    Coldfusion 9 Instillation Screen 6
  7. Select Installation Directory
    Select the directory where you want to install Adobe ColdFusion 9. The default directory is C:\ColdFusion9
  8. Configure Web Servers / Websites
    If IIS is NOT installed on your system the “All IIS websites” will not be an option. You will however have the option for Apache and SUN’s version of a web server. Or if you are installing the Developer Edition you have the option for a built in web server. I recommend Apache/Linux install. However, In my installation I will be using IIS 7 on Windows Server 2008 Standard.
    ColdFusion 9 Installation Screen 8
  9. Choose Adobe ColdFusion 9 Administrator Location
    Select the location of the web root for Adobe ColdFusion 9. This is where the installer places the Adobe ColdFusion 9 Administrator. This directory must be the web root for one of the websites to be configured for use with Adobe ColdFusion 9. If configuring an IIS website, you must set scripts to be executable.  Default directory: C:\inetpub\wwwroot
    ColdFusion 9 Installation Screen 9
  10. Administrator Password
    Enter the password that you will use to restrict access to the ColdFusion Administrator. *This field is required.
    ColdFusion 9 Installation Screen 10
  11. Enable RDS
    The ColdFusion Remote Development Servers (RDS) lets developers using Adobe tools remotely connect to this server for development purposes. RDS is required for Line Debugging, Report Builder, and Dreamweaver Extensions.  YOU WILL WANT THIS. Unless this is a production server and you have already debugged and tested your applications.
    ColdFusion 9 Installation Screen 11
  12. Pre Installation Summary
    Review the installation options, Type, Licensing, Directories and Server Information.
    ColdFusion 9 Installation Screen 12
  13. Installing Adobe ColdFusion 9
    Congratulations! You’re on your way to developing the next generation of web applications with Adobe ColdFusion 9.
    ColdFusion 9 Installation Screen 13
    ColdFusion Installation Screen 14
    ColdFusion 9 Installation Screen 15
    ColdFusion 9 Installation Screen 16
  14. Please Wait
    Please wait, Adobe Coldfusion 9 is being configured for your system. This may take a moment…
    ColdFusion Installation Screen 17
  15. Installation Complete
    You have successfully completed the first step in installing Adobe ColdFusion 9. To configure your server please see my write up on Step by Step ColdFusion 9 Configuration.
    ColdFusion 9 Installation Screen 18

CODE – Coldfusion Function SQL Query to Coldfusion Array

This is a simple Coldfusion Function that will convert a Query object to an Array object.

CODE – ColdFuison Function string to Remove HTML Tags

Here is the issue, I have a string and I need to remove any HTML code within the string. Here is a simple function I have put together to do just that.

Code Source:

CODE – Ajax CFWindow popup preview window.

This is one of my more advanced codes I have written, its compact and is easy to deploy. FYI: It uses custom attributes, and might not be XHTML compliant. The java script crawls the DOM and looks for thecustom attributes and builds the code as needed.

How to use:


Copy and paste the code below and paste it above the <body> tag then format your image string like this:

 

Code Source: ADVANCED


Add this code to the END of your page after the </body> Tag.

CODE – Coldfusion SQL Query to Coldfusion Array

This is a simple Coldfusion Function that will convert a Query object to an Array object.