Hi All,

I had recently switched to the latest couchcms 2.2b and it has worked very well on my local development server.

However, on deployment to host server the database created for site cannot be accessed despite all parameters set correctly.

After much troubleshooting by host company, the following was reported as cause of problem

"16-Aug-2018 16:37:13 America/New_York] PHP Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /home/designs2/public_html/pointer/includes/mysql2i/mysql2i.class.php on line 139"


After reporting the problem to the couchadmin, the problem was resolved as follows

I had a look and found the following problem -
after adding your database info into couch/config.php, you had saved the file as plain ANSI - and not UTF8 without BOM as should be the case when you have characters that are non-English.

As it happened, your mysql password had such a character and this was mangled by being non-utf.

I saved the file as 'UTF8 without BOM' re-entering the password and now the login screen appears as normal.


Please take note should you experience same,

Big thanks to KK for the resolve.