lucee

Reset Lucee Server admin password

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 10:37:18
问题 I recently installed Lucee and cannot remember the password I set for the server admin (luceee/admin/server.cfm). How do I go about resetting the server admin password? 回答1: In the server config file ( lib/ext/lucee-server/context/lucee-server.xml ), remove the attributes hspw and salt from the cfLuceeConfiguration tag Restart Lucee Inspired by: Resetting password for the Railo admin 来源: https://stackoverflow.com/questions/28587623/reset-lucee-server-admin-password

Mura Setup not shows Mura Admin page

若如初见. 提交于 2019-12-12 02:17:22
问题 Mura setup is done as per documentation. From Mura setup page not able to get Mura admin page Setup gives some page where i can not go for other menu Mura Setup image the default button goes to Lucee welcome page settings.ini has mode=production, indexfileinurls=0,siteidinurls=0 and recaptchalanguage=en The system is Windows 7, Apache2.4.18, MySQL5.7, Lucee Tomcat8 and Lucee 4.5.2.018. Why I did not get Mura Admin Page? 回答1: After installation , http://domain.com/admin gives the admin login.

Why are certain characters not being injected correctly to SQL Server from a CFQUERY?

心不动则不痛 提交于 2019-12-10 19:39:35
问题 I have a Coldfusion app running on Lucee which connects to a SQL Server database. When I run the following query directly in SQL Server Manager: UPDATE article SET content='20m²' WHERE id=3159 The column gets populated fine with 20m². HOWEVER, when run from a cfml page which simply runs this: UPDATE article SET content='20m²' WHERE id=3159 The column gets populated with: 20m² As in, this additional  character appears. This also occurs with some other special characters, but most are fine.

Using MaxMind java class with ColdFusion

感情迁移 提交于 2019-12-10 15:15:01
问题 I'm trying to use MaxMind java library with ColdFusion. I start converting this sample code on official MaxMind site: // A File object pointing to your GeoIP2 or GeoLite2 database File database = new File("/path/to/GeoIP2-City.mmdb"); // This creates the DatabaseReader object, which should be reused across // lookups. DatabaseReader reader = new DatabaseReader.Builder(database).build(); InetAddress ipAddress = InetAddress.getByName("128.101.101.101"); // Replace "city" with the appropriate

Creating a Google reCAPTCHA 'secure token' in ColdFusion

ⅰ亾dé卋堺 提交于 2019-12-06 09:22:17
问题 Google allows you to create a 'secure token' for reCAPTCHA which means you can use the same key/secret across multiple domains. No need to create key/secrets for every domain you look after. Here's their docs, as you can see it has no insight on how the token is encrypted other than an example in Java. My question is how would this be written in ColdFusion. I've had a crack at it for 4 hours, but just can't get it to work. Other examples I've reviewed: An example in PHP: An example in .NET

Creating a Google reCAPTCHA 'secure token' in ColdFusion

断了今生、忘了曾经 提交于 2019-12-04 17:20:26
Google allows you to create a 'secure token' for reCAPTCHA which means you can use the same key/secret across multiple domains. No need to create key/secrets for every domain you look after. Here's their docs, as you can see it has no insight on how the token is encrypted other than an example in Java . My question is how would this be written in ColdFusion. I've had a crack at it for 4 hours, but just can't get it to work. Other examples I've reviewed: An example in PHP : An example in .NET Any ColdFusion encryption guru's out there know how to do this? UPDATE Thanks Leigh, think we're

With stored procedures, is cfSqlType necessary?

牧云@^-^@ 提交于 2019-12-01 08:23:40
To protect against sql injection, I read in the introduction to ColdFusion that we are to use the cfqueryparam tag. But when using stored procedures, I am passing my variables to corresponding variable declarations in SQL Server: DROP PROC Usr.[Save] GO CREATE PROC Usr.[Save] (@UsrID Int ,@UsrName varchar(max) ) AS UPDATE Usr SET UsrName = @UsrName WHERE UsrID=@UsrID exec Usr.[get] @UsrID Q: Is there any value in including cfSqlType when I call a stored procedure? Here's how I'm currently doing it in Lucee: storedproc procedure='Usr.[Save]' { procparam value=Val(form.UsrID); procparam value

With stored procedures, is cfSqlType necessary?

六眼飞鱼酱① 提交于 2019-12-01 06:19:17
问题 To protect against sql injection, I read in the introduction to ColdFusion that we are to use the cfqueryparam tag. But when using stored procedures, I am passing my variables to corresponding variable declarations in SQL Server: DROP PROC Usr.[Save] GO CREATE PROC Usr.[Save] (@UsrID Int ,@UsrName varchar(max) ) AS UPDATE Usr SET UsrName = @UsrName WHERE UsrID=@UsrID exec Usr.[get] @UsrID Q: Is there any value in including cfSqlType when I call a stored procedure? Here's how I'm currently