Non english charcters support for WP Customer Reviews

This an encoding compatibility problem that occurs when there is a discrepancy between wordpress encoding configuration and the default system or server configuration. The plugin creates tables like so: $sql = “CREATE TABLE $this->dbtable ( …. Code …. reviewer_name varchar(150) DEFAULT NULL, …. More table fields Code .. )”; The DEFAULT keyword is the culprit … Read more

WordPress Database Charset/Collate

There are $wpdb->charset and $wpdb->collate. I am not sure if or when one of these values might be empty, so it is better to prepare for empty values … From my DB class: /** * Get table charset and collation. * * @since 2012.10.22 * @return string */ protected static function get_wp_charset_collate() { global $wpdb; … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)