Questions tagged [configuration]

The tag has no usage guidance.

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

Help with configuring the @webroot alias

I have a hosting account running Craft 4.4.17 with a structure like this: home/ accname/ craft's usual files and folder arrangement domainname.tld <-- web root index....
Jonathan Schofield's user avatar
0 votes
0 answers
69 views

Feed me and Guzzle: Use session cookies

I am using Feed me to import data from a Filemaker server via a self made Craft module. The import works well. I fail however to import the image files from the Filemaker server: Feed me gets their ...
Moritz's user avatar
  • 69
1 vote
1 answer
174 views

Hosting and permission problems

It's my first time deploying CraftCMS and I ran into some issues which I don't seem to fix. I'm using Combell to host my website. I can only access my site when I go to "sitename".be/web/ . ...
Knz-dw's user avatar
  • 11
0 votes
0 answers
17 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,...
4midori's user avatar
  • 656
1 vote
2 answers
352 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 ...
Jonathan Schofield's user avatar
1 vote
2 answers
153 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 ...
johnquest's user avatar
1 vote
4 answers
1k 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 ...
4midori's user avatar
  • 656
2 votes
1 answer
755 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', ...
Lee's user avatar
  • 139
1 vote
1 answer
293 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 ...
Urs's user avatar
  • 639
1 vote
1 answer
2k 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 ...
jerry's user avatar
  • 21
1 vote
1 answer
57 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 ...
Jonathan Schofield's user avatar
1 vote
2 answers
427 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 ...
foamcow's user avatar
  • 2,019
1 vote
2 answers
706 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 ...
Jim's user avatar
  • 139
2 votes
0 answers
285 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('...
joomkit's user avatar
  • 2,014
1 vote
1 answer
24 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 ...
Alex Briones's user avatar
3 votes
0 answers
114 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....
juanmrad's user avatar
0 votes
0 answers
965 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 ...
KSP's user avatar
  • 849
1 vote
1 answer
526 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?
Mike F's user avatar
  • 185
1 vote
1 answer
294 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 ...
Herra Jon's user avatar
1 vote
1 answer
276 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 ...
mlangston's user avatar
1 vote
1 answer
172 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: &...
Jesse Winton's user avatar
1 vote
3 answers
1k 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 ...
foamcow's user avatar
  • 2,019
5 votes
1 answer
1k 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 ...
Alec Ritson's user avatar
  • 4,519
2 votes
3 answers
262 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 ...
Russ Back's user avatar
  • 1,503
2 votes
1 answer
404 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 ...
Steven Grant's user avatar
  • 1,855
1 vote
1 answer
909 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:...
Michael Rog's user avatar
  • 3,410
1 vote
1 answer
109 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 ...
taylor's user avatar
  • 1,128
1 vote
1 answer
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 ...
Tom's user avatar
  • 23
2 votes
1 answer
599 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' => '...
Iain Urquhart's user avatar
5 votes
2 answers
658 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 ...
cballenar's user avatar
  • 1,399