PHP 8.1.28 and InvoicePlane 1.6.1

I am trying to upgrade to 1.6.1 however I am getting the following errors

vendor/codeigniter/framework/system/core/compat/mbstring.php): Failed to open stream: No such file or directory
Filename: core/CodeIgniter.php
Line Number: 288

Type: Error
Message: Failed opening required public_html/invoices/vendor/codeigniter/framework/system/core/compat/mbstring.php’ (include_path=‘.:/usr/local/php81/pear’)

Filename: /public_html/invoices/vendor/codeigniter/framework/system/core/CodeIgniter.php
Line Number: 288

Your help will be much appreciated.

When I uncomment the following line, I get HTTP500 error. Not sure why, however keep it comment it, gets me to login page. Please let me know if this is any security risk. if yes! how to fix it.

  • <?php exit('No direct script access allowed'); ?>

Is the entire vendor directory present?
Are you able to run composer install on your server?

Internal server errors end up in the server’s error log. Ask your host for that log.
If i only want to see that specific error, i’ll just:

  • clear the log
  • regenerate the error
  • save that log

Without the details of that error, there’s not much we can do.

When I uncomment the following line…

Preventing direct access to the script is an important part of InvoicePlane.

In which file did you uncomment that? Was it ipconfig.php?

Yes! ipconfig.php