http://coldfusion.com logo
Join Slack
Powered by
# lucee
  • j

    Jonas Eriksson

    02/25/2023, 7:17 AM
    This has probably been asked before but I can only search so far back on Slack - has someone set up Lucee or Commandbox to work on GitHub Code Spaces for dev/client preview work? It looks like it could be useful to avoid having to start a DigitalOcean or similar servlet just for those things, but I am not a CI/server dude really (just have to be sometimes). If at all possible, I believe some repository or script as a starting point set up by any one of the pro's here would be beneficial to the adoption of Lucee in general - once people start with any of the other "1-click starting pre-prepared platforms" (React/Next etc.) I think it will be unlikely they switch over to CFML. no? What I find lacking today is something similar on GitHub/DigitalOcean etc. where a new programmer can just "go" with CFML - it's available for everything else on the planet. (EDIT: obviously for just "go" with CFML locally using CommandBox - and it is awesome and easy. But if you need to share it with a client far away, it's install work from some bare bones VPS required afaik.) Thanks for any thoughts & concrete feedback on this :-) https://docs.github.com/en/codespaces
    r
    b
    +2
    • 5
    • 6
  • g

    gsr

    02/26/2023, 3:19 PM
    is there any alternative which i can instal to run cffile upload a flash component,
  • g

    gsr

    02/26/2023, 3:19 PM
    or is there anything which replicates same kind of functionality, don't want to change code written for ahndling upoloads
    m
    e
    • 3
    • 5
  • d

    danlance

    02/27/2023, 5:16 PM
    Hi, Is there a straightforward way of seeing what tasks are remaining before Lucee 5.4 hits RC status - or any guideline as to expected release schedule?
  • b

    bhartsfield

    02/28/2023, 3:56 PM
    Seems like a bug in all Lucee versions (and Railo) available on trycf.com) (good luck searching existing issues for the word "format". I can't even find the function in Lucee or ACF docs any more) https://trycf.com/gist/94923a9b2e3420fa0c1c6eeaf83bf7c4/lucee5?theme=monokai Basically, in Lucee, string.format( string, [1,2,3,4] ) converts those numeric token values to decimals (1.0, 2.0, 3.0, 4.0, ...) where all ACF versions on trycf.com display them as they should be.
    a
    e
    z
    • 4
    • 12
  • z

    zackster

    03/01/2023, 9:32 AM
    breaking change for lucee6? just throw an error like ACF? https://dev.lucee.org/t/different-cfqueryparam-behavior-between-acf-and-lucee/2836/14?u=zackster
    e
    • 2
    • 1
  • r

    richard.herbert

    03/02/2023, 1:02 PM
    Is this a error message coming from the Lucee engine?
    Copy code
    Sorry this site is not setup correctly on our platform.
    I have an ancient Lucee site that seems to have stopped working. There's no
    WEB-INF
    folder in the webroot.
  • s

    sknowlton

    03/02/2023, 7:06 PM
    Strange issue with Redis cache gets, Lucee redis extension 3.0.0.48: https://github.com/lucee/extension-redis/issues/13
    z
    d
    • 3
    • 9
  • p

    Prashant S

    03/03/2023, 11:12 AM
    @Prashant S has left the channel
  • r

    romanstr

    03/07/2023, 9:06 AM
    Hi, folks. I modified ACF debug template using cfdebug_queries.stackTrace to show stack trace for each query (see attachement). That's really useful for our team on debugging. Now we moved some of our products on Lucee and I would like to do the same modifies, but can't find out the way to do it. Any ideas?
  • b

    bdw429s

    03/08/2023, 5:05 PM
    I haven't dug into the code yet, but does anyone know where the unique ID for a Lucee installation is stored? The one you get from
    getLuceeID().server.id
    a
    • 2
    • 4
  • m

    Marc Funaro

    03/09/2023, 6:12 PM
    Topic: Lucee Docker Image and Snyk Q: We are currently using docker image
    lucee/lucee:5.3.9.160-light-nginx
    and Snyk is reporting 190 vulnerabilities (12 critical, 17 high, 8 medium, and 85 low) -- all apparently the result of the BASE image,
    tomcat:9.0.65-jdk11-openjdk-bullseye
    . The Snyk interface reports an "Alternative upgrade" base image,
    tomcat:9-jdk11
    , having only 3 medium vulnerabilities and 9 low. Is anyone else encountering this, and do you have any resolution advice?
    • 1
    • 1
  • a

    Anders Lars

    03/10/2023, 2:28 AM
    Hey - Need some luceedebug config help. Running latest commandbox with lucee 5.3.10 on windows; jdk 11.0.18; IIS and boncode. Site itself runs fine w/o luceedebug. I am probably misunderstanding the config. is debughost and debugport (mentioned here - https://github.com/softwareCobbler/luceedebug#vs-code-extension-configuration) the host and port of the site you are debugging, or some special port that the debug process needs? when i add the jvm args (with a correct path to the luceedebug.jar) per the luceedebug docs, commandbox won't start. I get the error below. any pointers would be awesome? @jamiejackson thanks!
    Copy code
    [INFO ] Runwar: Creating deployment [default] in C:\Source\X
    [INFO ] [luceedebug] Loaded luceedebug.coreinject.DebugManager@3b9632d1 with ClassLoader 'lucee.core [49]'
    [INFO ] [luceedebug] attempting jdwp self connect to jdwp on 127.0.0.1:9999...
    [ERROR] java.lang.NoClassDefFoundError: com/sun/jdi/Bootstrap
    [ERROR]         at luceedebug.coreinject.DebugManager.getConnector(DebugManager.java:74)
    [ERROR]         at luceedebug.coreinject.DebugManager.jdwpSelfConnect(DebugManager.java:87)
    [ERROR]         at luceedebug.coreinject.DebugManager.spawnWorker(DebugManager.java:60)
    [ERROR]         at luceedebug.LuceeTransformer.transform(LuceeTransformer.java:108)
    [ERROR]         at java.instrument/java.lang.instrument.ClassFileTransformer.transform(Unknown Source)
    [ERROR]         at java.instrument/sun.instrument.TransformerManager.transform(Unknown Source).....
    b
    d
    +2
    • 5
    • 11
  • a

    Adam Cameron

    03/12/2023, 6:43 PM
    Hey @bdw429s remember that dumb-arse situation on Lucee where it will interpret file-system paths like
    /var/tmp
    as being with in the webroot (eg so Lucee thinks I mean
    /var/www/var/tmp
    when obviously I clearly don't). I can't find the issue in Jira. I found this one: https://luceeserver.atlassian.net/browse/LDEV-2893, which is similar (and probably same root cause), but not the exact issue.
    b
    • 2
    • 5
  • d

    David Rogers

    03/13/2023, 9:04 PM
    I have an image from org.lucee.extension.image that
    writedump(img)
    does "the right thing" and I get a typical dump, including a nice rendering of the image. but
    img.getBlob()
    throws "missing format definition". I really want that blob! is there something I'm missing?
    • 1
    • 1
  • m

    Marc Funaro

    03/15/2023, 3:56 PM
    Greetings all, another security related question. There are some "high" and "medium" vulnerabilities in the Tomcat version shipped even with the latest Lucee version:
    FROM lucee/lucee:5.3.10.120-light-nginx-tomcat9.0-jdk11-openjdk-2303
    Snyk has identified that fixes for the following are available:
    Copy code
    org.apache.tomcat:tomcat-catalina
    org.apache.tomcat:tomcat-util
    org.apache.tika:tika-core
    Would this be a matter of simply overwriting the files that currently exist, using new files (downloaded from...?) during the Docker build? Has anyone else manually attempted to update elements of tomcat server for security in context of Lucee?
  • c

    Cory Howitz

    03/15/2023, 7:30 PM
    is there a way to get trustServerCertificate set via cfconfig?
    b
    • 2
    • 8
  • t

    Tony Weeg

    03/15/2023, 7:37 PM
    Hello friends. I can connect to this datasource with these settings (changed for privacy) from my local machine, with Dbeav, on the same machine that has lucee running and I am getting this error when trying to setup the datasoure. What am I boneheadedly doing? Props to the Jedimaster for his lighthouse app. (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
    p
    • 2
    • 2
  • c

    Cory Howitz

    03/15/2023, 8:02 PM
    is that host shortened?
  • j

    jclausen

    03/16/2023, 12:35 PM
    Which MySQL bundle is installed? You might need to move to bundle 8
  • e

    Erik Jespersen

    03/16/2023, 5:35 PM
    Hi all - coming up with a strange problem around the treatment of remote function arguments - I think I have locused the issue down to our Lucee install (latest) Given a remote cfc (not rest-enabled, just old school access="remote") the following difference between CF2016 and Lucee 5.latest when using FORM data (encoded as
    x-www-form-urlencoded
    ) My code expects an argument of type 'struct' which CF2016 is parsing from raw
    getHTTPRequestData().content
    Copy code
    <cffunction name="setThing" access="remote" output="false" httpMethod="POST" returntype="struct" returnformat="JSON" description="Updates Thing">
            <cfargument name="obj" required="true" type="struct" hint="JSON-parsable object />
    Lucee does not transform the
    getHTTPRequestData().content
    and keeps it as a string, so the call errors out
    Copy code
    Invalid call of the function [setThing], first Argument [obj] is of invalid type, Cannot cast String [{"a":"Port Jarrett","b":"6235 Dena Dam","c":10036,"d":"Bode Light...] to a value of type [struct]*
    Again, CF2016 has no trouble converting the exact same argument/parameter data and I do not need to independently parse it Is this something to do with a server setting I could no longer recall? I certainly would know how to work around it from several angles, but want to know what's up ;)
    *note: fake data
  • j

    jclausen

    03/16/2023, 6:06 PM
    Lucee isn’t going to auto-deserialize the JSON for you, so you will need to make the typing of that argument “any” and the deserialize that data if it’s not a struct
  • e

    Erik Jespersen

    03/16/2023, 7:36 PM
    Dagnabbit! And here I thought Lucee was more courteous! 😉 Thank for you the clarity, though, @jclausen !
    🙂 1
  • a

    Adam Cameron

    03/17/2023, 3:38 PM
    Lucee, what are you _like_:
    Copy code
    writeDump([
        createTimeSpan(1,0,0,0),
        createTimeSpan(0,0,1440,0)
    ])

    https://i.paste.pics/c777ed1931d1ac61f5770331eb8de5f8.png▾

    🤔 1
  • j

    jamiejackson

    03/17/2023, 8:23 PM
    i might be having issues with the ortus redis extension. i wanted to take a look at the changelogs to see if there's anything interesting in the latest patch release, but i'm not finding a current changelog. (this seems old https://www.forgebox.io/view/5C558CC6-1E67-4776-96A60F9726D580F1/version/2.0.0-snapshot#changeLog) happen to know where i can find a current changelog? (attn: @bdw429s)
    j
    l
    b
    • 4
    • 16
  • b

    bdw429s

    03/18/2023, 9:58 PM
    @zackster The Lucee Java Docs available here appear to only be for the Lucee Loader https://javadoc.lucee.org/ Do you know if Lucee has Javadocs for the core classes? For example,
    lucee.runtime.type.dt.DateTimeImpl
    ?
  • a

    abram

    03/20/2023, 10:13 PM
    Hey all, just a quick update that I've added Lucee 6 Beta to TryCF.com. I'm waaaay behind on any other improvements (new job and not a lot of time to focus on it much lately). Hopefully can start pushing some improvements soon.
    ⭐ 4
    👍 3
  • j

    jakobward

    03/21/2023, 2:25 AM
    Is there a way to bulk delete failed “Tasks” from the Lucee admin? I was unable to locate a spool file.
    r
    g
    • 3
    • 4
  • d

    dswitzer

    03/22/2023, 11:07 AM
    Has anyone tried using Dragonfly as a drop-in replacement for Redis yet? https://dragonflydb.io/blog/dragonfly-production-ready They claim you should be able to use it as a direct replacement for Redis and it's supposed to be magnitudes faster and more efficient. Just wondering if it works with Lucee's Redis extension out-of-the-box and if it really lives up to the hype.
    👀 1
    b
    l
    • 3
    • 44
  • c

    Charles Robertson

    03/22/2023, 10:11 PM
    Hi Guys I have just watched a great tutorial: https://dev.lucee.org/t/how-to-install-lucee-on-windows-2019-server-iis-video-tutorial It describes how to Install Lucee on Windows Server 2019. I am using Windows Server 2016. I have installed a standalone version of Lucee 5.3.9.166 with all the default settings, including the IIS connector/mod rewrite, checked. I have then added a website via IIS, using a binding of:
    port: 80
    ip: 127.0.0.20
    host: foo<http://.bar.com|.bar.com>
    In my host file, I have added:
    127.0.0.20 <http://foo.bar.com|foo.bar.com>
    Within the box [locally], when I navigate to:
    <http://foo.bar.com|foo.bar.com>
    It says:
    Page not found
    There is no IIS 500 message or Lucee error. :( Within the box [locally], when I navigate to:
    <http://foo.bar.com:8888|foo.bar.com:8888>
    Everything works? Do you know why? I haven’t tried the permissions LOCAL.SERVICE fix, shown in the video, because I am not sure it is entirely relevant to my problem. I haven’t removed that ISAPI module etc within IIS, which is also shown in the video. I must say, I have never had to remove anything from the Handler Mappings module? Why exactly is this being done? All the required BonCode mappings are in the Handler Mappings module, so I left it, at that? I really need this to work on port 80. Any ideas, on how to get: foo.bar.com To work on port 80?
    • 1
    • 2
1...222324...32Latest