Submit comments database error (mixed collation)
| Author |
Message |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Submit comments database error (mixed collation) Posted: Tue Apr 08, 2008 3:32 pm |
|
I have user that notify me that when trying to submit a comment it cause the database error. I check also and confirmed it. How do I fix this problem?
_________________ Lead Theme Designer - WebSiteGuru Designs
WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1 |
|
| Back to top |
|
 |
DJ Maze


Joined: Apr 19, 2004 Posts: 5668 Location: http://tinyurl.com/5z8dmv
|
Post subject: Re: Submit comments database error Posted: Tue Apr 08, 2008 4:15 pm |
|
What's the error?
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 12 / 2.2.15 / 5.1.47 / 5.3.3 / CVS |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: Submit comments database error Posted: Tue Apr 08, 2008 4:16 pm |
|
No chance based on that (lack of) information.
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Re: Submit comments database error Posted: Tue Apr 08, 2008 9:07 pm |
|
@ Maze -It only said database error for the user see quote:
Quote:
A database error has occurred
The webmaster has been notified of the error
[ Home ] [ Go Back ]
I will check my email tonight when I get home to see what error message other than the quote. I am not able to access my email from work, they block all webmail.
@ Phoenix - What do you mean by:
Quote:
No chance based on that (lack of) information.
If it provide more information other and saying database error. Then it would not be as you said (lack of). Thank you for your inputs.
_________________ Lead Theme Designer - WebSiteGuru Designs
WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1 |
|
| Back to top |
|
 |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Re: Submit comments database error Posted: Wed Apr 09, 2008 12:25 am |
|
Here is the error from my email
Quote:
On /index.php?name=Downloads&review=75
While executing query "SELECT COUNT(*) FROM cms_downloads_ratings WHERE lid='75' AND (ip='Š\rÔ /' OR uid='2')"
the following error occured: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
In: /home/***/modules/Downloads/include/review.inc on line: 119
_________________ Lead Theme Designer - WebSiteGuru Designs
WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1 |
|
| Back to top |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
Post subject: Re: Submit comments database error (mixed collation) Posted: Wed Apr 09, 2008 5:48 am |
|
Try search on: Illegal mix of collations
Any of the 1st 6 results - beside your post - should help you out.
Basically you have to convert all your tables and a couple of key fields at least from the old default collation to a utf8 one. There are several ways to do this, pick which suits you best, and take an SQL backup first... I've only screwed it up once, fortunately that was the one that I did back up, but I'm not usually that lucky!
_________________ Pro_News: The complete module for Dragonfly - now available as version 3.3
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1 |
|
| Back to top |
|
 |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Re: Submit comments database error (mixed collation) Posted: Wed Apr 09, 2008 3:57 pm |
|
Thanks! layingback. I will look for it.
_________________ Lead Theme Designer - WebSiteGuru Designs
WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1 |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|