[x] Navigation

[x] Wer ist wo
 Bots:
1: Baidu > Forum 8.x [ Archiv ]
2: Google > Forum 9.x
 Visitors:
1: Forum 9.x

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

A database error occured - Minuszeichen im Datenbanknamen

Author Message
IljaRogoff
Investigator


Joined: Oct 25, 2004
Posts: 4

PostPost subject: A database error occured - Minuszeichen im Datenbanknamen
Posted: 19.08.2005 15:12
Reply with quote

Hallo!
Scheinbar hat dragonfly ein Problem, wenn sich im Datenbanknamen ein Minuszeichen befindet. Ich bekomme nämlich in der Administration im Unterpunkt Database folgende Fehlermeldung:

Array:
A database error has occurred

The webmaster has been notified of the error

Weiter unten steht dann noch:

Array:
includes/db/db.php

* CMS Warning line 51: On /admin.php?op=database While executing query "SHOW TABLES FROM db1020506-1" the following error occured: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1 In: /is/htdocs/wp1020506_W21K7SWEUO/www/ltu/includes/classes/cpg_member.php on line: 86

Weiss jemand Rat?
Den Namen der Datenbank kann ich nicht verändern, dies ist vom Provider so vorgegeben.


IljaRogoff's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian / Apache 2.0.52 / MySQL 4.1.8a / PHP 5.0.3 / CPG 9.0.5.0
Back to top
View user's profile ICQ Number MSN Messenger
designSumpf
Agent


Joined: Dec 25, 2004
Posts: 88
Location: Burgbernheim (Franken)

PostPost subject: Re: A database error occured - Minuszeichen im Datenbanknamen
Posted: 19.08.2005 16:55
Reply with quote

funktioniert diese Query-Abfrage mit phpmyadmin ?
_________________
Glaube nicht alles, was du denkst

designSumpf's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache /MySQL 5.0.32/PHP 5.2.0-8/DF 9.2.1
Back to top
View user's profile Visit poster's website
IljaRogoff
Investigator


Joined: Oct 25, 2004
Posts: 4

PostPost subject: Re: A database error occured - Minuszeichen im Datenbankname
Posted: 20.08.2005 00:39
Reply with quote

Nein, bekomme folgende Fehlermeldung:

Array:
MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1

sry ich bin php und sql ziemlicher noob Confused

nachtrag: hab mal den datenbanknamen in umgekehrte apostrophe gesetzt, also
Array:
SHOW TABLES FROM `db1020506-1`
dann funktionierts. Aber was muss ich dann an dragonfly ändern?


IljaRogoff's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian / Apache 2.0.52 / MySQL 4.1.8a / PHP 5.0.3 / CPG 9.0.5.0
Back to top
View user's profile ICQ Number MSN Messenger
designSumpf
Agent


Joined: Dec 25, 2004
Posts: 88
Location: Burgbernheim (Franken)

PostPost subject: Re: A database error occured - Minuszeichen im Datenbanknamen
Posted: 20.08.2005 01:51
Reply with quote

Meine Datenbanken bei hosteurope heißen auch dbxxxx-yy und da funktionierts.
Alles ! Bis auf das Modul Database im Admin-Bereich !
Das fliegt bei mir auch immer raus, ist mir aber egal, da ich die Sicherungen eh per Hand mache.
Das Ding hat aber (zumindest bei mir) auch bei einem anderen Hoster und mit CPG 8.x nicht funktioniert, wenn dir das ein Trost ist Very Happy

_________________
Glaube nicht alles, was du denkst

designSumpf's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache /MySQL 5.0.32/PHP 5.2.0-8/DF 9.2.1
Back to top
View user's profile Visit poster's website
IljaRogoff
Investigator


Joined: Oct 25, 2004
Posts: 4

PostPost subject: Re: A database error occured - Minuszeichen im Datenbanknamen
Posted: 20.08.2005 07:22
Reply with quote

jau, muss ich mich wohl damit abfinden... Smile

IljaRogoff's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian / Apache 2.0.52 / MySQL 4.1.8a / PHP 5.0.3 / CPG 9.0.5.0
Back to top
View user's profile ICQ Number MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Installation & Upgrades 9.x
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


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




Interactive software released under GNU GPL, Code Credits, Privacy Policy