TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,026
  • Total Topics: 21,333
  • Online today: 916
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 566
  • Total: 567
  • lurkalot

Some strange error

Started by NoFeaR, January 30, 2011, 10:28:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NoFeaR

I would just like to know what is this error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/xxxx/public_html/Sources/TPortalAdmin.php
Line: 1294

Lesmond


NoFeaR

I tried this
http://bogdan.org.ua/2008/02/08/convert-mysql-database-from-one-encodingcollation-into-another.html#comment-82200
but it doesnt work.

IchBin

When you altered your tables, did you check that all the tables and fields have the same collation?

NoFeaR


IchBin

That is the problem. They all need to be the same.

NoFeaR

Another thing. I just installed a fresh copy of SMF 2 RC4 with TP RC1 and it gives the same error.
Is there a way to change this?
Also i checked on my other forum and there is also difrent collation's. And that site works.

NoFeaR

It seems strange. THe forums i use on IXwebhosting is fine they use the following
utf8_general_ci
latin1_swedish_ci

On the server i with the errors the database has the following collations. Hostgator
utf8_general_ci
utf8_unicode_ci

I tried to host only my database with IXwebhosting but still the same.

IchBin

I think it's because of what is implied when nothing is specified as well. I don't know why or even how things are treated from one hosts installation to another. At this point, all you need to do to fix it is to change them to be the same collation.

lurkalot

Quote from: NoFeaR on January 31, 2011, 05:45:44 PM
It seems strange. THe forums i use on IXwebhosting is fine they use the following
utf8_general_ci
latin1_swedish_ci

On the server i with the errors the database has the following collations. Hostgator
utf8_general_ci
utf8_unicode_ci

I tried to host only my database with IXwebhosting but still the same.

Strange, I also use Hostgator, and mine is,

utf8_general_ci
latin1_swedish_ci


This website is proudly hosted on Crocweb Cloud Website Hosting.