| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
ARSLANTURK Newbie


Offline Joined: Jul 16, 2006 Posts: 12 Location: Turkiye
|
Posted: Sun Jul 16, 2006 11:03 am Post subject: Re: Database Error: "Illegal mix of collations..." |
|
Hi all;
I am ilker ARSLANTURK and from Turkiye. Sorry, i am a little speak english.
Dragonfly error message "Admin Panel - A database error has occurred. The webmaster has been notified of the error"
Thanks..
ARSLANTURK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
djdevon3 Gold Supporter


Offline Joined: Aug 05, 2004 Posts: 4363
|
Posted: Sun Jul 16, 2006 3:32 pm Post subject: Re: a database error has occurred |
|
turn on debugging in admininistration>main settings>debug. it should show you the real error at the bottom of the page.
djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33/4.4/4.3.11
|
|
| Back to top |
|
 |
ARSLANTURK Newbie


Offline Joined: Jul 16, 2006 Posts: 12 Location: Turkiye
|
Posted: Mon Jul 17, 2006 1:51 pm Post subject: Re: a database error has occurred |
|
Admininistration > Main settings > Debug
Here is Message for clik
Please Help !!!
Thanks
ARSLANTURK
ARSLANTURK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
bigern75 Platinum Supporter


Offline Joined: Aug 18, 2004 Posts: 2102 Location: River Valley - FS AR
|
Posted: Mon Jul 17, 2006 2:49 pm Post subject: Re: a database error has occurred |
|
delete or rename block-Exchange.php, whatever that is, and see what happens
_________________ iPad 1
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2
|
|
| Back to top |
|
 |
ARSLANTURK Newbie


Offline Joined: Jul 16, 2006 Posts: 12 Location: Turkiye
|
Posted: Mon Jul 17, 2006 3:48 pm Post subject: Re: a database error has occurred |
|
bigern75 thanks but error again. "A database error has occurred. The webmaster has been notified of the error" message to give.
Error links
Rank add ..../admin.php?op=ranks
and
Supper user add ..../admin.php?op=admins
Thanks
ARSLANTURK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
dcollis Heavy poster


Offline Joined: Mar 18, 2005 Posts: 230
|
Posted: Mon Jul 17, 2006 3:57 pm Post subject: Re: a database error has occurred |
|
Always post the entire error message if you can - we need to see what is causing the error message.
dcollis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux//4.0.27/4.4.2/9.0.6.1
|
|
| Back to top |
|
 |
bigern75 Platinum Supporter


Offline Joined: Aug 18, 2004 Posts: 2102 Location: River Valley - FS AR
|
Posted: Mon Jul 17, 2006 4:26 pm Post subject: Re: a database error has occurred |
|
here's his error:
| Code:: |
includes/functions/display.php
CMS Warning line 163: block-Exchange.php
Þu an bu blokta bir sorun var.
includes/db/db.php
CMS Warning line 51: On /admin.php?op=ranks While executing query "INSERT INTO cms_bbranks (rank_title, rank_special, rank_min, rank_image) VALUES ('Moderatör', 1, -1, 'images/ranks/stars-3.png')" the following error occured: Duplicate entry '0' for key 1 In: /****/****/****/****/httpdocs/admin/modules/ranks.php on line: 144
|
_________________ iPad 1
bigern75's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.2.6/5.0.86/5.2.8/9.3.2
|
|
| Back to top |
|
 |
dcollis Heavy poster


Offline Joined: Mar 18, 2005 Posts: 230
|
Posted: Mon Jul 17, 2006 4:48 pm Post subject: Re: a database error has occurred |
|
This sounds like a mysql problem - there is nothing wrong with that sql code that I can see.
Please check that auto_increment is set for the rank_id field.
Also please post what version of mysql you are using.
dcollis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux//4.0.27/4.4.2/9.0.6.1
|
|
| Back to top |
|
 |
ARSLANTURK Newbie


Offline Joined: Jul 16, 2006 Posts: 12 Location: Turkiye
|
Posted: Mon Jul 17, 2006 5:23 pm Post subject: Re: a database error has occurred |
|
MySQL Version 4.0.26-standard
ARSLANTURK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
dcollis Heavy poster


Offline Joined: Mar 18, 2005 Posts: 230
|
Posted: Mon Jul 17, 2006 5:34 pm Post subject: Re: a database error has occurred |
|
and auto_increment on rank_id?
dcollis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux//4.0.27/4.4.2/9.0.6.1
|
|
| Back to top |
|
 |
ARSLANTURK Newbie


Offline Joined: Jul 16, 2006 Posts: 12 Location: Turkiye
|
Posted: Mon Jul 17, 2006 5:48 pm Post subject: Re: a database error has occurred |
|
Sorry, i am learning english.
thanks
ARSLANTURK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
dcollis Heavy poster


Offline Joined: Mar 18, 2005 Posts: 230
|
Posted: Mon Jul 17, 2006 6:18 pm Post subject: Re: a database error has occurred |
|
You need to go into your actual database.
Maybe using a tool such as phpmyadmin?
Go to the cms_bbranks table and look at the table structure.
The "rank_id" field should have "auto_increment" on it. (This is under "extra" in phpmyadmin)
dcollis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux//4.0.27/4.4.2/9.0.6.1
|
|
| Back to top |
|
 |
dcollis Heavy poster


Offline Joined: Mar 18, 2005 Posts: 230
|
Posted: Mon Jul 17, 2006 6:23 pm Post subject: Re: a database error has occurred |
|
if it does not have auto_increment, run this sql:
| Code:: |
ALTER TABLE cms_bbrank CHANGE COLUMN rankid_id rank_id smallint(5) NOT NULL auto_increment; |
The question is, why would a table not have this set?
It can happen for a few reasons, the most common one being restoring from an incorrect backup of a database (e.g. if you moved servers or something).
dcollis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux//4.0.27/4.4.2/9.0.6.1
|
|
| Back to top |
|
 |
ARSLANTURK Newbie


Offline Joined: Jul 16, 2006 Posts: 12 Location: Turkiye
|
Posted: Wed Jul 19, 2006 7:01 pm Post subject: Re: a database error has occurred |
|
I should be to take FTP standby on midnight. I should be to throw the end FTP version and alone on database. WHAT HAPPENT?
What time adaptation dragonfly forums MYSQL version 4.0.24-standard %100 adaptation the end version?
THANKS
ARSLANTURK
ARSLANTURK's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
dcollis Heavy poster


Offline Joined: Mar 18, 2005 Posts: 230
|
Posted: Wed Jul 19, 2006 10:19 pm Post subject: Re: a database error has occurred |
|
I'm really sorry, but i'm afraid i don't understand what you mean.
Are you still having the problem?
dcollis's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux//4.0.27/4.4.2/9.0.6.1
|
|
| Back to top |
|
 |
|
|