Forum

Thread tagged as: Error, Configuration

SSL Configuration

Hi, we recently installed an SSL certificate onto https://www.lifterz.co.uk/. There is now an error on all pages with perch content, which shows up as a blank page and in the page tile it says 'Fatal Error'. We have configured the SSL in the config file: define('PERCH_SSL', true); File location: admin/config/config.php The error is still appearing and we need the Perch content to show. Please could anyone advise?

John Robinson

John Robinson 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You don't need to use PERCH_SSL if you're not in a mixed environment (which you wouldn't be theses days).

What's the error in your log?

Hi Drew, thank you for replying. This is the error: Fatal error: Class 'mysqli' not found in /data02/lifterz/public_html/admin/core/lib/PerchDB_MySQLi.class.php on line 27 Line 27 = $this->link = new mysqli(PERCH_DB_SERVER, PERCH_DB_USERNAME, PERCH_DB_PASSWORD, PERCH_DB_DATABASE, PERCH_DB_PORT, PERCH_DB_SOCKET); We also cannot access the admin area. https://www.lifterz.co.uk/admin/ Thanks.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You need to have PDO installed on your server.

Hi Drew, thanks for your response. What's happened is our server has automatically updated the PHP Version it runs on to the newest version, so I've switched it back to the previous version it ran on which was PHP 5.4. We're still receiving the same Fatal Error, so would you suggest still installing PDO onto our server?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you are getting an error about PDO, yes.