Ask, reply and learn. Join the community of Akaunting.
Great to know you found a solution, but sorry for the question, where should I run these commands?
What is Console?
I'm having the same issues.
When I type in the command " php artisan migrate" i get the error "Could not open input file: artisan"
Any help with this?
Hello Yaron,
Console is the terminal of your server. If you are not familiar with it, it is better to request support with your server. A wrong command can messed up a lot of things.
Hello Keith, can You confirm you place yourself inside the folder project? This error normally appears when you run the php artisan command outside the project folder.
Leonardo, yes, I was not in the correct folder.
I moved to the /var/www/html folder where Akaunting is installed, and ran the command again, but im getting a different error now:
PHP Fatal error: Declaration of Doctrine/DBAL/Driver/PDOConnection::quaery() must be compatible with PDO: query (string $query, ?int $fetchMode = null, mixed ... $fetchModeArgs) in /var/www/html/vender/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 91
Can you confirm what command are you trying to run?
Did you check the comment os @Denis with several comands?
I've tried both of these commands, and both give me the same error posted above
php artisan update:finish core 1 2.1.0 2.0.27
and
php artisan migrate
Like Dennis said, log into your terminal and fix the error with the commands he gave earlier
php artisan cache:clear
php artisan view:clear
php artisan update:finish core 1 2.1.0 2.0.27
I didn't have access to SSH so I contacted hostgator to enable it and I used my panel username and password to login. If you are not familiar with terminal, you only need to know two commands ls and cd. Use ls to see the list of folders and cd [name of folder where Akaunting is installed]
Run those three commands Dennis provided and the error will be fixed.
Simeon, I did the 3 commands, the first two worked (cache clear and view), but the 3rd command (update finish) still comes back with the same error as posted above (Doctrine/DBAL driver PDOConnection error).
Please, make sure that your PHP version is 7.3 or 7.4
Showing 21 to 30 of 37 discussions