Softaculous Install of 5.10.11

When I installed a clean version of invoice ninja using Softacoulous I am getting the following errors
[2024-07-22 19:49:02] production.ERROR: could not find driver (Connection: mysql, SQL: select * from users where email = xxe@xx and users.deleted_at is null limit 1) {“exception”:"[object] (Illuminate\Database\QueryException(code: 0): could not find driver (Connection: mysql, SQL: select * from users where email = [email protected] and users.deleted_at is null limit 1) at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:813)
[stacktrace]

[previous exception] [object] (PDOException(code: 0): could not find driver at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
[stacktrace]

[2024-07-22 19:49:02] production.ERROR: Class “DOMDocument” not found {“exception”:"[object] (Error(code: 0): Class "DOMDocument" not found at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/nunomaduro/termwind/src/HtmlRenderer.php:32)
[stacktrace]

[2024-07-22 19:49:07] production.ERROR: could not find driver (Connection: mysql, SQL: select * from users where email = [email protected] and users.deleted_at is null limit 1) {“exception”:"[object] (Illuminate\Database\QueryException(code: 0): could not find driver (Connection: mysql, SQL: select * from users where email = [email protected] and users.deleted_at is null limit 1) at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:813)
[stacktrace]

[previous exception] [object] (PDOException(code: 0): could not find driver at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
[stacktrace]

[2024-07-22 19:49:11] production.ERROR: could not find driver (Connection: mysql, SQL: select * from users where email = [email protected] and users.deleted_at is null limit 1) {“exception”:"[object] (Illuminate\Database\QueryException(code: 0): could not find driver (Connection: mysql, SQL: select * from users where email = [email protected] and users.deleted_at is null limit 1) at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:813)
[stacktrace]

[previous exception] [object] (PDOException(code: 0): could not find driver at /home/xxxx/domains/invoice.xxxx.co.za/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65)
[stacktrace]

I also tried an update from version 5.8.46 to the latest version and it breaks

Hi,

Maybe you need to install the MySQL drivers for PHP 8.2?

will try that as well but ticked off the required drivers for the installation.

@hillel this is the current php version with the selected modules


I get the following error

@david do you have any ideas?

ok just an update, so did a new client install of the version and it worked.

so the current issue is when I try to do an upgrade it fails, never had this issue before.

my current version is working but tested again still get the error

Chatting with hosting provider as well to see if there any permission issues as well.

@hillel can you tell me which installation files its looking for?

I don’t know myself, we’ll need to wait for David to advise.

Thank you for your response, awaiting @david

@hillel has @david had a chance to review this issue?

From the logs it seems very likely the problem is related to server configuration.

I suggest setting up a phpinfo page so you can confirm how the server is configured.

will contact the hosting provider and revert back. @hillel

issues :

  • Path to the installation was broken hence the installation failed. → fixed
  • Change to php 8.3 instead of 8.2 working much better and faster → changed version

Was getting errors on 8.2 but soon as we changed over to 8.3 issues seems to be resolved need to just update the cron jobs to point to new version of php…

Thank you @hillel

Glad to hear it, thanks for sharing the solution!