clarkwinkelmann okay I'm not sure if NameCheap supports changing the web root or not and I can't find anything online. I'm just going to try your way with no public.
I ran wget
in order to pull the zip, then I ran unzip
to unzip it. flarum resides at /home/user/flarum on my server
The installation instructions don't say what to do after downloading the zip and unpacking it. I presume I need to do something like ./flarum install
which works, so I think I'm good up to here.
I'm running into issues with connecting to the database. Here are the parameters I'm using.
Base URL: https://localhost
Database host: localhost
Database name: flarum
Database user: flarum
Database password: Password123
Prefix: username_ # I also tried username with no _
I'm getting the following error:
In Pipeline.php line 85:
Step failed
In Exception.php line 18:
SQLSTATE[HY000] [1045] Access denied for user 'flarum'@'localhost' (using password: YES)
In PDOConnection.php line 40:
SQLSTATE[HY000] [1045] Access denied for user 'flarum'@'localhost' (using password: YES)
I have created a DB called flarum and a user called flarum. What I presume is referred to as a prefix is username_
Are there no other docs for installation other than docs.flarum.org/install? I feel like the installation steps are incredibly lacking. If I wasn't already familar with running ./
to execute a program and working with databases in the past, I wouldn't even have made it this far. If there are no other docs, I'm happy to contribute when I get this set up and running.
EDIT: Someone please let me know in the comments why this is stuck waiting on approval, but my other comments are going through just fine. I'm trying to get this set up ASAP lol
I also tried connecting with the actual username of my server user and received the error SQLSTATE[HY000] [1044] Access denied for user 'metaqymo'@'localhost' to database 'flarum'
Any help in troubleshooting this is greatly appreciated. I'm used to doing this kind of stuff in Docker and have never attempted anything on someone else's server.
EDIT 2: Leaving prefix blank was the solution. I mean absolutely no disrespect, I appreciate everything you guys have done, but the documentation is really lacking.
Anyway, now that that is set up and installed, I have no idea what to do. Navigating to my domain shows nothing. I did try moving everything to /public_html/. I also double checked that all files have been edited correctly (didn't have to actually change anything), and I tried changing the url field within config.php
from https://localhost
to https://mydomain.com