Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ FAQ (Frequently Answered Questions) :: Archives ⇒ a database error has occurred :: Archived


a database error has occurred :: Archived
Posts are moved here if they have been answered many times before in the forums, or if they exist in our FAQ or documentation. Posts in this forum may be deleted after 90 days.
Go to page 1, 2  Next
Topic Archived View previous topic :: View next topic  
Author Message
ARSLANTURK
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2006
Posts: 12
Location: Turkiye
PostPosted: 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. Sad

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
View user's profile Visit poster's website
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: 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
View user's profile Visit poster's website Photo Gallery
ARSLANTURK
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2006
Posts: 12
Location: Turkiye
PostPosted: 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
View user's profile Visit poster's website
bigern75
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Aug 18, 2004
Posts: 2102
Location: River Valley - FS AR
PostPosted: 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
View user's profile Visit poster's website
ARSLANTURK
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2006
Posts: 12
Location: Turkiye
PostPosted: 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
View user's profile Visit poster's website
dcollis
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 18, 2005
Posts: 230

PostPosted: 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
View user's profile Visit poster's website
bigern75
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Aug 18, 2004
Posts: 2102
Location: River Valley - FS AR
PostPosted: 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
View user's profile Visit poster's website
dcollis
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 18, 2005
Posts: 230

PostPosted: 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
View user's profile Visit poster's website
ARSLANTURK
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2006
Posts: 12
Location: Turkiye
PostPosted: 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
View user's profile Visit poster's website
dcollis
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 18, 2005
Posts: 230

PostPosted: 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
View user's profile Visit poster's website
ARSLANTURK
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2006
Posts: 12
Location: Turkiye
PostPosted: 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
View user's profile Visit poster's website
dcollis
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 18, 2005
Posts: 230

PostPosted: 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
View user's profile Visit poster's website
dcollis
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 18, 2005
Posts: 230

PostPosted: 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
View user's profile Visit poster's website
ARSLANTURK
Newbie
Newbie

Offline Offline
Joined: Jul 16, 2006
Posts: 12
Location: Turkiye
PostPosted: 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
View user's profile Visit poster's website
dcollis
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 18, 2005
Posts: 230

PostPosted: 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
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  FAQ (Frequently Answered Questions)
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy