http://coldfusion.com logo
Join Slack
Powered by
# cfml-general
  • b

    Brian Parks

    04/24/2025, 4:27 PM
    Just throwing this out there. Has anyone ever tried to convert outlook msg files to PDFs using native CF? I realize there may be a solution that involves add on java libraries though. I haven't had much luck in my research and even co-pilot doubts it. Any help would be well...helpful.
    j
    • 2
    • 11
  • s

    Steve Logan

    04/24/2025, 8:36 PM
    I've got a current hotfix issue. Both our production and staging are ACF2021. I updated both (cmd prompt java command) to the latest hotfix today, and we've lost the PDF service. In talking with charlie, the first thing we noticed is that jetty-ipaccess.xml was missing, as was the entire jetty/etc/extra folder. I then tried a couple 2023 ACFs and the same thing. When verifying the PDF service from CFAdmin we get:
    Copy code
    Apr 24, 2025 16:33:53 PM Error [http-nio-8501-exec-8] - Connect to 127.0.0.1:8993 [/127.0.0.1] failed: Connection refused: connect <http://127.0.0.1:8993/PDFgServlet/verify>
    Apr 24, 2025 16:33:53 PM Error [http-nio-8501-exec-8] - Connection verification failed.
    Apr 24, 2025 16:33:54 PM Error [http-nio-8501-exec-9] - Connect to 127.0.0.1:8993 [/127.0.0.1] failed: Connection refused: connect <http://127.0.0.1:8993/PDFgServlet/verify>
    The ACF 2023 also needed the neo-document.xml edited to put in the
    Copy code
    <var name='engine'>
      <string>PdfReactor</string>
    </var>
    So now I can get the PDF page to load in admin, but it gives the same connection refused error. So to recap, 4 servers - 2x ACF2021 and 2x ACF2023 (3 standard, 1 dev license) all had their PDF service seemingly broken by this update. Any ideas??
    c
    • 2
    • 12
  • s

    Slackbot

    04/24/2025, 8:40 PM
    This message was deleted.
    c
    s
    • 3
    • 3
  • j

    Joseph Bullock-Palser

    04/24/2025, 8:45 PM
    Switch to Lucee? 😉
  • j

    jgladnick

    04/26/2025, 4:55 PM
    I just got a demo of someone using Figma (UI design) -->builder.io (to convert to code) --> https://lovable.dev/ (fuctional REACT code). They were give an elaborate prompt which containted the database schema, but the results were impressive - pretty workable code to build new modules quickly. Is anything doing something similar in CFML?
  • d

    Daniel Mejia

    04/26/2025, 4:57 PM
    With Cursor you can build the same
  • d

    Daniel Mejia

    04/26/2025, 4:59 PM
    The top LLMs can build very nice looking frontends in React. You can also ask it to do everything with vanilla js and vanilla css
  • d

    Daniel Mejia

    04/26/2025, 5:02 PM
    With elaborate and detailed prompt I bet with Cursor you can do as good or better than what you saw
  • j

    jgladnick

    04/26/2025, 5:02 PM
    how do you view cursor vs replit...ive spent more time with replit...none w cursor
  • d

    Daniel Mejia

    04/26/2025, 5:02 PM
    Cursor is not the only editor that can do that either
  • d

    Daniel Mejia

    04/26/2025, 5:05 PM
    you can “vibe” code with either. Replit has made deployment easy. But Im pretty sure we can all deploy anywhere.
  • b

    Bill Nourse

    04/27/2025, 8:08 PM
    Hey @Daniel Mejia and @jgladnick. If you guys are engineers, please read this article about using no-code tools... https://blog.nordcraft.com/they-lied-to-you-building-software-is-really-hard Hope it helps
    d
    d
    +2
    • 5
    • 7
  • p

    Patrick S

    04/28/2025, 1:40 PM
    I was looking for a nice wrapper for Charts.js library and came across the one in ForgeBox for Preside CMS... It seems to lack the ColdBox modularization code, has anybody used it without Preside installed with ColdBox or vanilla CF? https://forgebox.io/view/preside-ext-chart-js
    b
    s
    • 3
    • 7
  • a

    alholden

    04/28/2025, 3:27 PM
    My Fusion Reactor "Weekly Report" was set up last Thursday. Today, "Weekly Report" the is arriving here once every 60 seconds. That doesn't seem right.
    d
    n
    • 3
    • 2
  • z

    zackster

    04/29/2025, 9:20 AM
    https://dev.lucee.org/t/lucee-6-2-1-122-stable-released/15059
  • c

    Cristobal

    04/30/2025, 2:03 PM
    https://www.linkedin.com/posts/ortus-solutions-corp_keynote-boxlang-itb-activity-7323[…]m=member_desktop&amp;rcm=ACoAAAFH4HIBrL2ervOmC0dsaK0tcIlUvFfwPl4
  • s

    salted

    04/30/2025, 6:28 PM
    Can I ask a broad question of what the “correct” cypher is for hashing these days?
    p
    c
    +3
    • 6
    • 81
  • m

    Maria Jose Herrera

    05/01/2025, 1:21 PM
    We’re live at into the box keynote day 1, join our BoxLang stable release announcement! 📣 🙌 https://youtube.com/live/Bn3gzjzjtuc?feature=share
  • g

    Gaurav Sharma

    05/01/2025, 1:34 PM
    Hi, I have converted HTML pages to PowerPoint Presentation in Coldfusion using <cfpresentation> and <cfpresentationslide> but facing an issue with this as after downloading (.ppt) file I am able to edit text and images but not able to change theme of slides which are available in PowerPoint Presentation. This is because of <cfpresentationslide> is creating static slides only which cannot override themes on slides, let me know if anyone have solution to resolve this.
    webpage (2).ppt
  • s

    salted

    05/01/2025, 4:54 PM
    quick straw poll: thumbs up if you still use pass-by-reference thumbs down if you don’t (as in, don’t use it in new code)
    b
    b
    b
    • 4
    • 36
  • a

    alholden

    05/01/2025, 9:51 PM
    What's "invalid" about this column name?
    The column name "EMPLOYEE_ID" is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores.
    b
    j
    i
    • 4
    • 28
  • c

    Cristobal

    05/02/2025, 12:45 PM
    https://www.linkedin.com/posts/ortus-solutions-corp_intothebox-boxlang-ortussolutions[…]m=member_desktop&amp;rcm=ACoAAAFH4HIBrL2ervOmC0dsaK0tcIlUvFfwPl4
  • g

    gunnar

    05/02/2025, 1:41 PM
    Anybody familiar with oooold Mura/Masa 6.2? why can’t I set simply a cfdump/cfabort? Output is always empty (I changed a few cfcs to output=true without success)
    e
    r
    s
    • 4
    • 5
  • b

    Bill Bell

    05/02/2025, 3:20 PM
    Anyone experience this error in CF2023: net.sf.ehcache.config.CacheConfiguration not found by caching [37]? Note, we verified the latest version 11 of the cache package is installed; however, this error occurs with any caching action (cachePut(), cachewithin). This issue surfaced following update to CFHF13 and update to Java 17.0.14. Oddly, we have been successful with the upgrade on other servers in our environments; however, we have having this issue on a single server. Thus, is there a CF config caching, Java caching, etc..., that may be causing this issue. Note, the class path shown in CF Settings Summary does include the related ehcache jar(s). Unfortunately this is occurring on a production server, thus high priority. Note, we did CF service restarts and server reboots as well, however no resolution.
    s
    • 2
    • 7
  • c

    chinh

    05/02/2025, 6:56 PM
    After updating CF2023 to update 13, htmltopdf stopped working. I implemented the workaround as documented on the update 13 release note. The log shows that the PDFgServlet is registered, but now in the log all I see is "Error occurred while generating PDF." when I try to generate a pdf. I'm on Win Server, IIS and CF2023. I've included the code that I used to test as well.
    cfhtmltopdf(
    source = "https://www.google.com/", destination = "sample.pdf", overwrite = true ); May 2, 2025 113436 AM Information [ajp-nio-127.0.0.1-8122-exec-3] - PDFg service manager http://127.0.0.1:8995/PDFgServlet/ registered. May 2, 2025 113852 AM Error [ajp-nio-127.0.0.1-8122-exec-5] - Error occurred while generating PDF.
    d
    • 2
    • 4
  • s

    Steve Logan

    05/06/2025, 12:48 PM
    Running into a cfscheduler issue it seems. We have a job that takes 7 minutes to run, scheduled to start every 10 minutes. In looking at the http.log and cfscheduler.log, everything looks normal:
    Copy code
    "Information","DefaultQuartzScheduler_Worker-1","05/06/25","07:40:00","","Starting HTTP request {URL='<https://www.xyz.com/app/jobs/college/generate_daily_files.cfm>', method='get'}"
    "Information","DefaultQuartzScheduler_Worker-1","05/06/25","07:47:57","","HTTP request completed  {Status Code=200 ,Time taken=477114 ms}"
    
    "Information","DefaultQuartzScheduler_Worker-1","05/06/25","07:40:00","","Task SDQ.SDQ - generate_daily_files.cfm triggered."
    "Information","DefaultQuartzScheduler_Worker-4","05/06/25","07:50:00","","Task SDQ.SDQ - generate_daily_files.cfm triggered."
    However, the job actually runs 2 additional times about 2 minutes after the first (correct) kicks off, and then about an additional 2 minutes. We added a simple email to send start time, end time, browser agent and a url flag:
    Copy code
    1	0506_082200 Started  (this is the scheduled start of the job)
    2	0506_082200 Browser Agent = CFSCHEDULE
    3	0506_082200 URL.job = cdf 
    
    1	0506_082357 Started (not scheduled)
    2	0506_082357 Browser Agent = CFSCHEDULE
    3	0506_082357 URL.job = cdf
    
    1	0506_082657 Started (not scheduled)
    2	0506_082657 Browser Agent = CFSCHEDULE
    3	0506_082657 URL.job = cdf
    These two extra runs are not logged in http.log or the cfscheduler log file. If you run it directly from the URL it runs correctly - one and done as expected. Any ideas on why the task scheduler seems to be running this job extra times and how we can get around that?
    r
    b
    • 3
    • 4
  • d

    Dave Merrill

    05/06/2025, 2:58 PM
    OT, does anyone have a good source to identify browser user agent strings, tell you what browser it is? Finding a festering heap of ads...
    p
    p
    m
    • 4
    • 24
  • e

    emmet

    05/07/2025, 4:30 PM
    What is everyone using for distributed locks in load balanced environments?
    b
    z
    +2
    • 5
    • 20
  • z

    zackster

    05/08/2025, 6:17 PM
    @bdw429s how does this look to you? https://github.com/zspitzer/FrameworkBenchmarks/commit/ea2bbf4604ee2b2c588bb2ec69471ecff14f9a8a
    b
    j
    l
    • 4
    • 51
  • b

    Bill Bell

    05/08/2025, 9:03 PM
    is the following flag still operational per latest CF2023 HF13? Dcoldfusion.encryption.useCFMX_COMPATAsDefault=TRUE
1...3435363738Latest