Questions tagged [commandbox]

CommandBox is a tool providing a command line interface for developer productivity, tool interaction, package management, embedded CFML server, and application scaffolding.

CommandBox is an open source tool providing a command line interface () for developer productivity, tool interaction, package management, embedded CFML server, and application scaffolding and is developed by Ortus Solutions, Corp.

It tightly works together with other products of Ortus Solutions like , but allows to be extended for any () project, as it is also written in ColdFusion.

Useful links

27 questions
4
votes
1 answer

How to get Instance name in CommandBox CF 2018?

I recently started using commandBox to run ColdFusion in my local environment. After I played around for a while one issue I run into was related to adminapi. Here is the code that I use in one of my projects: adminObj =…
espresso_coffee
  • 5,980
  • 11
  • 83
  • 193
4
votes
3 answers

Using Lucee Server with Command Box problems accessing Server Administration page

I recently downloaded CommandBox to try to set up a Lucee Server. I have a folder called LuceeSever with an Index.cfm page. When I type the command "box server start" it opens a window at this address: http://127.0.0.1:54613 displaying my index.cfm…
Cole Perry
  • 333
  • 1
  • 5
  • 27
4
votes
1 answer

Avoid cgi shared scope

I have a lot of FW/1 controllers which can perform differing functions based on whether the request is a get or post. I have a lot of code that looks like this if (cgi.request_method == "post") { I recently installed Commandbox's CodeChecker CLI …
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
3
votes
2 answers

ColdFusion CommandBox - Forbidden message

I have a question related to CommandBox setup. I use latest version of ColdFusion and my folder structure looks like this: D:/CommandBox/wwwroot Inside of the wwwroot folder I created index.cfm file. That file contains only one line of…
espresso_coffee
  • 5,980
  • 11
  • 83
  • 193
2
votes
1 answer

Problems with CORS. COLDBOX - Coldfusion

we are using ColdBox for our backend application and we are experiencing weird problems with CORS. We have a preProcess function that servers as interceptor for ajax calls and it is like this: function preProcess( event, data, buffer, rc, prc ){ …
2
votes
1 answer

Error "Schema "information_schema" not found;" running "migrate up" on H2 database

I'm testing h2 database in a ColdBox application (on Lucee) ... I can connect to database with Quick but I'm not able to run migrations... this is the error displayed in CommandBox after migration init and migration up ERROR (5.2.1+00295) Schema…
elena
  • 123
  • 1
  • 11
2
votes
1 answer

Config issue of Taffy in Lucee

I am new to Taffy API framework. Trying to run the examples with Lucee but I get this error invalid component definition, can't find component [resources.throwsException] But it works all fine with ColdFusion. May I miss something that it's very…
Oliver
  • 21
  • 2
2
votes
1 answer

How can I set physical path in commandbox using cfconfig directory mapping

I am now having an issue in my mac os when I want to create new mapping in commandbox. Let say my physical document root in /Users/Worawit/Projects/tnosystems so, the command line would be cfconfig cfmapping save virtual=/v5ph_uyonming…
Worawit
  • 21
  • 3
2
votes
1 answer

Create datasource for ColdBox application

I am working on a legacy system written in ColdFusion. I am attempting to set up a local development environment. I have had some minor success getting the main login page to load from a ColdBox server. I created a directory: $ mkdir myapp $ cd…
Code-Apprentice
  • 81,660
  • 23
  • 145
  • 268
1
vote
1 answer

The Command to start Coldfusion server exits with errors in Command Box

I have been all over trying to figure out what this error means. The project has been just given to me and I have never done anything with cold fusion. Any help would be appreciated. What happens is when I try and start the command box I get this…
Aaron Blakeley
  • 315
  • 1
  • 3
  • 13
1
vote
1 answer

Render JSON from controller method

I'm on FW/1 4.2. The documentation states the following: You can return data directly to the caller, bypassing views and layouts, using the renderData() function. variables.fw.renderData().data( resultData ).type( contentType ); When I attempt to…
mrSpear
  • 453
  • 5
  • 9
1
vote
1 answer

How to view dot files (hidden files) in the base directory of a Docker container

I have a Lucee app running in Commandbox in a Docker container on Centos 7. Docker version 1.13.1, build 0be3e21/1.13.1 CentOS Linux release 7.9.2009 (Core) Commandbox v5.2.1+00295 Lucee 5.3.7.47 The application code is copied to the /app directory…
1
vote
0 answers

ColdFusion - Return data of queryExecute and not the entire query

So I'd like to return the value of a property of a table only, not the entire query using coldfusion and my local table. This is how I display it:

#match.outcome.queueDescription.toString()#

Also, this is how I…
Proudyy
  • 57
  • 5
1
vote
1 answer

Installing Ortus Commandbox on Mac OSX Sierra, running box results in errors and exceptions

I tried installing Commandbox from Ortus by downloading the zip file that also contains the JRE. This landed in the Downloads folder on my Mac running OSX Sierra. I unzipped it and tried running box. It first initialized stuff, then ran fine. The…
teaman
  • 469
  • 7
  • 18
1
vote
1 answer

Getting "GTK+ 2.x symbols detected." error when trying to start a server using CommandBox

I am trying to start a Lucee server under an Ubuntu 16.10 VirtualBox virtual machine using CommandBox 3.5.0. For debugging purposes I use this command: server start --debug --console --noopenbrowser This seems to start up the server but the last…
Sebastian Zartner
  • 18,808
  • 10
  • 90
  • 132
1
2