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

    birdy1980

    08/01/2022, 9:28 AM
    Hi, I have opened 2 PR's to add support for Lucee settings.
    b
    • 2
    • 4
  • e

    elpete

    08/02/2022, 5:00 PM
    🚨 Starting now! 🚨 Join @elpete and @garciadev for the CFML News Podcast. Live with chat on YouTube:

    https://youtu.be/AzEMIYR_PHc▾

  • j

    johnbarrett

    08/02/2022, 10:41 PM
    Does anybody happen to know the Application root for a commandBox install? I am on macOS and if I could install ColdFusion on the Mac, the Application root would be /Applications/ColdFusion2021. The port I am using is, 54853.l Thanks in advance. The reason I want to know the Application root is for the VS CF Builder extension.
    b
    r
    • 3
    • 13
  • j

    Jordan Clark

    08/03/2022, 6:35 PM
    Has anyone else noticed on macOS that the commandbox no longer has an icon in the top "system tray"? I noticed it disappeared a couple months ago. The running server still shows up on the dock, but without the tray icon there is no menu to stop/restart or my custom trayOptions? I'm running latest commandbox 5.5.2+00578 on Monterey 12.5
    b
    • 2
    • 5
  • c

    chapmandu

    08/03/2022, 11:22 PM
    Hey all.. Is anyone able tell me if the last line of the logs is expected? (cfml-compiler-server not deleted.) This is a prod Docker image output.. just want to be sure there are no leftover processes running... Dockerfile
    Copy code
    FROM ortussolutions/commandbox:latest
    ...
    RUN box install cfml-compiler --verbose --production
    RUN box cfcompile sourcePath=/var/www/ --overwrite cfengine=lucee@5.3.9.141
    Logs
    Copy code
    Eureka, 'cfml-compiler' has been installed!
    Step 37/60 : RUN box cfcompile sourcePath=/var/www/ --overwrite cfengine=lucee@5.3.9.141
    [INFO ] Runwar: Starting background cfml-compiler-server [lucee 5.3.9.141] from: /usr/local/lib/CommandBox/lib/runwar-4.7.7.jar
    Stopping cfml-compiler-server...
    forgetting cfml-compiler-server...
    cfml-compiler-server not deleted.
  • b

    birdy1980

    08/04/2022, 7:27 AM
    Right after starting a lucee server we sometimes get this error:
    Message: java.lang.reflect.InvocationTargetException while creating an instance of ortus.extension.cache.redis.RedisCache
    any idea what could cause this?
    b
    l
    • 3
    • 18
  • o

    Ookma-Kyi

    08/04/2022, 6:02 PM
    What does this mean?
    No matching function [AUTH] found
    Copy code
    try{
    			auth.authenticate( auth().user().getEmail(), rc.password );
    		} catch ( InvalidCredentials e ) {
    			flash.put( "changepassword_form_errors", { "Change Password" : "Incorrect credentials" } );
    			redirectBack();
    		}
    s
    s
    w
    • 4
    • 24
  • b

    birdy1980

    08/05/2022, 10:45 AM
    We sometimes get an NPE error from the RedisCache extension. We are using version:2.0.0-snapshot . The problem occurs with
    queryExecute
    while using the
    cachedWithin
    parameter I'll put the stacktrace in a reply.
    l
    • 2
    • 29
  • w

    wil-shiftinsert

    08/05/2022, 1:43 PM
    I am trying to run testbox from the commandline in commandbox. But I am getting this error
    Copy code
    ERROR (5.5.2+00578)
    
    Error executing tests:Unsupported or unrecognized SSL message
    That can be true since I am using an non-official cert in my dev environment. Is there a setting so that
    testbox run
    can ignore the cert. I still want to use SSL so reverting to http is no option.
    b
    • 2
    • 4
  • p

    Patrick S

    08/05/2022, 3:48 PM
    If I want to run a ColdBox app with URL rewrites enabled from a directory (i.e. /example/ ), what configuration item do I need to change to make the rewrites point to /example/index.cfm instead of the root /index.cfm?
    a
    m
    • 3
    • 10
  • d

    Daniel Mejia

    08/05/2022, 11:44 PM
    In commandbox servers where do custom log files get written to?
    <cflog file="mylog" text="info" type="information" >
    a
    • 2
    • 12
  • r

    richard.herbert

    08/08/2022, 8:53 AM
    Is it me or is
    quick
    trying to be too clever? • I have a table called
    smartmeters
    • I have an entity called
    SmartMeter.cfc
    • I am using the
    QuickService
    • I have
    property name="SmartMeterService" inject="quickService:SmartMeter"
    in my handler's pseudo constructor • I'm calling
    var smartMeters = SmartMeterService.all()
    • And bang
    Table 'smart_meters' doesn't exist
    • WHAT? So it seems like
    quick
    said... Oooh, oooh, I can make two words out of "smartmeters" so I'll be helpful and snake case it for you even though your entity name actually matches exactly an existing table name, do you like what I did there! No thank you! I shouldn't really have to
    component _table_='smartmeters' ...
    my entity when there's already an exact match with a table, surely?
    w
    b
    +2
    • 5
    • 21
  • d

    dajester2015

    08/09/2022, 1:26 PM
    @bdw429s had a thought with wirebox - where custom dsls could register their own "inject" annotation. so instead of
    @inject config:some.config.key
    , you can instead write
    @config some.config.key
    b
    l
    • 3
    • 7
  • g

    gpickin

    08/09/2022, 5:03 PM
    Join us live for the CFML News Podcast -

    https://www.youtube.com/watch?v=LZtoUnLPU38▾

  • j

    jakobward

    08/10/2022, 1:59 PM
    So, not a box product, but a box conference…what’s happening in Houston on Tuesday, Sept 6th? Anything?
    b
    g
    • 3
    • 12
  • p

    Peter Hoopes

    08/11/2022, 4:30 PM
    Love CFCasts - really helpful, but I was wondering about this item - do we really have to wait until June, 2023 to watch it?
  • g

    garciadev

    08/11/2022, 4:32 PM
    @gpickin is slowly building up anticipation...
    s
    p
    +3
    • 6
    • 16
  • o

    Ookma-Kyi

    08/12/2022, 2:11 PM
    I am running into the issue:
    No matching function [FINDWHERE] found
    Here is a gist of the error log, stack trace and code. https://gist.github.com/ookma-kyi/25033298a88e8ac395ed22367dfddf2f
    w
    • 2
    • 4
  • d

    danmurphy

    08/12/2022, 3:00 PM
    We have a handler that injects a service as a property. We have a React dashboard that calls 2 different methods on this handler (
    Safety()
    and
    Improvements()
    ), both of which end up calling the same
    list()
    function on the injected Service. If
    handlerCaching
    is true in ColdBox.cfc, the correct handler methods get called from React but they end up with the same response from the list function in the service. Problem is solved if I disable
    handlerCaching
    . Also, if we keep
    handlerCaching
    enabled, remove the injected service property, and instead use getInstance twice, once in
    Safety()
    and once in
    Improvements()
    , to create the Service object in the handler, this also solves the problem. Is this weird? Are we doing something wrong?
  • b

    bdw429s

    08/12/2022, 3:06 PM
    @danmurphy I'm not quite following that, but all handler caching does is make the handlers singletons, as opposed to re-created each request. Perhaps check for var scoping issues?
    d
    d
    • 3
    • 95
  • p

    pegarm

    08/13/2022, 7:14 PM
    I’m totally confused. I’m setting up a fresh server install on AWS. • Ubuntu 20. • Apache 2.4.41 Everything is coming up roses. I used Commandbox on the server directly to
    coldbox create app name="myapp"
    and no problems. I get the “Welcome to ColdBox!” screen and everything is fine. Now… I create the .htaccess file for the redirects based off this page and no pages will load. I get a 403 error on everything. I’ve tried setting permissions on the files… I’ve narrowed it down to one of these lines:
    Copy code
    RewriteRule ^$ /index.cfm?redirect_path=/ [QSA,NS]
    RewriteRule ^(.*)$ /index.cfm?redirect_path=%{REQUEST_URI} [QSA,L,NS]
    …in the .htaccess file, but I’m stuck resolving it. Commenting out these lines makes everything work again, but of course, the redirects do not. Does anyone have any insight here that could fix this?
    w
    • 2
    • 12
  • b

    birdy1980

    08/15/2022, 8:12 AM
    We are using the ortus redis extention version 2.0.0-snapshot. Now we want to switch to the latest stable release, but the automatic installation is giving some trouble. We are using the java arguments to tell Lucee what extensions to use. So at first we used
    -Dlucee-extensions=5C558CC6-1E67-4776-96A60F9726D580F1;version=2.0.0-snapshot
    That installed the actual version of 2.0.0+6427. Now we want to use verstion 2.0.0+6428 zo we changed the java argument to:
    -Dlucee-extensions=5C558CC6-1E67-4776-96A60F9726D580F1;version=2.0.0+6428
    Now we find some errors in the deploy.log file. I'll post the log in a reply.
    z
    l
    • 3
    • 9
  • r

    richard.herbert

    08/16/2022, 3:15 PM
    Being frustrated with the date format of the
    Logbox
    file appender I thought I'd rustle up my own layout, simples? So I've created my custom layout and referenced it in config and all's well... ...except I'm having trouble replicating, as a first pass, the default format. The appender name doesn't appear to available via the
    LogEvent
    object and I can't seem to use the
    severityToString()
    helper. Also I'd like to control the first row, csv column names, but not sure how to replace that line. Thought or further read suggestions welcome.
    b
    • 2
    • 16
  • g

    gpickin

    08/16/2022, 5:01 PM
    CFML News Podcast going live now - Join the live chat and heckle us on youtube -

    https://youtu.be/tsx07USLyPI▾

  • b

    bdw429s

    08/17/2022, 7:05 PM
    https://twitter.com/bdw429s/status/1559978966080901120
  • a

    Andreas

    08/17/2022, 8:30 PM
    Is there something like a kind of "ShopBox" out there? Something that just could compete with php driven shops e.g Shopware, Prestashop, Woocommerce, Magento (ohhh Magento was aquired by Adobe some years ago)?
    b
    l
    j
    • 4
    • 11
  • b

    bdw429s

    08/18/2022, 5:30 PM
    @megger What exactly is the issue?
    m
    j
    m
    • 4
    • 17
  • r

    ryan

    08/19/2022, 2:30 PM
    I'm attempting to set up a new commandbox cf2018 server and installed cfconfig, however, when attempting to start the server with
    start
    in the commandbox environment, I receive the following error:
    Copy code
    ERROR (5.6.0-alpha+00563)
    No matching function [SETLOGSYSLOGENABLED] found
    When I
    uninstall commandbox-cfconfig
    then the server will start up as expected. When I
    install commandbox-cfconfig
    the error returns and prevents the server from starting.
    j
    • 2
    • 6
  • r

    Rodney

    08/22/2022, 3:25 PM
    Java 18 is not supported. Use Java 11.
    c
    b
    • 3
    • 4
  • r

    ryan

    08/22/2022, 5:44 PM
    I am looking into using DI for a couple of components that have an init function with required parameters. I can't believe that I have not come across this question before in previous projects with DI, but how does one use property injection to initialize a component but needing to also set parameters into property injection in order for the init function not to error? I looked through the docs, but there is only a short reference that I could find, which maybe suggests the use of a Constructor Injection, but I believe that means I would need to modify the component to be initialized by the DI property. I'm not sure if it is possible, but I would like to be able to just set parameters in the property injection, instead. Is this possible?
    a
    b
    • 3
    • 12
1...111213...30Latest