Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 167

Craft configuration and settings.

4 votes

New Relic and Craft?

If you've got New Relic installed on a server containing more than one site, I've found adding: if (extension_loaded('newrelic')) { newrelic_set_appname('NAME OF SITE'); } at the top of Craft's i …
Clive Portman's user avatar
4 votes
Accepted

Working locally after cloning Craft 3 from Hyperlane

The config/db.php cloned from Hyperlane refers to different env variable names than those used within my .env file. Changing the names in config/db.php solved the issue. …
Clive Portman's user avatar
3 votes
1 answer
187 views

Will a change to verificationCodeDuration be updated retrospectively?

I've amended the time people have to verify an account, using: 'verificationCodeDuration' => 'P7D', But, I've done this retrospectively, after the verification emails have all gone out (quite a lot …
Clive Portman's user avatar
3 votes
Accepted

setPasswordPath being ignored

Picking this up with another project, it looks like the problem was me not specifying a template path as the 'setPasswordPath' config setting. Instead, I was passing a route. …
Clive Portman's user avatar
3 votes
2 answers
686 views

setPasswordPath being ignored

Any idea why the following would be ignored following a frontend new password form? The user group does not have access to the control panel. 'setPasswordPath' => 'account/login/password/new', The …
Clive Portman's user avatar
2 votes
Accepted

Set the application name for Craft in New Relic

This method uses New Relic's PHP API, rather than php.ini, and is working well for me. It seems to be catching everything that I need to monitor. Any applications I've not done this for remain in the …
Clive Portman's user avatar
2 votes
1 answer
740 views

Working locally after cloning Craft 3 from Hyperlane

install on my machine by viewing the admin panel but I get the following: Database Connection Error – craft\errors\DbConnectException Craft CMS can’t connect to the database with the credentials in config … \base\InvalidConfigException Connection::dsn cannot be empty. in C:\Users\clive\OneDrive\Desktop\repos\projectname\vendor\yiisoft\yii2\db\Connection.php at line 602 If I add the database details to config
Clive Portman's user avatar