Questions tagged [config]

Craft configuration and settings.

258 questions
9
votes
1 answer

How do you set up Craft CMS to back up your site automatically?

I am considering having my site moved from WordPress to Craft CMS (feel free, by all means, to weigh in on this consideration), and wondered how one goes about setting up automatic backups within Craft. Thanks!
Gina
  • 101
  • 2
7
votes
1 answer

Do I need the web.config file in the craft root directory?

I'm working off of a linux machine (Apache) I don't use the web.config that's found in /public/web.config. I will use the .htaccess file. I am curious if I can remove the web.config file from /craft/ since I am not in a windows environment. I have…
Damon
  • 4,706
  • 1
  • 20
  • 36
6
votes
2 answers

New Relic and Craft?

I'd like to get Craft working with New Relic so I can play with my two favorite apps. My web host (EngineHosting) got the New Relic daemons et al going; has anyone tackled getting the Craft side going so that it reports in? Let me know, please? I…
Lisa
  • 211
  • 1
  • 9
5
votes
1 answer

My license.key file missing. How do I transfer the license to other servers?

I just purchased a license from the CP of my production server. Then I went to the config directory to retrieve the license.key for my local dev server but it was not there. I can't find it anywhere. I installed the site the other day using…
Colin Henson
  • 51
  • 1
  • 3
3
votes
2 answers

Craft Installation - Getting a Forbidden Error

A forbidden error appears and can't get it to disappear. I've gone through the installation process several times and everything else works. When I load the URL "test.craft.dev", I get back "Forbidden: You don't have permission to access / on this…
Mr.Beardface
  • 31
  • 1
  • 2
3
votes
1 answer

Default settings for HTML purifier and how to extend it

Is there a default.json file for the html purifier settings in Craft? Now we can configure this I want to extend to include the stripping on non-breaking spaces. However, I don't want to just extend my requirements and not replace the default. As I…
Terry Upton
  • 1,894
  • 10
  • 28
3
votes
2 answers

Unable to activate trial licence

I would like to test out Craft Pro to see if it would be a good fit for my next project. I have one issue. I have followed the instructions to install Craft CMS @ http://site1.craft.dev - but am unable to see the upgrade/test link in the…
Karnage
  • 33
  • 2
3
votes
1 answer

Prevent direct access to a web page except redirect

I have redirect to a web page upon successful form submission using guest plugin. The redirected page is in announcement tone so I'd like to prevent it from direct access with exception that comes from form submission. Is there something Craft can…
Dominik Krulak
  • 1,562
  • 14
  • 27
2
votes
1 answer

Ensure @web alias is explicitly overridden warning on system check

Ensure @web alias is explicitly overridden ^^^I am not sure why this warning shows up in Craft's system report. I already have defined @web alias in config/general.php per instructions on craft's website. The only things that I can think of which…
hvs
  • 283
  • 2
  • 8
2
votes
1 answer

Project config priority between project config files and database

I want to completely understand how Craft loads the current settings on a site. And there are two things I didn't find in the documentation: Question part A. Does the database take precedence or do the project config files take precedence? When…
Álvaro Franz
  • 367
  • 1
  • 10
2
votes
1 answer

Using element queries in general.php config file

Can i use element queries in general.php file? I wanted to set loginPath based on entry query, like this: 'loginPath' => Craft::$app->entries->section('login')->one()->url ?? false, Hovewer, i get error: ( ! ) Fatal error: Uncaught Error: Class…
Piotr Pogorzelski
  • 1,286
  • 7
  • 18
2
votes
2 answers

Save Continue Editing

Is it possible to configure "Save & Continue Editing" as default mode? I know there is option to select it when adding entry but I want to configure so that always is the case for one of the channel.
2
votes
1 answer

Does the Craft config var "cache" exist?

I'm reviewing the code on a project that has the following defined in the main config.php as a boolean: cache => true Looking at the docs this doesn't seem to be referenced anywhere. Does the config option exist in Craft 2? I'm not seeing any…
James White
  • 1,151
  • 6
  • 19
2
votes
1 answer

Sub domain install options

How can I setup sub domains on a single domain to allow development of multiple Craft client sites. I tried dev1.domain.com and dev2.domain.com and it tells me I need to upgrade license since I need the pro features. Sites are still on development.…
Bryan Garrant
  • 463
  • 2
  • 8
2
votes
1 answer

Setting a proxy?

Is there a config setting to be able to set a proxy in Craft? WordPress has something like this... define('WP_PROXY_HOST', 'url_here); define('WP_PROXY_PORT', 'port_here'); I was thinking a config setting like the following would be…
Goldyberg
  • 45
  • 3
1
2