Questions tagged [installation]
The installation tag has no usage guidance.
118 questions
1
vote
2
answers
147
views
All sections & plugins gone after local reinstall - help!
I had to reinstall the project locally to solve an issue but now when logging into the admin dashboard locally:
all sections are gone
plugins are gone
fields etc are gone
It shows as Craft Solo ...
2
votes
1
answer
233
views
New Laptop - Developing Existing Project Locally
I've got a craft cms 4 website that I've been developing locally on my old PC and I've also got hosted with Servd Host. I've just got a new mac and I'm trying to get my project running locally on it ...
0
votes
1
answer
118
views
Craft version 4.x: multiple instances of Craft in same hosting account
This is related to me asking about multiple instances of Craft in same hosting account root 2 years ago, but that was for version 3.x, since when bootstrap.php is now part of the Craft infrastructure.
...
1
vote
1
answer
136
views
Craft installation fails with SQL error (PostgreSQL)
I am trying to install the Craft CMS (Version 4.4.1) on a VM in the Azure Cloud with PostgreSQL 13.9 as managed Azure Service.
The error i'm running into is the following:
*** failed to install Craft: ...
1
vote
1
answer
144
views
404 on new installation using composer
I have tried to install craft cms and I have been successful, in that I managed to go through the steps on cli and got a done message. The files are there, the database is populated. But when I go to ...
0
votes
1
answer
122
views
How to install Craft 4 on a subdomain
I am using cPanel on a live server and want to install a new craft4 project in a subdomain for testing instead of having a local dev setup on my computer.
I have done this many times for craft 2 and 3....
0
votes
1
answer
840
views
500 Internal server error after install
I added a new Craft4 install via the command line as per the instrictions.
Everything went OK and I got "installed Craft successfully".
I can run craft update and it returns all up to date.
...
0
votes
0
answers
410
views
Craft 4 install error at craft/migrations/install
I'm trying to install a fresh copy of Craft 4.
The following error:
message: "An error occurred while executing the \"craft\\migrations\\Install migration: rename(): The first argument to ...
1
vote
1
answer
287
views
Http 503 — Service Unavailable error after successful craft 4 installation. Can't even load a hi.txt file in web root
After successfully getting my DB setup and installing Craft through the command line, I'm getting a persistent 503 error on even a simple hi.txt file
https://saltandpepper.recipes/hi.txt
On the admin ...
2
votes
1
answer
38
views
Child (inner) Path of backend in Virtual Host is possible?
I have ISP Config host virtual website which is a system tool to host many websites. Document root path '/' is not writable. I have an /private, which is writable. I used alias @root as /private, and ...
0
votes
0
answers
72
views
Update following site import leads to fatal error
Today, I have moved a fully up-to-date installation to a new server, and three times now on a seemingly successful installation, after going to update to the latest version (the existing install is up ...
1
vote
1
answer
532
views
PHP Parse Error During Installation
Installing Craft on MediaTemple. Ran the server check and it came back green except for the memory allocation, which I increased in the PHP.ini file.
Ran the composer install script and it runs fine ...
1
vote
1
answer
116
views
Class 'Craft\File' not found during installation
I'm installing Craft 2 locally and am getting this error message when I expect the installation screen. I've checked the write permissions, and the directory has them (inheritable permissions). ...
1
vote
1
answer
862
views
Error when trying to update Craft or install any plugin
When I try to update Craft, or install any plugin from the plugin store, I get the following error):
Composer was unable to install the updates.
Error: The url supplied for the path (plugins/redactor)...
1
vote
1
answer
142
views
vhost.conf and general understanding
I am new to craft CMS and installed it in an Amazon EC2 instance via Composer.
This worked.
My vhost.conf looks like this
<VirtualHost *:80>
ServerName craft.example.com
DocumentRoot /var/www/...
2
votes
1
answer
1k
views
Where exactly to update the composer.json to install an older version of Craft 3?
I'm trying to install a non-current version of Craft 3, and several pointers on using composer to do this say to "update the composer.json" line with the version you want.
Can someone please ...
1
vote
2
answers
453
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
0
answers
98
views
New Installation on Windows 10 IIS, cannot get to admin control panel, getting "Template not found: unavailable"
I am in process of doing a new installation of CraftCMS, and I have the site up and configured. When I select the "Go to your control panel" link I am getting a Craft 404 error: "HTTP ...
1
vote
1
answer
2k
views
Craft CMS throws Internal Server Error 500
I got given a Craft CMS project build with composer and npm. Pointed valet to the correct folder, installed all the dependencies and started the app with npm run watch.
http://localhost:3000 just ...
1
vote
1
answer
162
views
How do I get to the web UI in CraftCMS to install it?
I initially tried this with Ubuntu Linux and a .tar.gz file without the composer tool. I was using MySQL and PHP 7.4. My problem is about the same with my second attempt. I will now describe my ...
1
vote
1
answer
115
views
Why does Bootup.php run with PHP 5.4.16 from with Craft script but PHP 7.4.10 from the terminal command line?
This is a problem encountered apparently by a lot of users when installing from the Craft setup/install files from the Craft web site.
PHP Warning: Unsupported declare 'strict_types' in /var/craft/...
1
vote
2
answers
909
views
Site moved to new server - Error 500
I inherited a site running craft and I was asked to move it to my server to host it. The other developer zipped the files and made a database dump for me.
Usually, when I move a site, they have Cpanel ...
1
vote
1
answer
480
views
Permission error on session_start() after 3.5 upgrade
On my dev box, I have php/nginx running as 'jim'. I've followed the suggestions on permissions in the install docs. (744 since php is running as 'jim')
I'm getting this error...
PHP Warning – yii\base\...
1
vote
3
answers
149
views
Craft v3 gives 500 error on installation... how to get v2 instead
I installed Craft v3 on a live server running Debian 10, apache, latest PHP, and Mariadb. My structure is /var/www/html, and everything except for the files in "web" are in the www folder (along with ...
0
votes
0
answers
969
views
How to install Craft 3 on shared hosting
I would like to learn Craft 3 CMS.
I would like to do so by installing it manually on shared hosting. I am not familiar with Composer and would like to learn Craft before committing to learning ...
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 ...
1
vote
1
answer
158
views
Craft 3 install problem on windows 10
Anyone come across this problem with installing craft3 on windows with MAMP Pro.
I have installed composer and this seems to be working fine. The php path I added directs composer to C:/MAMP/bin/php/...
1
vote
1
answer
509
views
New Install, Permission Errors With /storage
I've configured Apache vHosts on a local box and installed a Craft 3 website onto it. This new instance will serve as my "staging" environment for an upcoming website.
I've installed with composer ...
1
vote
1
answer
140
views
Is it possible to run Craft CMS with putenv() function disabled?
I’m using shared hosting which supports several CMS like Wordpress, Jumla, etc. In phpinfo there is putenv in disable_functions. Craft CMS needs this function to load variables from .env file. I can ...
1
vote
2
answers
2k
views
Craft CMS 3 Installed but not working
I have a remote repository with a Craft install and am trying to pull it to a new environment. I run the composer install and Craft & other packages install seemingly correctly, added the .env ...
0
votes
0
answers
666
views
Installing Craft CMS 3 on hosting - Unsupported DB driver value
i am trying to instal Craft CMS 3 on hosting and everytime it is going to fall on:
2019-07-05 16:33:55
[-][-][-][error][craft\base\ApplicationTrait::getIsDbConnectionValid]
There was a problem ...
1
vote
2
answers
735
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
2
answers
389
views
my vendor/craftcms/cms folder delete automatically after every update or install
I was on version 3.1.22. As usual, I wanted to install the update on Craft CMS 3.1.23.
So I clicked Install and got this error:
Status: Error
But that was not all ... My complete vendor/craftcms/...
1
vote
1
answer
168
views
Errors after Upgrading from 3.0.35 > 3.041
I ran the updater from the Admin (local install.)
After a few minutes, the update failed.
Now when I try to load the site:
Warning: require(C:\Users\rickn\Documents\Craft\Projects\Untye/vendor/...
2
votes
1
answer
759
views
Install Failed - Numerous Errors when running with pgsql
Getting Numerous errors when trying to test a staging environment with Craft 3.1. States Install Failed - Check Logs which I have and I'm seeing the following logs being given. I don't understand what'...
0
votes
1
answer
945
views
Error when Attempting to Install Plugins
I keep getting this error whenever I try to install a plugin.
Not sure how to troubleshoot / resolve this.
Basically, I need the Contact Form and CKEditor plugins.
Setup: I'm running AMPPS with PHP ...
1
vote
2
answers
332
views
Unable to access site after importing DB
I am installing a repo locally, and everything runs smoothly and I am able to see the site and login to my admin. But when I import my DB then visit my site: I get the error message "Site unavailable"....
1
vote
1
answer
485
views
This page isn’t working // I think it's my .env?
Been struggling for hours to solve this with no solution and I'm under a deadline for a client. Any help would be so amazing.
Here's what happened:
I set up the initial craft project with craft ...
1
vote
2
answers
119
views
Craft install failed with error php7 not found, but server has php 7 installed
I'm trying to install a backup from production site which is running craft 3.0.26 to a UAT site. While installing, faced an error regarding PHP versions. Since both the sites are in the same server, ...
0
votes
0
answers
43
views
Is there a callback for post Craft 3 CMS installation I can use?
I was hoping to have my module create a few fields, sections, and entries after the Craft 3 CMS has completed it's installation.
Is there a callback I can listen to that triggers after the CMS is ...
1
vote
3
answers
2k
views
yii\web\ServerErrorHttpException Craft 3 install
I'm new with Craft CMS and receive this error when I try to install it
-------------------ERROR-----------------------------
An Error occurred while handling another error:
yii\web\...
1
vote
1
answer
305
views
Install Craft on VPS with centos 7 and vestacp
I downloading craft with Composer, but when i move on example.com/index.php?p=admin nothing happens. In the logs:
PHP Warning: require_once(): open_basedir restriction in effect. File(/home/User/web/...
10
votes
7
answers
22k
views
HTTP 503 – Service Unavailable – craft\web\ServiceUnavailableHttpException [installation]
I tried installing Craft 3.0 using composer (php composer.phar create-project craftcms/craft PATH)
And when I try to access the /web folder it's giving me the following error. I have tried removing ...
1
vote
1
answer
79
views
HappyLager Demo Site Forcing 'https://' on XAMPP
When I try to load the demo site in my browser I get the following error:
https://i.sstatic.net/ZU6Xm.jpg "Your connection is not secure"
I have added the following to my hosts file:
127.0.0.7 ...
1
vote
1
answer
267
views
Can't see any craft/app folder
It looks like the craft/app folder is no longer in the Craft download.
I've been using v.3.0.9 from the site and through composer.
Or am I missing something here?
This is causing a bit of trouble ...
1
vote
1
answer
885
views
Problem connecting to MySQL db on installing Craft 3
Having installed Craft 3 using Composer, I'm attempting to run the Craft setup. Everytime I try, I get the following error:
Testing database credentials... failed: SQLSTATE[HY000] [1044] Access ...
3
votes
1
answer
590
views
Automated Craft 3 installation
I am setting up a vagrant development environment and I was wondering if it is possible to somehow pass the installation configuration when running ./craft setup command to avoid any user interaction?
...
0
votes
3
answers
402
views
Craft 3 not running on Ubuntu 18.04
I’ve set up a new Ubuntu 18.04 server, but can not get Craft 3 to run on it - despite it passing the Server test script with flying colours.
I know the server setup is OK as PHPmyAdmin is running on ...
2
votes
2
answers
1k
views
Craft 3 upload path on webserver
My hoster has i public html folder where all websites are lying. Different Websites are separeted by subfolders. Should i upload all Craft3 installation files to this public html folder and point the ...
0
votes
1
answer
797
views
Craft 3 installation issue on account creation
I try to install Craft 3 but I encounter an issue at the very beginning.
I uploaded the CMS via FTP and completed manually the .env file. When I try to run the installation, I get stuck at the account ...