We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Problem

Fatal error on Perch site

I have a website that was working yesterday but is now showing this error:

Fatal error: Class 'mysqli' not found in /data01/c8193828/public_html/perch/core/lib/PerchDB_MySQLi.class.php on line 27

I am trying to find out from hosts if anything has changed, but does this error give any clues?

I have also re-uploaded the core, but no change.

Thanks.

Simon Clay

Simon Clay 127 points

  • 2 years ago
Duncan Revell

Duncan Revell 78 points
Registered Developer

I would guess a PHP version change - and that version doesn't include the mysqli or pdo libraries, for some odd reason...

Drew McLellan

Drew McLellan 2638 points
Perch Support

Make sure you have PDO installed and you should be fine.

Simon Clay

Simon Clay 127 points

Thanks both. As suspected the host was 'rolling out some new features to CPanel' and this is a symptom of that. Beautiful.