friendsofredaxo / poll Goto Github PK
View Code? Open in Web Editor NEWErstellt und verwaltet Umfragen in REDAXO 5, bei Bedarf mit E-Mailbestätigung.
License: MIT License
Erstellt und verwaltet Umfragen in REDAXO 5, bei Bedarf mit E-Mailbestätigung.
License: MIT License
Der Hilfe-Link ist falsch, anstatt github.com/... steht dort github.org/...
Wenn ich das Umfragemodul auf einer Seite integriere, dann kommt diese Fehlermeldung:
Error while executing statement "SELECT rex_poll_vote
.* FROM rex_poll_vote
WHERE option_id
= :p1 AND status
= :p2 ORDER BY rex_poll_vote
.id
ASC" using params {"p1":1,"p2":1}! SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'where clause'
Ich muss dazu sagen: Habe eine neue Redaxo-Version auf MAMP lokal installiert und diverseste Add-ons ausprobiert und zwischenzeitlich auch das System setup neu gestartet - es kann also sein, dass die Installation etwas zerschossen ist...
Feature description / Feature Beschreibung
Es wäre toll wenn man zusätzlich noch Frage / Antwort-Felder hätte.
Beim Reinstallieren wird das Poll-Modul nicht geupdatet, sondern erneut angelegt.
Liegt wohl an Zeile 29 der install.php:
if ($module_id == rex_request('module_id', 'integer', -1)) {
Wenn man diese z.B. ersetzt durch:
if ($module_name == $yform_module_name) {
funktioniert es.
Beim Versuch das Addon zu installieren kommt diese Fehlermeldung: (System: Redaxo 5.12.0 - Yform 3.4.1)
AddOn poll konnte aus folgendem Grund nicht installiert werden:
SQL error: Unable to fetch row.
Hat man "Umfrage beschränkt (E-Mail)" gewählt und stimmt nochmal mit gleicher E-Mail Adresse kommt wie bei der ersten Abstimmung die {{ poll_vote_confirm }} Meldung.
Es wird jedoch kein Bestätigungs E-Mail mehr versendet und auch kein Eintrag in der "Umfrage Einträge" Tabelle gemacht.
(was gut ist weil ja keine weitere Abstimmung möglich sein soll)
Von dem her wäre es gut wenn statt der {{ poll_vote_confirm }} Meldung zb. eine Meldung kommt "Sie haben bereits abgestimmt"
d.h. voting mit E-Mail bestätigen müssen als Option einbauen
Bei der (Neu-)Installation von Poll 1.4 (kein Update) auf REX 5.10.1 u. YForm 3.3.1 kommt es zur Fehlermeldung:
AddOn poll konnte aus folgendem Grund nicht installiert werden:
SQL error: Error while executing statement "insert into rex_module set name = :name, input = :input, output = :output, updatedate = :updatedate, updateuser = :updateuser where id = :module_id" using params {":name":"translate:poll_module",":input":"find();\n\n$select = new rex_select();\n$select->setName('REX_INPUT_VALUE[1]');\n\nforeach ($polls as $poll) {\n $select->addOption($poll->title, $poll->id);\n}\n\n$select->setSelected('REX_VALUE[1]');\n\necho $select->get();\n",":output":"setVar('poll', $poll);\n echo $fragment->parse('addons/poll/poll.php');\n}\n",":updatedate":"2020-05-26 14:57:48",":updateuser":"poll-addon",":module_id":null}! SQLSTATE[42000]: Syntax error or access violation: 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 'where id = NULL' at line 1
Die module_id ist NULL.
Line 17 in aa081fc
Nur so als Idee
Feature description / Feature Beschreibung
Hallo zusammen, ich kann das Addon über den Installer leider nicht finden. Nur als Hinweis ;)
Hi,
wenn ich es richtig verstehe, sollte bei einem E-Mail-Voting beim absenden eine Fehlermeldung kommen, wenn mit dieser Mail schon einmal gevotet wurde. Die zweite Mail geht auch nicht raus und es wird auch kein neuer deaktivierter Eintrag erstellt. Jedoch erscheint trotzdem die Meldung
"Wir haben eine E-Mail an die von dir angegebene Adresse gesendet. Bitte rufe den darin enthaltenen Link auf um deine Wahl zu bestätigen."
Wenn ich es richtig verstehe müsste das doch in der poll.php bei getOutput abgefangen werden?
Hier kann getestet werden wenn nötig, ist ein blankes redaxo, frischem poll-addon: [Deleted]
Vielen Dank schon mal und auch vielen Dank für das Addon!
dann statt Radios Checkboxen ausgeben
Bekomme nach dem Abstimmen, mit dem Internet Explorer 11/10 folgenden Fehler:
{{csrf.error}}
Im System.log steht kein Fehler.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.