Questions tagged [configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Embedded Assets only in certain files shares?

Is it possible to enable the "Embedded Assets" Plugin (or actually only the button) only within certain file shares? I created a YouTube file share and would prefer if the "Embed" Button would only ...
1
vote
1answer
44 views

How to have Craft 3 and 2 on same host?

I have a Craft 2 installation that I'm upgrading to Craft 3. I've got v3 running locally in its own virtual host, but now I need to temporarily put the dev v3 instance in the same hosting account as ...
1
vote
2answers
61 views

Turning off a site in multi-site/multi-environment config

Given a multi site setup (domain1.com, domain2.com) that also uses multiple environments (dev, staging, production) - how would one configure one of the sites to be turned off in the production ...
1
vote
2answers
324 views

Craft “Unsupported DB driver” error after resetting Windows

I'm using WinNMP for my local dev environment. I installed and configured everything successfully last week, and everything was running well. Unfortunately, I needed to reset my windows installation ...
2
votes
0answers
112 views

baseUrl and trailing slash Craft 3

Despite setting baseUrl alias with trailing slash it appears it gets stripped off in Craft 3. CRAFTENV_BASE_URL="https://domain.test/" 'aliases' => [ '@siteUrl' => getenv('...
1
vote
1answer
21 views

After migrating, I am getting this error for several of my buttons and menus on Craft 2.6

Internal Server Error Craft\MatrixBlockModel and its behaviors do not have a method or closure named "header". Apache Version 2.4.37 PHP Version 7.1.24 MySQL Version 5.7.24 Architecture x86_64 ...
2
votes
0answers
50 views

Can you make Craft 2 Stateless?

So we are moving to Google App Engine Flexible which means we cannot store sessions on files. So I wanted to know if anyone has been able to make Craft 2 Stateless and how was it accomplished? Thanks....
0
votes
0answers
361 views

Craft 3 admin panel only accessible when web/cpresources is exectuable for everyone

I’m trying to move a local Craft 3 site to a local server (hosted on 1&1). The website itself runs fine, but for some reason I can only access the admin panel when the web/cpresources folder has ...
1
vote
1answer
92 views

Disable entry versioning

Had a quick search online and I can't find a way to disable entry versioning. Is this possible? There's some plugins that do this but I'm hoping there's some config I can set somewhere?
1
vote
1answer
96 views

Image Transform Files Path

Regarding the Image Transforms and the handling of its files. Is there a config setting that controls the location (file path) of the Image Transform Files? By default there is automatically created ...
1
vote
1answer
231 views

Social Login plugin question

I am using the Social Login plugin from Dukt. It mentions in the configuration instructions to add things to a social.php file that you place in craft>config. I've done that, but I assume I'm doing ...
1
vote
1answer
143 views

contactform.php messing up site

I've tried creating a contactform.php file with the P&T Contact Form plugin and using the code in the documentation to be able to programmatically add recipients. However, when I use this code: &...
1
vote
3answers
629 views

Setting system email address and sender name in multi config

Is there a way to set the system email address and sender name from within the config file? This would be useful when using multi environment configurations. For instance, during development or on my ...
5
votes
1answer
617 views

Installing other PHP app in sub directory

My question is the opposite of this question: Installing Craft in sub directory I have a Craft website and I need to put a Laravel application in a sub directory, it almost works. I have made the ...
2
votes
3answers
229 views

Is there a way to override locale data?

We are using the Craft's currency filter to display localised prices 344552.32 | currency('GBP') which works great in most instances. However the currency symbol for UK Sterling in the French locale ...
2
votes
1answer
277 views

devMode, phpdotenv variable ignored

I'm using dotphpenv for environment specific config. This works perfectly for my db config. I added another 2 environment vars for devMode and allowAutoUpdates DEV_MODE=false AUTO_UPDATE=false and ...
1
vote
1answer
612 views

Why would Craft produce a template loader error (TemplateLoaderException) when rendering its default error pages?

I'm getting a Template Loader Exception when I hit a 404 on my site: Craft\TemplateLoaderException Unable to find the template “error”. (/craft/app/etc/templating/twigextensions/TemplateLoader.php:...
1
vote
1answer
96 views

Update Plugin's config.php

Is it possible to update the config.php file in a plugin outside of manually opening and adjusting the array? I'm hoping there's a way I can have a certain user group be able to change the array ...
1
vote
1answer
1k views

Asset uploads failing on new installation of Craft CMS

New (local) installation of Craft on Mac OSX Yosemite, working well except uploading an asset doesn't complete. The progress bar hangs and the spinner never stops spinning. Craft index.php is located ...
2
votes
1answer
561 views

Subdomain database configuration picking up root domain config

So I have this example database config setup $customDbConfig = array( '*' => array( 'tablePrefix' => 'craft', ), 'test1.foo.com' => array( 'server' => '...
2
votes
1answer
255 views

Limit number of sessions per user

Is there a way to limit the number of sessions per user? That is, I can be logged into one machine/browsers only once. It is essential that we limit the number of times a user can be logged in and I ...