Skip to main content

Questions tagged [setup]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
420 views

How do you unit test plugins?

I have Codeception running on my local install without errors, but it's not yet actually doing anything. I am building several plugins and I can't figure out how you actually test a plugin? I have no ...
Andy Moreno's user avatar
1 vote
1 answer
351 views

Trouble running craft with docker

I'm trying to set up craft to run with the docker images provided here. When I run docker-compose build, it gets through a few lines in the Dockerfile and then stops with an invalid reference error ...
Isabel Sharp's user avatar
3 votes
1 answer
1k views

Custom Aliases not working

I'm trying to setup aliases following the instructions in the docs, but I can't get them to work (for example they don't appear when setting paths for Assets). I copied and pasted the code exactly as ...
doctorgloom's user avatar
1 vote
1 answer
670 views

New security key for existing database

I've been hunting through questions here, Discord, Craft docs for solutions for a boilerplate Craft CMS install. Because I want to include section & field configurations, I'm planning on importing ...
Mark J. Reeves's user avatar
1 vote
1 answer
250 views

Issue on new craft (craftcms3) setups: vendor Twig can't read system variable

After installing craft through composer, setting up the database and running craft setup, I have a craft application ready to go. When I go to settings/general, I always get a crash with following ...
Recipe's user avatar
  • 113
1 vote
1 answer
514 views

"Template not found: dashboard" error on setup

When setting up Craft CMS I get a 404 error page that says HTTP 404 - Not Found - yii\web\NotFoundHttpException Template not found: dashboard I am running MAMP (PHP 7.2.8 and MySql 5.7.23) on a Mac ...
kimblim's user avatar
  • 31
3 votes
1 answer
709 views

Correct setup for Craft 3 and Git

New to Craft and general novice full stop. I'm not sure about the correct way to use craft and git together. I currently use BitBucket for version control and have been using ExpressionEngine... so ...
Third_Hyperion's user avatar
1 vote
1 answer
409 views

Craft CMS with local and flywheel setup?

I have been using this blog https://medium.com/@madebyraygun/a-quick-and-easy-local-environment-for-craft-3-4fd7c7ff5815 as a reference but I cannot seem to connect to my database and get Craft ...
Shahyn Kamali's user avatar
2 votes
1 answer
312 views

Use alias for site url based on root url defined as env var?

I was wondering if the following setup is a good practice. In my .env file I defined a single rootUrl var which contains the site root url like this: ROOT_URL="https://www.mydomain.test" In the ...
goemaeret's user avatar
1 vote
2 answers
615 views

Multiple backends on CraftCMS 3 - Problem with cpresources

We've got a AWS setup with an ELB in front, 2 varnish cache servers and 2 Craft CMS backends, with Redis for php sessions and Craft cache shared amongst the backend servers. We do not have sticky ...
termi7e's user avatar
  • 23
1 vote
1 answer
148 views

Craft CMS 3 Boilerpoint Web Project Setups Available?

Does anyone have any recommended boilerpoints or guides on setting up Craft CMS 3 with front-end tooling? Looking for an initial install to be setup properly with a preconfigured database, NPM, node....
egivensjr's user avatar
1 vote
0 answers
815 views

Craft 3 installation in git repository

I am looking for the best way of installing a fresh craft 3 project and making it a git repo. I tried the following: Option 1: first creating an empty new git repo clone the empty repo to my pc ...
Bob Dries's user avatar
1 vote
0 answers
599 views

Craft 3 Setup: Testing Database Credentials Failed

I receive the following error message: Testing database credentials... failed: SQLSTATE[HY000] [2002] No such file or directory and am not entirely too sure what I need to do to connect to this ...
Jennifer's user avatar
3 votes
2 answers
68 views

Workflow for re-using data structures and setups across projects?

I am wondering if there is a way to re-use pre defined field types and image crops over various Craft projects. I currently in the process of e.g. manually defining 20 different image crops I already ...
Tobias S.'s user avatar
  • 127
5 votes
4 answers
326 views

What are the best practices for the development setup?

I've started with Craft developing all locally. The struggle for me when working locally was synchronizing the database and the backend assets with coworkers on the same project. In the last project ...
Marco Schuler's user avatar
2 votes
1 answer
8k views

PHP notice unserialize(): Unexpected end of serialized data

Ok so this is an incredibly wierd one and I have no idea how to explain the problem in just one sentence so I just put the error message as the title. So I am building a site with craft...in fact its ...
Matthew Jonat's user avatar
8 votes
1 answer
454 views

Developing in Teams - What is the best Craft setup?

We are currently working on a Craft project with 3 developers. Our setup: 3 Local machines running Laravel Homestead and a local DB + Craft. 1 remote server holding Craft + db. Our workflow: We are ...
Rattikarl's user avatar
  • 393
1 vote
1 answer
134 views

Can someone help me with my site structure? Sections/Category setup

Thank you for your time and patience I'm a newbie to the Craft world. I've been all over the Craft Documentation and this site trying to figure out the best approach for a site I am putting together. ...
Midknight's user avatar
0 votes
1 answer
1k views

localhost and root directory for multiple site installs

So I usually have multiple sites inside of my MAMP htdocs folder which I then access through localhost:8888/sitefolder. How would this work for a Craft set up? The only way I got my initial Craft site ...
Davers's user avatar
  • 67
1 vote
1 answer
3k views

Installing Craft on Xampp

I'm trying to get a dev environment set up and have got stuck. I use Linux in the office and Windows at home. I simply wanted a basic LAMP stack to run craft on so I could develop locally. Given the ...
Starfall Projects's user avatar
3 votes
1 answer
194 views

What's the correct directory setup for Craft with Vanilla Forums?

I'm looking in to setting up a new site which has a Craft site in front of the open source version of Vanilla Forums. I'm a bit stuck on exactly where I should put vanilla though, and how to access it ...
darylknight's user avatar
  • 3,290
5 votes
1 answer
2k views

Ordering of products?

What is the best method to organise products, and subsequently the order of these products within a group? Currently I have setup a product type of Canine. I can access each of these products via a ...
Terry Upton's user avatar
  • 1,894
2 votes
1 answer
202 views

Barebones LEMP + Craft CMS walkthrough

No fancy deployment, version control etc etc. Just a cut and dry walkthrough on how to get Craft CMS up and running on a LEMP stack, does it exist? I'm fairly new to craft but have had no problem with ...
Alex's user avatar
  • 21
2 votes
1 answer
233 views

Error when creating a Matrix or installing a Plugin

We have 2 computers with a new Craft Pro trial installation. The files are exactly the same on both computers. We both use the same DB with the same db.php config settings. We can both see the site ...
Rbijker.com's user avatar
3 votes
2 answers
1k views

Multisite: how to?

I have two small sites finished at front-end stage that are closely related. One is the product, one the brand. The two sites use the same css and js files and are mostly static pages in three ...
Dave Driesmans's user avatar
1 vote
1 answer
95 views

Is it possible to get the md5 hash of Craft's latest version from the download server?

It is possible to programmatically download the latest version of craft. But is it also possible to get this file's md5 sum directly from the server? I'm thinking about something like this: http://...
cdMinix's user avatar
  • 145
0 votes
1 answer
1k views

"Page not found. What’s worse, a hilarious 404 page can’t be found either."

My file structure is: User/me/www/Craft-2.3.2644/ I am using MAMP and MAMP Points to this folder as my 'server root'. Everything inside and including my web root has 777 permissions. Inside this ...
Hardik Bheda's user avatar
1 vote
1 answer
134 views

How do I set up a section of text on my home page to rotate through, rather than stay static?

I am a site owner who's new to Craft and whose site is nearing completion. I now realize I would like to have multiple versions of text rotate through in the box on the top of my home page, rather ...
Gina's user avatar
  • 101
0 votes
1 answer
116 views

Can I reassign the client account?

I would like to give my client the client account, but first, I would like to assign my colleague as the client, just so we can see what the process looks like and see how our client will view Craft. ...
Nick's user avatar
  • 217
1 vote
1 answer
429 views

PHP error after installation

After I install craft, I am getting the following error when trying to load the website including the admin page: PHP Stack trace: PHP 1. {main}() \aspace\index.php:0 PHP 2. require_once() \...
Maria Stellini's user avatar
7 votes
3 answers
3k views

URL rewrite not working

For some reason the CraftCMS URL rewrite is not working on GoDaddy shared hosting server. Currently by .htaccess file looks like this Options +FollowSymLinks -Multiviews <IfModule mod_rewrite.c&...
Maria Stellini's user avatar
4 votes
1 answer
559 views

Easy way to copy sections to a new install

Is there an way way to copy sections I have in an existing site to a new website I am doing with a fresh install? E.g. To Copy the News Channel Section and all the field types Also copy the structure ...
mmc501's user avatar
  • 1,789
32 votes
1 answer
2k views

Is there a way I can programmatically download the latest version of Craft?

If you have a base install script that you use to quickly turn out a new base install for Craft, it would be very useful for that script to be able to download the latest version of Craft when doing ...
Brad Bell's user avatar
  • 67.6k