http://coldfusion.com logo
Join Slack
Powered by
# box-products
  • j

    Jesus Merino

    11/21/2022, 11:35 AM
    we can see that
  • j

    Jesus Merino

    11/21/2022, 11:37 AM
    there is any way to know the simulate the preparation of the arguments before execute the rest of the function?
  • j

    Jesus Merino

    11/21/2022, 11:38 AM
    maybe testbox has something, or maybe using raw coldbox it's posible to get those default values
  • j

    Jesus Merino

    11/21/2022, 11:39 AM
    I could not find any info about that googling
  • j

    Jesus Merino

    11/21/2022, 11:41 AM
    If i colud make that kind of tests i could reduce the total quantity tests i need to create
  • w

    websolete

    11/21/2022, 8:02 PM
    just this morning i started receiving the following error when spinning up an app that was working fine last week. i've forgotten all the servers and let it redownload what i needed, but still getting the same MULTICONTEXT error (which i haven't seen before). anyone encountered this?
    Copy code
    |------------------------------
       | √ | Setting Server Profile to [development]
       | √ | Installing package [forgebox:lucee]
       | × | Loading CFConfig into server
       |   | > key [MULTICONTEXT] doesn't exist
       |   |-------------------------------------------
    
    ERROR (5.4.2+00453)
    
    key [MULTICONTEXT] doesn't exist
    
    
    D:\commandbox\CBHome\cfml\modules\commandbox-cfconfig\models\Util.cfc: line 70
    68:
    69:                             // Crappy workaround for CommandBox bug where this logic is being done on the fly, but not saved back into the serverInfo struct!
    70:                             if( serverInfo.multiContext && not serverInfo.webConfigDir contains '{web-root-directory}' && not serverInfo.webConfigDir contains '{web-context-hash}'  ) {
    71:                                     serverInfo.webConfigDir &= '-{web-context-hash}'
    72:                             }
    b
    • 2
    • 46
  • j

    Jordan Clark

    11/22/2022, 4:46 PM
    Has anyone had an automatic build fail because forgebox install fails because github blocked the download with a "too many requests" error? Any ways we can make our build more reliable by packaging forgebox dependancies into our local repo?
    b
    c
    • 3
    • 49
  • b

    bdw429s

    11/22/2022, 6:17 PM
    https://twitter.com/bdw429s/status/1595119305468694528
    ❤️ 1
    👍 2
  • t

    teaman

    11/22/2022, 7:36 PM
    Is there an easier way to configure a PDF service in a CommandBox (CB) CF server than what I've been doing (and which now appears to no longer work for me). Steps I take after a new CB update is: • identify the cfusion location in my ~/.Commandbox/server/ which I usually select from the list of many based on last modified date. • Install the Adobe Add-On Services download and reference the above location of cfusion during that install. I place the Adobe Add-On folder in c:\ColdFUsionAdd-onServices • Inside the first step location for cfusion, locate the .prikey in the cfusion\lib folder and swap it for one not broken that another forum member here on Slack provided a while back. • Start CB and CF2018 server. The error I am getting after all that (in CF Admin panel) is can not connect to the PDFg service. The log string says "Error in setting up authentication for PDFg services. " This usually indicates the .prikey is not working. Advice is appreciated.
    d
    b
    • 3
    • 44
  • c

    Christopher Bare

    11/22/2022, 10:04 PM
    Hey, when I try to run install, I keep getting this:
    Copy code
    CommandBox> install
    |  | Installing ALL dependencies
       |------------------------------------------
       | √ | Installing package [forgebox:str@1.0.7]
     × | Installing ALL dependencies
       |------------------------------------------
       | √ | Installing package [forgebox:str@1.0.7]
       | √ | Installing package [forgebox:coldbox@^6.8.1+5]
       | × | Installing package [forgebox:qb@8.2.2]
       |   |-----------------------------------------------------
       |   | Verifying package 'qb' in forgebox, please wait...
       |   | Installing version [8.2.2].
       |   | Verified entry in forgebox: 'qb'
       |   | Downloading entry from forgebox.
       |   | Deferring to [https] endpoint for forgebox entry [qb]...
       |   | Downloading [<HTTPS://ortus-forgebox-private.s3.us-east-1.amazonaws.com/elpete/qb/8.2.2.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential>
       |   | =AKIAJMDMWUSW7FUVMSFQ%2F20221122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221122T215711Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Am
       |   | z-Signature=ba47cc72049e7286a2f2d4860c7fdd2d7d09000431ae687f0cfc9340b94d368c]
       |   |-----------------------------------------------------
    ERROR (5.4.2+00453)
    
    Connection failure <HTTPS://ortus-forgebox-private.s3.us-east-1.amazonaws.com/elpete/qb/8.2.2.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJMDMWUSW7FUVMSFQ%2F20221122%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221122T215711Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=ba47cc72049e7286a2f2d4860c7fdd2d7d09000431ae687f0cfc9340b94d368cFailed> to parse server certificates
    I've been trying to figure this out for a couple days now. I'm new to CF, sorry in advance.
    b
    • 2
    • 6
  • p

    Patrick S

    11/23/2022, 2:44 PM
    Is there a recommended way to reinit a ColdBox app when it is behind a load balancer with multiple servers?
  • l

    lmajano

    11/23/2022, 2:45 PM
    you can use containers or or autodeploy module
  • l

    lmajano

    11/23/2022, 2:45 PM
    or messaging
    p
    • 2
    • 1
  • b

    birdy1980

    11/25/2022, 10:39 AM
    I have found a bug in the Ortus Redis Cache extension. When you use a "keyprefix" that contains upper case letters, the functions
    cachePut()
    and
    cacheGet()
    work as expected. The function
    cacheGetAllIds()
    always returns 0. The function
    cacheClear()
    does not clear the cache. I have made a small example project to demonstrate: https://github.com/bferdinandus/cf-redis-cache For this example I'm running a Redis server at localhost:6379
    b
    l
    • 3
    • 7
  • r

    richard.herbert

    11/29/2022, 2:18 PM
    I’m working on getting CommandBox to support multiple Lucee contexts and I think I’m missing something. In the first instance I’m trying to do this on a Mac using Apache/ModCFML but I also need to do this on Windows with IIS/BonCode. For Apache I have the following enabled in my httpd.conf
    Copy code
    LoadModule proxy_module lib/httpd/modules/mod_proxy.so
    LoadModule proxy_html_module lib/httpd/modules/mod_proxy_html.so
    LoadModule proxy_http_module lib/httpd/modules/mod_proxy_http.so
    LoadModule proxy_ajp_module lib/httpd/modules/mod_proxy_ajp.so
    
    LoadModule modcfml_module lib/httpd/modules/mod_cfml.so
    CFMLHandlers ".cfm .cfc .cfml"
    ModCFML_SharedKey "mySharedKey"
    For each of the sites I have:
    Copy code
    <VirtualHost *:80>
    	ServerName mySite1
    
    	ProxyPreserveHost On
    	ProxyPass / <http://localhost:8500/> nocanon
    	ProxyPassReverse / <http://localhost:8500/>
    
    	ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ <ajp://localhost:8009/$1$2>
    </VirtualHost>
    Where the
    ServerName
    changes and the
    ProxyPass
    and
    ProxyPassReverse
    port numbers increment by 1 each time. For each of the sites I have a similar
    server.json
    Copy code
    {
        "name":"mySite1",
        "web":{
            "host":"mySite1,
            "http":{
                "port":"8500"
            },
            "rewrites":{
                "enable":"true"
            },
            "ajp":{
                "enable":"true",
                "port":"8009"
            }
        },
        "app":{
            "cfengine":"lucee@5.3.4+77"
        },
        "modcfml":{
            "enable":"true",
            "sharedKey":"mySharedKey"
        }
    }
    Where the values of
    name/host
    and
    port
    change in sync with the Apache settings. If I start up CommandBox and start my “base” server on localhost:8500 it come up and I can also access the Lucee admin but I don’t see any of the other contexts in the foot of the Admin Overview page. What am I missing?
    b
    • 2
    • 34
  • g

    gpickin

    11/29/2022, 6:02 PM
    CFML News podcast

    https://youtu.be/0AzQBM1qmqo▾

  • s

    salted

    12/01/2022, 3:06 PM
    With the new cf alpha can we test it with commandbox?
    b
    • 2
    • 3
  • s

    salted

    12/01/2022, 3:06 PM
    i.e. sign up to the alpha then somehow get access to use it with cb
    j
    b
    • 3
    • 16
  • s

    salted

    12/01/2022, 3:07 PM
    I’ve never taken part in a pre-release test with cf so not sure on protocol
  • s

    salted

    12/01/2022, 3:07 PM
    we have several servers that are needing upgraded but as time goes on I’m unsure where to upgrade that’s safe - i.e. do I go cf 11 to 2018 and is that going to be sufficient or do I need to go further so I don’t fall out the update zone
  • s

    salted

    12/01/2022, 3:08 PM
    with licensing it and cf it compounds this issue as I don’t want to be giving bad advice to clients
  • j

    Jim Priest

    12/01/2022, 4:15 PM
    Here ya go: https://cfml.slack.com/archives/C06TABBT8/p1669141075552409
    s
    • 2
    • 1
  • b

    bhartsfield

    12/01/2022, 5:04 PM
    Having an issue with log levels in a logbox setup and hoping someone more familiar with it can tell me where I might be going wrong. Details in the thread
    w
    • 2
    • 31
  • s

    salted

    12/01/2022, 6:35 PM
    separate question: is it possible to use cb rewrites to rewrite within files?
  • s

    salted

    12/01/2022, 6:35 PM
    that is, not just urls but urls in static files like html or js
  • s

    salted

    12/01/2022, 6:35 PM
    I know how to do it with IIS but not commandbox alone
  • b

    bdw429s

    12/01/2022, 11:02 PM
    https://twitter.com/bdw429s/status/1598451972922920965
    🎉 8
    👍 1
    d
    r
    j
    • 4
    • 4
  • s

    satauros

    12/02/2022, 12:16 PM
    When using
    cfformat watch
    can I set default folders to watch? Without using the explicit folder names on the command line?
    j
    • 2
    • 1
  • g

    garciadev

    12/02/2022, 3:52 PM
    Just a reminder that we are having Ortus Office Hours today at 11am CT https://twitter.com/ortussolutions/status/1598692938451718144
  • j

    jakobward

    12/02/2022, 4:36 PM
    I’ve been running CommandBox in Windows 10 via Parallels on my Mac. Will there be a noticeable difference if I switch to Windows 11?
    p
    s
    • 3
    • 5
1...181920...30Latest