birdy1980
08/01/2022, 9:28 AMjohnbarrett
08/02/2022, 10:41 PMJordan Clark
08/03/2022, 6:35 PMchapmandu
08/03/2022, 11:22 PMFROM ortussolutions/commandbox:latest
...
RUN box install cfml-compiler --verbose --production
RUN box cfcompile sourcePath=/var/www/ --overwrite cfengine=lucee@5.3.9.141
Logs
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.
birdy1980
08/04/2022, 7:27 AMMessage: java.lang.reflect.InvocationTargetException while creating an instance of ortus.extension.cache.redis.RedisCache
any idea what could cause this?Ookma-Kyi
08/04/2022, 6:02 PMNo matching function [AUTH] found
try{
auth.authenticate( auth().user().getEmail(), rc.password );
} catch ( InvalidCredentials e ) {
flash.put( "changepassword_form_errors", { "Change Password" : "Incorrect credentials" } );
redirectBack();
}
birdy1980
08/05/2022, 10:45 AMqueryExecute
while using the cachedWithin
parameter
I'll put the stacktrace in a reply.wil-shiftinsert
08/05/2022, 1:43 PMERROR (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.Patrick S
08/05/2022, 3:48 PMDaniel Mejia
08/05/2022, 11:44 PM<cflog file="mylog" text="info" type="information" >
richard.herbert
08/08/2022, 8:53 AMquick
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?dajester2015
08/09/2022, 1:26 PM@inject config:some.config.key
, you can instead write @config some.config.key
jakobward
08/10/2022, 1:59 PMPeter Hoopes
08/11/2022, 4:30 PMgarciadev
08/11/2022, 4:32 PMOokma-Kyi
08/12/2022, 2:11 PMNo matching function [FINDWHERE] found
Here is a gist of the error log, stack trace and code.
https://gist.github.com/ookma-kyi/25033298a88e8ac395ed22367dfddf2fdanmurphy
08/12/2022, 3:00 PMSafety()
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?bdw429s
08/12/2022, 3:06 PMpegarm
08/13/2022, 7:14 PMcoldbox 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:
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?birdy1980
08/15/2022, 8:12 AM-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.richard.herbert
08/16/2022, 3:15 PMLogbox
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.bdw429s
08/17/2022, 7:05 PMAndreas
08/17/2022, 8:30 PMbdw429s
08/18/2022, 5:30 PMryan
08/19/2022, 2:30 PMstart
in the commandbox environment, I receive the following error:
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.Rodney
08/22/2022, 3:25 PMryan
08/22/2022, 5:44 PM