Questions tagged [configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
981 views

Error sending email: Process could not be started [The system cannot find the path specified. craft cms

I'm testing my email and I'm seeing the following error in the web logs: "Error sending email: Process could not be started [The system cannot find the path specified. craft cms" Does anyone know ...
0
votes
0answers
16 views

Can control panel date display always be numeric?

I understand the display of entries' postDate, etc., in the control panel can be localized, but I'm wondering if it's possible to get rid of the "yesterday" and "today" designators,...
1
vote
2answers
71 views

Multiple instances of Craft in same hosting account root

I want to have multiple instances of Craft, ideally running inside the same cPanel account root. I note from the doc on Directory structure that there are separate config path variables that can be ...
1
vote
2answers
28 views

Exporting site configurations for import to new websites - separate databases

Is it possible to export the site configurations of one website in terms of the site structures, not the content, for importing into another site with a separate database, essentially creating a site ...
1
vote
4answers
669 views

Less complicated local development w/Craft 3, is it possible?

I do not really care for WordPress, but one thing that it has going for is a dead simple local development environment. In fact, it free software called "Local". It took all of five minutes to get ...
4
votes
2answers
444 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 ...
2
votes
1answer
269 views

Error using environment variable for email setting

I'm trying to create an environment variable for email settings, but it doesn't work. Here is my email setting at config/general.php 'dev' => [ '@host' => 'host', '@port' => '587', ...
1
vote
1answer
138 views

Headless mode/ElementAPI: how to set the frontend's baseUrl in the backend endpoint?

I am having an ongoing confusion in headless mode. Imagine a site with 2 servers: Backend (Craft with element API) on https://backend.site Frontend (vue.js) on https://frontend.site Editors pick ...
1
vote
2answers
638 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 ...
1
vote
1answer
54 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
315 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
1answer
22 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
231 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('...
2
votes
1answer
375 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 ...
3
votes
0answers
103 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
770 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
284 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
187 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
3answers
912 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 ...
1
vote
1answer
269 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
161 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: &...
5
votes
1answer
810 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
237 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 ...
1
vote
1answer
776 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
103 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
589 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' => '...