[x] Navigation

[x] Languages

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

Umfrage, Survey Problem

This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ›  Allgemeines

View previous topic :: View next topic  
Author Message
xonixlino
Investigator
Investigator

Offline Offline
Joined: Jun 20, 2004
Posts: 17
Location: Germany | Berlin
PostPosted: 07.08.2004 14:21
Post subject: Umfrage, Survey Problem

Schon wieder ich Sad

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 Embarassed


xonixlino please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 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')")) {

Wink


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
xonixlino
Investigator
Investigator

Offline Offline
Joined: Jun 20, 2004
Posts: 17
Location: Germany | Berlin
PostPosted: 07.08.2004 23:19
Post subject: Re: Umfrage, Survey Problem

Also langsam machst du mir Angst Smile 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! Crying or Very sad
Back to top
View user's profile Visit poster's website
xonixlino
Investigator
Investigator

Offline Offline
Joined: Jun 20, 2004
Posts: 17
Location: Germany | Berlin
PostPosted: 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! Crying or Very sad
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 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
View user's profile Send e-mail Visit poster's website Photo Gallery
xonixlino
Investigator
Investigator

Offline Offline
Joined: Jun 20, 2004
Posts: 17
Location: Germany | Berlin
PostPosted: 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! Crying or Very sad
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 08.08.2004 15:35
Post subject: Re: Umfrage, Survey Problem

`comments` int(11) NOT NULL default '0',

fehlt Wink

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
xonixlino
Investigator
Investigator

Offline Offline
Joined: Jun 20, 2004
Posts: 17
Location: Germany | Berlin
PostPosted: 08.08.2004 15:45
Post subject: Re: Umfrage, Survey Problem

oh peinlich das hätte mir auch auffallen müssen, werde es mal reinhauen mal schauen was passiert Smile Embarassed


xonixlino please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
xonixlino
Investigator
Investigator

Offline Offline
Joined: Jun 20, 2004
Posts: 17
Location: Germany | Berlin
PostPosted: 08.08.2004 15:49
Post subject: Re: Umfrage, Survey Problem

funzt wieder Smile Danke Danke Danke Smile


xonixlino please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website
Guest






PostPosted: 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
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 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



Wink

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ›  Allgemeines
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