huh, added format=“png” and that fixed it on prod,...
# cfml-general
b
huh, added format=“png” and that fixed it on prod, no idea why that mattered there and not the dev server
👍🏻 1
j
I’m having a similar issue with cfchart working on dev and not production. Identical environments. Agh! Glad you sorted it out. Maybe I’ll try png charts. Lol.
b
gah, that’s annoying. We’ve switched all of our charting to chartjs and have been pretty happy with it FWIW
👍🏻 1
Actually it turns out that the original code suddenly works again on prod. Hate it when this happens, I have no idea why.
🤦🏻 1
g
In the "weird" mould; ONLY on my local dev (windows 11) I have a cfc "session" that is an ORM object. When I start lucee from cmmandbox - I initially get an error "session is not mapped". Tried using the lucee installer - same problem. Tried upgrading to hibernate 5 from 3 - same issue. Tried using the Ortus ORM extension - same issue. Restarting the app (applicationStop() or ormReload()) does not fix it. Rename the cfc : Restart the app - get an obvious error Rename it back to "session.cfc" : restart the app. All is good in the world. Now I just accept this is my new workflow!
j
We had a similar issue on a CF2018 server and had to rename all the xml files. Wth.
g
@jakobward Initially I thought the same thing and searched for the hbm xml files. But it would "seem" we're not creating them. Which I thought was weird... BUT... I haven't done anything with a mapping file for a really long time - (when I first started using CF ORM - I did the mapping files manually). And that was on ACF not Lucee and our ORM settings don;t specify anything to do with mapping files - so I just figured they're not created.
a file search for them on my machine - also returns no results.
b
Probably nobody cares, but I found out that the issue with cfimage was that the server drive was full. Cleared out some old log files and we’re working again.
🙌🏻 1
🙌🏼 1
j
I care! 🤣
Too bad my animated gif broke. Not even going to troubleshoot that one. 🙄
Regarding server space… I recently created/copied/modified a script which uses a cool service called Pushover to send me push notifications if the server space goes over 75%. Pretty handy.
b
nice, that does sound handy. I think we have something that can do that, need to look into it
g
It would also be nice - that if a CF process failed because of lack of space - that Lack of HDD space gets included in the error message / details.
💯 1