Database problems

I notice that this problem has already been addressed. However, the solution doesn’t work with me.
There doesn’t seem to be a /application/config directory

A Database Error Occurred
Unable to connect to your database server using the provided settings.Filename: /var/www/vhosts/orangerevamp.com/httpdocs/invoiceplane/third_party/MX/Loader.phpLine Number: 99

I’m not really that up on databases, so any help would be appreciated.

Thanks

The best way to solve this is to download the package again from the website and replace the whole application directory and run the setup again.
(Make a backup first…!)