Question Marks on Joomla Pages

Quick fix for old joomla versions using Mariadb or newer Mysql versions

in
Code:
libraries/joomla/database/database/mysql.php
or (depending on your setting)

Code:
libraries/joomla/database/database/mysqli.php
comment the line 186

Code:
return ($verParts[0] == 5 || ($verParts[0] == 4 && $verParts[1] == 1 && (int)$verParts[2] >= 2));
and add this instead(assuming these days you'll have unicode supported database:
Code:
   return (1);
the code looks like:
Code:
function hasUTF()
   {
     $verParts = explode( '.', $this->getVersion() );
   //   return ($verParts[0] == 5 || ($verParts[0] == 4 && $verParts[1] == 1 && (int)$verParts[2] >= 2));
   return (1);
   }

آیا این پاسخ به شما کمک کرد؟

 پرینت این مقاله

در همین زمینه

530 Relaying not allowed in a Email Clients

This error occurs when a user or mail client attempts to send email without authenticating on the...

NB connect error 1460 (Email)

Usually you may receive error like: Task user@domain.com - Sending reported error (0x800CCC67) :...

508 error - Resource Limit Reached

508 Resource Limit Is Reached in cPanel Hosting

The error message "508 Resource Limit Is Reached" usually appears when your account is constantly...

508 error - Resource Limit Reached

Quote from Cloudlinux website: This error will report itself to end user as 508 error, "Resource...

Powered by WHMCompleteSolution