I have some experience in programming in Coldbox but no experience in downloading and installing it on an existing site. The Coldbox examples spin up a Lucee server which I do not want.
I already have a fully functioning non-Coldbox site. I thought I could simply install Coldbox ( via CommandBox ), create a default layout and all would be fine. However, I only get errors like “Error building: interceptor-SES…” or “this or that coldbox component can’t be found”.
Is it really that difficult to use coldbox on an existing non-coldbox site? I’ve searched the net extensively but cannot find information on how to do this. Is there a mapping somewhere that I need to set?
My development web root is c:\inetpub\wwwroot\siteName.
Thanks
--------- Original Message ---------
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/4b13d722-baa1-48cb-ac5b-4bddff744698%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mike,
At the very minimum, you’re going to need a `coldbox` mapping, if it doesn’t exist in the root of your site. You’ll also make sure that your application start calls the Bootstrap
and that you have a config in the conventions directory, or map it using the variables in this Application.cfc:
https://github.com/coldbox-templates/advanced-script/blob/master/Application.cfc
My suggestion would be to take the Application.cfc above and customize it with the items which are in your existing app. You’ll need to do that with the `onRequestStart` method anyway to be able serve coldbox handlers from your application.
Jon
From: <col...@googlegroups.com> on behalf of Mike <letsonm...@gmail.com>
Reply-To: "col...@googlegroups.com" <col...@googlegroups.com>
Date: Tuesday, November 28, 2017 at 4:51 PM
To: ColdBox Platform <col...@googlegroups.com>
Subject: [coldbox:26664] [Coldbox 4.3.0][Coldfusion 2016] - Installing to existing Non-Coldbox website
I have some experience in programming in Coldbox but no experience in downloading and installing it on an existing site. The Coldbox examples spin up a Lucee server which I do not want.
--
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+unsubscribe@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/d7783c1a-6f0b-40d9-8795-d7d13311c0c7%40googlegroups.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/d7783c1a-6f0b-40d9-8795-d7d13311c0c7%40googlegroups.com.
When I say that all of the Coldbox folders are in my site, what I mean is that they are in c:\inetpub\wwwroot\TopLevelFolder. The CB folders are in ‘TopLevelFolder’, which is the highest level folder in my website.
Does that help?
I appreciate your patience.
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/R2EvgMHjs7g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/20171129085602.a7243acce6934569d3743d1abfb94fec.508868c295.mailapi%40email25.godaddy.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/000f01d3692e%24b37333c0%241a599b40%24%40mikeletson.com.
Finally got it running. Had to append ‘mySite’ to applicationHelper in Coldbox.cfc like so:
applicationHelper = "/mySite/includes/helpers/ApplicationHelper.cfm"
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/20171130102341.a7243acce6934569d3743d1abfb94fec.090848f775.mailapi%40email25.godaddy.com.
That’s how I have it.
I started over by deleting my entire web site so I can start with nothing. I created my site folder at c:\inetpub\wwwroot\mySite. I then opened CommandBox and did “coldbox create app name=mySite”.
I created the mapping “/coldbox” in the Coldfusion Administrator that points to c:\inetpub\wwwroot\mySite\coldbox.
Still no joy. Nothing resolves. Just a plethora of “can’t find this or that” errors.
If I spin up a Lucee server, no problem. I don’t understand why it would work on Lucee and not on my already installed CF 16 server.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/20171130102341.a7243acce6934569d3743d1abfb94fec.090848f775.mailapi%40email25.godaddy.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/000501d36f82%243ef28870%24bcd79950%24%40mikeletson.com.