![Show/hide content [x]](themes/dragonfly/images/minus.png) Navigation
Home Community News Search Projekte
![Show/hide content [x]](themes/dragonfly/images/minus.png) Languages
![Show/hide content [x]](themes/dragonfly/images/minus.png) Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|
Umfrage, Survey Problem
|
View previous topic :: View next topic |
| Author |
Message |
xonixlino Investigator


Offline Joined: Jun 20, 2004 Posts: 17 Location: Germany | Berlin
|
Posted: 07.08.2004 14:21 Post subject: Umfrage, Survey Problem |
|
Schon wieder ich
Wenn ich eine Umfrage erstellen will, kommt folgender Fehler
On /v2/admin.php
While executing query "INSERT INTO cms_poll_desc VALUES (NULL, 'TEST', '1091877571', 0, 'german', 0, '0')"
the following error occured: Column count doesn't match value count at row 1
Das muss ja dann am Umfrage Modul liegen, da ich ja nur was ausfülle und selber hab ich daran nicht rumgeschraubt.
Danke für Eure Hilfe
xonixlino please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
Ertan Webmaster


Offline Joined: Mar 19, 2004 Posts: 1264 Location: Germany
|
Posted: 07.08.2004 21:23 Post subject: Re: Umfrage, Survey Problem |
|
in
/admin/modules/poll.php
zeile 105
PHP:
if(!$db->sql_query("INSERT INTO ".$prefix."_poll_desc VALUES (NULL, '$pollTitle', '$timeStamp', 0, '$planguage', '0')")) {
ändern in
PHP:
if(!$db->sql_query("INSERT INTO ".$prefix."_poll_desc VALUES (NULL, '$pollTitle', '$timeStamp', 0, '$planguage', 0, '$acomm')")) {
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
xonixlino Investigator


Offline Joined: Jun 20, 2004 Posts: 17 Location: Germany | Berlin
|
Posted: 07.08.2004 23:19 Post subject: Re: Umfrage, Survey Problem |
|
Also langsam machst du mir Angst  Du bist ja super fit auf CPG, alle Achtung.
Solltest vielleicht mal nen Donate einrichten, denn der Support hier ist ja Hammer im Vergleich zu kommerziellen Systemen.
xonixlino please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
xonixlino Investigator


Offline Joined: Jun 20, 2004 Posts: 17 Location: Germany | Berlin
|
Posted: 07.08.2004 23:25 Post subject: Re: Umfrage, Survey Problem |
|
Wollte das eben machen. aber in 105 habe ich diesen eintrag nicht, dann habe ich mal gesucht und in 95 folgenden gefunden.
Array:
if(!$db->sql_query("INSERT INTO ".$prefix."_poll_desc VALUES (NULL, '$pollTitle', '$timeStamp', 0, '$planguage', 0, '$acomm')")) {
return;
Der scheint ja richtig zu sein, nachdem was du mir schreibst. Ich verwende ja die 8.2b vielleicht ist es darin schon gefixt ? [/quote]
xonixlino please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
Ertan Webmaster


Offline Joined: Mar 19, 2004 Posts: 1264 Location: Germany
|
Posted: 08.08.2004 14:02 Post subject: Re: Umfrage, Survey Problem |
|
und was ist inder datenbank ?
check es mal mit phpmyadmin ?
sollte so aussehen:
pollID pollTitle timeStamp voters planguage artid comments
befehl :
CREATE TABLE `cms_poll_desc` (
`pollID` int(11) NOT NULL auto_increment,
`pollTitle` varchar(100) NOT NULL default '',
`timeStamp` int(11) NOT NULL default '0',
`voters` mediumint(9) NOT NULL default '0',
`planguage` varchar(30) NOT NULL default '',
`artid` int(10) NOT NULL default '0',
`comments` int(11) NOT NULL default '0',
PRIMARY KEY (`pollID`),
KEY `pollID` (`pollID`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
xonixlino Investigator


Offline Joined: Jun 20, 2004 Posts: 17 Location: Germany | Berlin
|
Posted: 08.08.2004 15:26 Post subject: Re: Umfrage, Survey Problem |
|
So hab mal nen Screen gemacht. Sieht aber richtig aus oder ?
Vielleicht zeigt es dir ja den Fehler
xonixlino please enter your server specs in your user profile!
|
|
| Back to top |
|
 |
Ertan Webmaster


Offline Joined: Mar 19, 2004 Posts: 1264 Location: Germany
|
Posted: 08.08.2004 15:35 Post subject: Re: Umfrage, Survey Problem |
|
`comments` int(11) NOT NULL default '0',
fehlt
_________________ .: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
xonixlino Investigator


Offline Joined: Jun 20, 2004 Posts: 17 Location: Germany | Berlin
|
|
| Back to top |
|
 |
xonixlino Investigator


Offline Joined: Jun 20, 2004 Posts: 17 Location: Germany | Berlin
|
|
| Back to top |
|
 |
Guest

|
Posted: 17.01.2005 22:07 Post subject: Re: Umfrage, Survey Problem |
|
Hallo ich habe auch das Problem mit dem Poll wenn ich aber eine neue Tabelle einfügen will kommt volgende Fehlermeldung :(
Das gebe ich ein:
`comments` int( 11 ) NOT NULL default '0',
Die Fehlermedung kommt:
#1064 - You have an error in your SQL syntax near 'comments` int(11) NOT NULL default '0',' at line 1
was mach ich falsch?
|
|
| Back to top |
|
 |
Ertan Webmaster


Offline Joined: Mar 19, 2004 Posts: 1264 Location: Germany
|
Posted: 17.01.2005 23:41 Post subject: Re: Umfrage, Survey Problem |
|
CREATE TABLE `cms_poll_desc` (
`pollID` int(11) NOT NULL auto_increment,
`pollTitle` varchar(100) NOT NULL default '',
`timeStamp` int(11) NOT NULL default '0',
`voters` mediumint(9) NOT NULL default '0',
`planguage` varchar(30) NOT NULL default '',
`artid` int(10) NOT NULL default '0',
`comments` int(11) NOT NULL default '0',
PRIMARY KEY (`pollID`),
KEY `pollID` (`pollID`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;
das ist was du eingeben kannst
tabelle löschen - sql dann ausführen
_________________ .: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr
Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
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
|