You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's quite unexpected as it seems to go into running Laravel migrations, whereas the project is set up to use phinx.
I'm not sure if it helps, but PHP 7.4 is not something the project has certified as running... maybe that's the root of the problem? PHP 7.3 is better tested.
Have you tried running the phinx commands explicitly?
I just tried downgrading to PHP 7.3 but unfortunately with the same result.
When I tried running php artisan phinx:migrate I got the following error message (in both PHP 7.4 and 7.3):
There are no commands defined in the "phinx" namespace
To me this suggests that the module is not installed. I've contacted my web hosting provider for them to do so and I'll report back on what happens next.
Describe the bug
I am trying to install Ushahidi 5.3.1 onto a shared web server.
I am following these official installation instructions here: https://docs.ushahidi.com/platform-developer-documentation/development-and-code/setup_alternatives/platform_release_install
I have extracted the files successfully as described and created a blank MySQL database with the appropriate permissions for the user.
When I populate the .env file and attempt to run
php artisan migrate
in a terminal in the appropriate folder (./platform), I get this error:Database [] not configured.
To Reproduce
Steps to reproduce the behavior:
php artisan migrate
The "--database" option does not exist
is displayed.Expected behaviour
That
php artisan migrate
runs successfully and the installation can continue.Hardware Details:
Additional context
This is what the .env file looks like, with the appropriate private information snipped:
I dug into the laravel.log file and this is the error message that comes up: https://pastebin.com/V0Qc8CZY
What I have tried
The text was updated successfully, but these errors were encountered: