projectsend icon indicating copy to clipboard operation
projectsend copied to clipboard

Upgrade from 1295 to 1605 encoding problems!

Open iincitr opened this issue 2 years ago • 5 comments

Upgrade from 1295 to 1605

error on sys-config-php SQLSTATE[42000] [1115] Unknown character set: 'utf8'

/**

  • Encoding to use on the e-mails sent to new clients, users, files, etc. / define('EMAIL_ENCODING', 'utf8mb4'); /* 'utf-8'); */

iincitr avatar Jun 27 '23 07:06 iincitr

Hi! I wonder why you are getting SQL errors with this, since it's only used on the email as it's being sent by phpmailer $email->CharSet = EMAIL_ENCODING;

ignacionelson avatar Jun 27 '23 13:06 ignacionelson

please look at www.umsmedikal.com.tr/npsend

iincitr avatar Jun 27 '23 14:06 iincitr

May phpMyadmin ?

iincitr avatar Jun 27 '23 18:06 iincitr

I don't know if it's coming from any update (from core.update.php) or from includes/database.php, where this is found:

$dbh = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_NAME, DB_USER, DB_PASSWORD, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));

Try removing the command like this

$dbh = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_NAME, DB_USER, DB_PASSWORD);

ignacionelson avatar Jun 27 '23 20:06 ignacionelson

I did try but :

https://umsmedikal.com.tr/npsend/install/make-config.php content.js:954 Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.

iincitr avatar Jun 28 '23 08:06 iincitr