Actions

General FAQ/de: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages />  
<languages />  
__TOC__
__TOC__
{{Note|The following answers have been provided by the LimeSurvey user community. In case you do not understand something or you are unsure about what you have to do next, you can address your question(s) to the rest of community members: https://forums.limesurvey.org. For professional help, please check our list of authorized partners: https://limesurvey.com.}}


=Erste Schritte=
=Erste Schritte=


If you don't want to read half the manual to get a feeling what can be done with LimeSurvey we recommend to watch some videos (see below).


Danach sollte das [[Creating surveys - Introduction/de|Kapitel Umfragen erstellen: Eine neue Umfrage erstellen]] ein guter Ausgangspunkt sein.
Wenn Sie nicht erst die halbe Bedienungsanleitung durchlesen möchten, um einen Überblick über die Möglichkeiten bei LimeSurvey zu erhalten, empfehlen wir die folgenden Video-Anleitungen.
 
Alle Videos gibt es z.Zt. nur auf Englisch
* [https://www.youtube.com/watch?v=oyoq14XpkwA So richten Sie ein Konto und eine Umfrageinstallation ein]
* [https://www.youtube.com/watch?v=7134QebOQzY Fragetyp - Matrix]
* [https://www.youtube.com/watch?v=aeb93vAe7R4 Bewertungsregeln]
* [https://www.youtube.com/watch?v=s5OOzDoPjIU Platzhalterfelder]
* [https://www.youtube.com/watch?v=7N4xUQMWbJY Auswahlknopfliste]
* [https://www.youtube.com/watch?v=UI01hwrsiVk Umfrage kopieren / importieren]
*[https://www.youtube.com/watch?v=QEHyH1YbNEQ Frage importieren]
 
 
{{Note| Wenn Sie ein gutes Video kennen, zögern Sie nicht, es mit uns zu teilen.}}
 


==Ich möchte eine schnelle Einführung in LimeSurvey==
==Ich möchte eine schnelle Einführung in LimeSurvey==


Für einen ersten Eindruck empfehlen wir das einfach gehaltene LimeSurvey [[LimeSurvey Video-Tutorial]].


Ein weiteres [http://vimeo.com/4951738 Tutorial] vermittelt Ihnen den Einstieg in die Erstellung einer Umfrage mit LimeSurvey. In [http://vimeo.com/4951738 diesem Video] erzeugen wir eine erste Umfrage, stellen sie einem Benutzer zur Verfügung und schauen uns anschließend die abgegebenen Antworten an.
Eine kurze Einführung in LimeSurvey finden Sie unter den folgenden beiden Links:


Weitere Videos finden Sie auf '''YouTube''', leider nur in Englisch:
*[[Quick start guide - LimeSurvey 2.50+/de|LimeSurvey 2.50+]]
*[[Quick start guide - LimeSurvey 3.0+/de|Limesurvey 3+]]


'''''LimeSurvey:'''''
*[http://www.youtube.com/watch?v=96WdtqDmRVw Planning a survey]
*[http://www.youtube.com/watch?v=6GH-S3YAHRg Creating a survey]
*[http://www.youtube.com/watch?v=61p1Yre4GFM Entering questions]
*[http://www.youtube.com/watch?v=5eiZHw9mjDg Using label sets]
*[http://www.youtube.com/watch?v=5fI9Fyk5UCk Exporting data from LimeSurvey]


'''''Ältere Videos zur Vorgänger-Version PHPSurveyor:'''''
{{Alert|Wir arbeiten derzeit an weiteren Einführungsvideos zu LimeSurvey.}}
*[http://www.youtube.com/watch?v=c8OiA0bv8Rk Getting to the phpsurveyors Admin Pages]
 
*[http://www.youtube.com/watch?v=KOq45Val3v8 Creating a New Group in a Survey]
*[http://www.youtube.com/watch?v=bXGQeP8f7kQ Creating a New Question for phpsurveyor]
*[http://www.youtube.com/watch?v=1mzZ3KCaGAc Testing a newly created/modified Survey]
*[http://www.youtube.com/watch?v=6Y2L23y6bps Add Respondent]
*[http://www.youtube.com/watch?v=NcnK5YsfB8g Emailing to the Respondents]


=Umfragegestaltung und -layout=
=Umfragegestaltung und -layout=


==How can I remove index.php from the URL path to get a shorter URL==
If you want to use fancy URLs and so not have /index.php in every URL please edit /application/config/config.php and change


== Wie kann ich index.php aus dem URL-Pfad entfernen, um eine kürzere URL zu erhalten ==
Wenn Sie hübsche URLs verwenden möchten (nicht /index.php in jeder URL sehen), bearbeiten Sie /application/config/config.php und ändern Sie dies:
<div class="mw-translate-fuzzy">
<syntaxhighlight lang="php" enclose="div">'showScriptName' => true,</syntaxhighlight>
<syntaxhighlight lang="php" enclose="div">'showScriptName' => true,</syntaxhighlight>
</div>


in
auf


<div class="mw-translate-fuzzy">
<syntaxhighlight lang="php" enclose="div">'showScriptName' => false,</syntaxhighlight>
<syntaxhighlight lang="php" enclose="div">'showScriptName' => false,</syntaxhighlight>
</div>


Damit dies funktioniert, müssen Sie einen Apache-Webserver mit mod_rewrite-Modul korrekt installiert haben.
Damit dies funktioniert, müssen Sie einen Apache-Webserver mit mod_rewrite-Modul korrekt installiert haben.
===With nginx webserver===
If you are using the [http://nginx.com/products/ Nginx] http server (with php running via FastCGI) and want to use the ''''urlFormat' => 'path'''' setting (see config.php), consider the following Nginx website configuration:
<syntaxhighlight lang="apache">server {
    set $host_path "/PATH/TO/LIMESURVEY";
    server_name  YOUR.SERVER.FQDN;
    root /PATH/TO/LIMESURVEY;
    charset utf-8;
    try_files $uri $uri/ /index.php?r=$uri&$args;
    #Disallow reading inside php script directory, see issue with debug > 1 on note
    location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) {
        deny  all;
    }
#    Allow access to well-known directory, different usage, for example ACME Challenge for Let's Encrypt
    location ~ /\.well-known {
        allow all;
    }
    # Deny all attempts to access hidden files
    # such as .htaccess, .htpasswd, .DS_Store (Mac).
        location ~ /\. {
        deny all;
    }
    #Disallow direct read user upload files
    location ~ ^/upload/surveys/.*/fu_[a-z0-9]*$ {
        return 444;
    }
    #Disallow uploaded potential executable files in upload directory
    location ~* /upload/.*\.(pl|cgi|py|pyc|pyo|phtml|sh|lua|php|php3|php4|php5|php6|pcgi|pcgi3|pcgi4|pcgi5|pcgi6|icn)$ {
        return 444;
    }
    #avoid processing of calls to unexisting static files by yii
    location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
        try_files $uri =404;
    }
    location ~ \.php$ {
        fastcgi_split_path_info  ^(.+\.php)(.*)$;
        try_files $uri index.php;
        fastcgi_pass  127.0.0.1:9000; # Change this to match your settings
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  SCRIPT_NAME      $fastcgi_script_name;
    }
}</syntaxhighlight>
{{Note|This disables access to files inside application. Some JavaScript and CSS files located within the application have to be readable with debug > 0. You can force the usage of the asset manager when the debug mode is enabled with <code><nowiki>'use_asset_manager' => 1,</nowiki></code> in your config file (or remove <code><nowiki>application</nowiki></code> from the directory list</code>).}}
The end result should look like this:
<center>[[File:Remove index.php steps.png]]</center>


==Wie werde ich das rote Sternchen * bei Pflichtfragen los?==
==Wie werde ich das rote Sternchen * bei Pflichtfragen los?==


===Instructions for LimeSurvey 2===
<div class="mw-translate-fuzzy">
Ab '''LimeSurevey 1.8''' erhalten Pflichtangaben durch die Gestaltungsvorlage template.css (Klasse "asterisk") einen roten Stern. So können Sie den Stern ausblenden:
Ab '''LimeSurevey 1.8''' erhalten Pflichtangaben durch die Gestaltungsvorlage template.css (Klasse "asterisk") einen roten Stern. So können Sie den Stern ausblenden:
*&Ouml;ffnen Sie den Vorlagen-Editor,
*Öffnen Sie den Vorlagen-Editor,
*kopieren Sie die Vorlage, die Sie ändern möchten,
*kopieren Sie die Vorlage, die Sie ändern möchten,
*suchen Sie in der Vorlage template.css nach der Klasse asterisk,
*suchen Sie in der Vorlage template.css nach der Klasse asterisk,
Line 53: Line 124:
*speichern Sie die Vorlage template.css
*speichern Sie die Vorlage template.css
*Löschen Sie Ihren Browser-Cache, damit die neue template.css in Ihrem Browser neu geladen und nicht aus dem Cache geöffnet wird.
*Löschen Sie Ihren Browser-Cache, damit die neue template.css in Ihrem Browser neu geladen und nicht aus dem Cache geöffnet wird.
</div>
===Instructions for LimeSurvey 3===
The instructions are similar to the ones presented above for LimeSurvey 2.
* Access the desired theme. If it is a default theme, create a copy of it by clicking on the "extend" button.
* Access the list of themes and click on the '''theme editor''' that corresponds to the newly created theme.
* On the left side, you can visualise the corresponding CSS files of your theme.
* Click on custom.css and add the following line:
<syntaxhighlight lang="css">.asterisk {display: none;}</syntaxhighlight>


In '''LimeSurvey 1.53''' wird der rote Stern für Pflichtangaben über die Style-Anweisung .asterisk in der Datei startpage.pstpl eingefügt. So können Sie den Stern ausblenden:
* Save the changes. The red asterisk that is usually displayed at the beginning of the question text is hidden.
*&Ouml;ffnen Sie den Vorlage-Editor,
*öffnen Sie die Datei startpage.pstpl und suchen Sie in den Style-Anweisung nach der Klasse .asterix
*fügen Sie in den geschweiften Klammern diplay:none; ein und speichern Sie die Datei ab.


'''Ältere Versionen:'''
*&Ouml;ffnen Sie die Datei qanda.php in einem Text-Editor,
*suchen Sie nach dem Begriff "asterisk",
*kommentieren Sie die Zeile durch zwei Schrägstriche "//" am Anfang der Zeile aus,
*Beispiel:
**Original: $qtitle = '<span class=\'asterisk\'>'.$clang->gT('*').'</span>'.$qtitle;
**Geändert: // $qtitle = '<span class=\'asterisk\'>'.$clang->gT('*').'</span>'.$qtitle;


==Wie kann ich ein Flash Video einbetten?==
==Wie kann ich ein Flash Video einbetten?==


<div class="mw-translate-fuzzy">
Rufen Sie zunächst die generellen Einstellungen auf und deaktivieren Sie den XSS-Filter. Bitte informieren Sie sich auch über die Folgen, die sich aus der Deaktivierung ergeben. Die folgenden Schritte funktionieren nicht, so lange der Filter aktiv ist:
Rufen Sie zunächst die generellen Einstellungen auf und deaktivieren Sie den XSS-Filter. Bitte informieren Sie sich auch über die Folgen, die sich aus der Deaktivierung ergeben. Die folgenden Schritte funktionieren nicht, so lange der Filter aktiv ist:
*Rufen Sie in Ihrer Umfrage die Stelle auf, in der Sie das Flash Video einfügen wollen. Das kann überall dort sein, wo Sie den integrierten HTML-Editor aufrufen können, z.B. in Fragen, Teilfragen, Antworten, Begrüßungs- und Abschlusstexte Ihrer Umfrage und einiges mehr.
*Rufen Sie in Ihrer Umfrage die Stelle auf, in der Sie das Flash Video einfügen wollen. Das kann überall dort sein, wo Sie den integrierten HTML-Editor aufrufen können, z.B. in Fragen, Teilfragen, Antworten, Begrüßungs- und Abschlusstexte Ihrer Umfrage und einiges mehr.
*&Ouml;ffnen Sie den Editor in der Vollbildansicht, indem Sie auf das Icon "LimeFitWin" in der Toolbar des Editors klicken.
*Öffnen Sie den Editor in der Vollbildansicht, indem Sie auf das Icon "LimeFitWin" in der Toolbar des Editors klicken.
*In der Vollbildansicht finden Sie in der Toolbar des Editors ein Icon mit einem Flash-Symbol. Klicken Sie dieses Icon an. Es erscheint ein Dialogfenster.
*In der Vollbildansicht finden Sie in der Toolbar des Editors ein Icon mit einem Flash-Symbol. Klicken Sie dieses Icon an. Es erscheint ein Dialogfenster.
*In diesem Dialogfenster können Sie entweder den Pfad zu einer vorhandenen Flash-Datei angeben oder auf "Durchsuchen" klicken.
*In diesem Dialogfenster können Sie entweder den Pfad zu einer vorhandenen Flash-Datei angeben oder auf "Durchsuchen" klicken.
*Wenn Sie auf "Durchsuchen" geklickt haben, wird Ihnen ein Dateimanager und im unteren Fensterbereich eine Schaltfläche "Datei hochladen" angezeigt. Wählen Sie jetzt eine bestehende Datei aus oder laden Sie zunächst eine Datei hoch.
*Wenn Sie auf "Durchsuchen" geklickt haben, wird Ihnen ein Dateimanager und im unteren Fensterbereich eine Schaltfläche "Datei hochladen" angezeigt. Wählen Sie jetzt eine bestehende Datei aus oder laden Sie zunächst eine Datei hoch.
</div>


Das War's! Sollten Sie diese Anleitung unvollständig finden, ergänzen Sie sie bitte entsprechend.
Das War's! Sollten Sie diese Anleitung unvollständig finden, ergänzen Sie sie bitte entsprechend.


==Wie entferne ich eine der folgenden Textstellen aus meiner Umfrage?==


==="Es gibt X Fragen"===
{{Alert|title=Attention|text=The steps to use it in LimeSurvey 3 are similar. However, we do not recommend our users to use flash files!}}
 
 
==Wie erstelle ich eine Umfrage, die für jeden zugänglich ist?==
 
 
To create a survey that can be filled out by anyone, do not create a [[Survey participants|survey participants table]]! Share the survey link located on the [[Overview|overview panel]].


==="Ein Hinweis zur Vertraulichkeit &hellip;"===


===Frage Code===
==Public registration - mandatory fields==


All these texts are inserted at the template you are using by [[The template editor#Replacements_Field_Strings|placeholders]]. You can easily remove them. Go to the [[The template editor|Template Editor]] and remove the {THEREAREXQUESTIONS} / {PRIVACYMESSAGE} / {QUESTION_CODE} placeholder(s).


=Umfrage-Konfiguration=
If you use a [[Survey participants|survey participants table]] and you also allow [[Participant_settings#Allow_public_registration|public registration]], then users will be prompted by the following message:


==Wie erstelle ich eine Umfrage, die für jeden zugänglich ist?==


To make a survey public to everyone you should:
<center>[[File:non-mandatory public reg.png]]</center>
* not [[Tokens#How_to_activate_tokens?|create a token table]] (if there is one, drop it)
 
* at survey settings set "[[Creating a new survey#Publication & access control|Only users with tokens may enter the survey]]" = no (old setting)
 
* at survey settings set "[[Creating a new survey#Publication & access control|allow public registration]]" = no
Wie oben zu sehen ist, ist nur das E-Mail-Feld obligatorisch.
* at survey settings set "[[Creating a new survey#Presentation & navigation|list this survey publicly]]"
 
Um alle drei Felder als Pflichtfelder zu markieren, bearbeiten Sie bitte Ihr Umfragedesign entsprechend. Wenn Sie "Fruity" verwenden, müssen Sie zum Bildschirm "Registrierung" gehen und sehen, wie das E-Mail-Feld der Teilnehmer aussieht:
 
<syntaxhighlight lang="twig">
        {# Participants email #}
        <div class='{{ aSurveyInfo.class.registerformcolrowc }} form-group row' {{ aSurveyInfo.attr.registerformcolrowc }}>
            <label {{ aSurveyInfo.attr.registerformcolrowclabel }} class='{{ aSurveyInfo.class.registerformcolrowclabel }}  control-label'> {{ gT("Email address:") }} {{ include('./subviews/registration/required.twig') }}</label>
            <div {{ aSurveyInfo.attr.registerformcolrowcdiv }}  >
                {{ C.Html.textField('register_email', aSurveyInfo.sEmail, ({'id' : 'register_email','class' : 'form-control input-sm','required' : true})) }}
            </div>
        </div>
</syntaxhighlight>
 
After that, make sure to edit the first name and last name fields correspondingly by adding the label: <syntaxhighlight lang="twig">{{ include('./subviews/registration/required.twig') }}</syntaxhighlight> and this line which makes the field mandatory to be filled out: <syntaxhighlight lang="twig">'required' : true</syntaxhighlight>
 
Die bearbeitete Datei sollte folgendermaßen aussehen:
 
<syntaxhighlight lang="twig">
        {# Participants first name #}
        <div class='{{ aSurveyInfo.class.registerformcolrow }} form-group row' {{ aSurveyInfo.attr.registerformcolrow }}>
            <label for='register_firstname' class='{{ aSurveyInfo.class.registerformcolrowlabel }} control-label '>{{ gT("First name:") }} {{ include('./subviews/registration/required.twig') }}</label> {# extra label #}
            <div class="">
                {{ C.Html.textField('register_firstname', aSurveyInfo.sFirstName, ({'id' : 'register_firstname','class' : 'form-control', 'required' : true})) }} {# mandatory field #}
            </div>
        </div>
 
        {# Participants last name #}
        <div class='{{ aSurveyInfo.class.registerformcolrowb }} form-group row' {{ aSurveyInfo.attr.registerformcolrowb }}>
            <label {{ aSurveyInfo.attr.registerformcolrowblabel }}  class='{{ aSurveyInfo.class.registerformcolrowblabel }} control-label '>{{ gT("Last name:") }} {{ include('./subviews/registration/required.twig') }}</label> {# extra label #}
            <div {{ aSurveyInfo.attr.registerformcolrowbdiv }} >
                {{ C.Html.textField('register_lastname', aSurveyInfo.sLastName, ({'id' : 'register_lastname', 'class' : 'form-control', 'required' : true})) }} {# mandatory field #}
            </div>
        </div>
</syntaxhighlight>
 
 
Now, the public registration page should look like this (all the fields being mandatory):
 
 
<center>[[File:mandatory public reg.png]]</center>
 
 
== Ausblenden des Sprachumschalters ==
 
 
The steps to hide both the language switchers (near the survey title and on the top-right side of the page) are described in our wiki section dedicated to [[Multilingual_survey#Hints_.26_tips|multilingual surveys]].
 
 
== Hiding "Exit and clear survey" ==
 
 
In case you wish to hide the button "Exit and clear survey", you have to edit the nav_bar.twig file located inside your survey theme.
 
 
<center>[[File:exit and clear survey pic.png]]</center>
 
 
Die Zeile, die entfernt (oder auskommentiert) werden muss, lautet:
 
<syntaxhighlight lang="twig">
{{ include('./subviews/navigation/clearall_links.twig') }}
</syntaxhighlight>
 
 
<center>[[File:Hide exit and clear survey.png]]</center>
 
 
Now, there is no option to exit and clear the survey.
 


Ihre Umfrage sollte nun auf der Startseite Ihrer LimeSurvey-Installation aufgeführt werden. Sie können auf Ihrer Homepage oder in Ihrem Blog einen Link auf diese Umfrage setzen und jeder kann ohne Einschränkungen an der Umfrage teilnehmen.
<center>[[File:no exit clear survey.png]]</center>


==Wie kann man den Versand von Bestätigungs-E-Mails abstellen?==


Wenn Sie Zugangsschlüssel verwenden und ein Teilnehmer die Umfrage ausfüllt, erhält er einen Bestätigungs-E-Mail an seine E-Mail-Adresse. Wenn Sie keine Bestätigung versenden wollen, löschen Sie Betreff und Inhalt der Bestätigungs-E-Mail. Um den gesamten Inhalt löschen zu können, müssen Sie im Editor in den Quelltext-Eingabemodus wechseln. Wenn Sie die leere Bestätigung abspeichern, wird keine Bestätigungs-E-Mail mehr verschickt.
<div class="simplebox">[[File:help.png]] '''Note:''' This customization can be used when you create long surveys and require from your respondents to save and resume later the survey. Sometimes, the users tend to click the "Exit and clear survey" button which deletes the entry from the partially completed responses table.</div>


=Hilfe, ich habe versehentlich...=
=Hilfe, ich habe versehentlich...=


<div class="mw-translate-fuzzy">
==Ich habe mein Admin-Passwort vergessen. Wie kann ich es zurücksetzen?==
==Ich habe mein Admin-Passwort vergessen. Wie kann ich es zurücksetzen?==
# Für Version 1.47 bis 1.53: Lade [[Media:resetadminpw.php|diese Datei]] herunter und kopiere Sie Sie nach /<Ihr limesurvey verzeichnis>/admin/install/ .
# Für Version 1.47 bis 1.53: Lade [[Media:resetadminpw.php|diese Datei]] herunter und kopiere Sie Sie nach /<Ihr limesurvey verzeichnis>/admin/install/ .
Line 111: Line 262:
# Führe Sie resetadminpw.php mit Ihrem Browser aus, indem Sie <syntaxhighlight lang="php" umschließen="div">http://www.ihre_domain.com/your_limesurvey_dir/admin/install/resetadminpw.php</syntaxhighlight> öffnen
# Führe Sie resetadminpw.php mit Ihrem Browser aus, indem Sie <syntaxhighlight lang="php" umschließen="div">http://www.ihre_domain.com/your_limesurvey_dir/admin/install/resetadminpw.php</syntaxhighlight> öffnen
# Nach dem Sie das /install-Verzeichnis wieder entfernt haben, sollten Sie in der Lage sein, sich mit den $defaultuser (Standard: admin) und $defaultpass (Standard: password) aus der config.php wieder anzumelden.
# Nach dem Sie das /install-Verzeichnis wieder entfernt haben, sollten Sie in der Lage sein, sich mit den $defaultuser (Standard: admin) und $defaultpass (Standard: password) aus der config.php wieder anzumelden.
</div>
=== Version 2.x ===
# Access to your server with a command line (ssh for example)
# Ensure you have php command line access (see http://php.net/features.commandline.php).
# Go to your LimeSurvey directory
# Launch this command <code>php application/commands/starter.php resetpassword NEW_ADMIN_NAME NEW_ADMIN_PASS</code> or <code>php application/commands/console.php resetpassword NEW_ADMIN_NAME NEW_ADMIN_PASS</code><sup>The php can need complete directory access, example /usr/bin/php</sup>
{{Alert|Title=Attention|text=Please note that this method will not work in LimeSurvey 3.x!}}
===Version 2.x.x and newer with only FTP access===
See [https://gitlab.com/SondagesPro/coreAndTools/ResetPasswordController ResetPasswordController]
=== Directly change the password in the database ===
If you have direct access to the Limesurvey database you can change the old password there by uploading the new password as SHA256 hash. You can [http://www.xorbin.com/tools/sha256-hash-calculator create the SHA256 hash of your password here].
For example, you can use this instruction to set password to password:
<syntaxhighlight lang="sql">
UPDATE lime_users SET password = 0x35653838343839386461323830343731353164306535366638646336323932373733363033643064366161626264643632613131656637323164313534326438 WHERE uid =1;
</syntaxhighlight>
Here with prefix to lime_ and database selected.


==Wie kann ich Daten einer versehentlich deaktivierten Umfrage wiederherstellen?==
==Wie kann ich Daten einer versehentlich deaktivierten Umfrage wiederherstellen?==


<div class="mw-translate-fuzzy">
Wir empfehlen immer die Time-out-option anstelle der Deaktivierung einer Umfrage zu nutzen. Wenn Sie Ihre Umfrage versehentlich deaktiviert haben, ist es wichtig, dass Sie sich nichts an der Umfrage ändern.
Wir empfehlen immer die Time-out-option anstelle der Deaktivierung einer Umfrage zu nutzen. Wenn Sie Ihre Umfrage versehentlich deaktiviert haben, ist es wichtig, dass Sie sich nichts an der Umfrage ändern.
</div>


Then, and only then the following steps will work:
Then, and only then the following steps will work:
#Activate your survey again
#Activate your survey again
#Go to the "Browse responses for this survey" menu.
#Select [[Responses]] from the survey toolbar.
#Click at the "Import answers from a deactivated survey table" button.
#Click on [[Import responses|Import]] and select the "Import answers from a deactivated survey table" menu entry.
#Choose your source table.
#Choose your source table.
#Click at the "Import responses" button.
#Click on the "Import" button located on the upper-right part of the screen.
 
 
{{Note|To understand the difference between "expiry" and "deactivation", visit this following [https://manual.limesurvey.org/Closing_a_survey wiki section].}}
 


==Ich habe eine Frage/Fragengruppe/Umfrage gelöscht!==
==Ich habe eine Frage/Fragengruppe/Umfrage gelöscht!==


<div class="mw-translate-fuzzy">
Das ist Pech. Wenn Sie etwas löschen, ist es wirklich weg. In diesem Fall wird Ihnen nur ein Backup helfen (was natürlich von Ihnen regelmäßig erstellt wurde, nicht wahr?).
Das ist Pech. Wenn Sie etwas löschen, ist es wirklich weg. In diesem Fall wird Ihnen nur ein Backup helfen (was natürlich von Ihnen regelmäßig erstellt wurde, nicht wahr?).
</div>
{{Note|If you are a [https://limesurvey.org LimeSurvey GmbH] professional user, please open a support ticket and ask the team to provide you the backup associated to your account. '''Please note that this service is not free of charge!'''}}


=Hard- und Software-Anforderungen=
=Hard- und Software-Anforderungen=


For general requirements please refer to our [[Installation#Make sure you can use LimeSurvey on your website|installation instructions]].
For general requirements please refer to our [[Installation#Make sure you can use LimeSurvey on your website|installation instructions]].


==Welche Einschränkungen hat LimeSurvey...==
==Welche Einschränkungen hat LimeSurvey...==


===...in Bezug auf Geschwindigkeit===
===...in Bezug auf Geschwindigkeit===


There is no existing speed limit on LimeSurvey. It all depends on how fast your server and your connection is. If you expect a large number of users within a short time and you are not sure if your server can handle this check our forum for according topics about other users' experience.
 
There is no existing speed limit on LimeSurvey. Everything depends on how fast your server and your connection are. If you expect a large number of users within a short amount of time and you are not sure if your server can handle this, '''check our forum for similar topics!''' or '''contact an authorized LimeSurvey partner''': https://limesurvey.com.


===...in Bezug auf Umfragegröße===
===...in Bezug auf Umfragegröße===


Note: 'Survey size' refers to the maximmum number of questions (and answers) in your survey - '''don't confuse this with the number of replies on your survey (there is no limitation on that)'''. Theoretically there would also be no limit on the maximum number of questions/answers in LimeSurvey. But the database engine you are using has several limits. The most important one is the limit on the number of fields(columns) in the result table.
==== MySQL and MariaDB ====
*MySQL ISAM: The sum of the lengths of the VARCHAR and CHAR columns in a table may be up to 64KB.
 
*MySQL InnoDB: Maximum number of 1000 columns
<div class="mw-translate-fuzzy">
*MS SQL Server 2000: Maximum number of 1024 columns
Hinweis: 'Umfragegröße' bezieht sich auf die maximale Anzahl von Fragen (und Antworten) in Ihrer Umfrage - '''verwechseln Sie dies nicht mit der Anzahl der Antworten in Ihrer Umfrage (es gibt da keine Einschränkung)'''. Theoretisch wäre auch die maximale Anzahl von Fragen / Antworten in LimeSurvey unbegrenzt. Die mit LimeSurvey zusammn verwendete Datenbank hat jedoch mehrere Grenzen. Das wichtigste ist die Begrenzung der Anzahl der Felder (Spalten) in der Ergebnistabelle.
*Postgres: Maximum number of 250-1600 columns depending on column types. The maximum number of columns can be quadrupled by increasing the default block size to 32k. See [[Installation FAQ]] and [http://www.postgresql.org/docs/faqs.FAQ.html#item4.4 PostgreSQL FAQ].
* MySQL ISAM: Die Summe der Längen der VARCHAR- und CHAR-Spalten in einer Tabelle kann bis zu 64 KB betragen. Praktisch heisst dies, dass ca. 300-400 (Teil-)fragen in eine Umfrage passen.
* MySQL InnoDB: Maximale Anzahl von 1000 Spalten
* MS SQL Server 2000: Maximale Anzahl von 1024 Spalten
* Postgres: Maximale Anzahl von 250-1600 Spalten, abhängig von den Spaltentypen. Die maximale Anzahl von Spalten kann durch Erhöhen der Standardblockgröße auf 32 KB vervierfacht werden. Siehe [[Installations-FAQ]] und [http://www.postgresql.org/docs/faqs.FAQ.html#item4.4 PostgreSQL-FAQ].
</div>
 
{{Alert|title=Attention|text=Please think about what you do before you do it! An array of 10 x 10 items already costs you 100 columns. Rule of thumb: every item on the screen that can be filled in or selected costs one column!}}


The mySQL ISAM engine is the most tricky one (see [http://dev.mysql.com/doc/refman/5.0/en/column-count-limit.html mysql documentation for more information]). As it allows only up to 65,535 bytes per row and utf8 characters can require up to three bytes per character the maximum may be only 21,844 characters (but this depends on your DB encoding).
The mySQL ISAM engine is the most tricky one (see [http://dev.mysql.com/doc/refman/5.0/en/column-count-limit.html mysql documentation for more information]). As it allows only up to 65,535 bytes per row and utf8 characters, it can require up to three bytes per character. The maximum may be only 21,844 characters (but this depends on your DB encoding).


You can roughly calculate the size of your survey like this:
You can roughly calculate the size of your survey like this:
Line 153: Line 356:
*Add 10% for the usual overhead
*Add 10% for the usual overhead


==== With Microsoft SQL ====
There are no fixed limit on MSSQL. Some [https://docs.microsoft.com/en-us/sql/sql-server/maximum-capacity-specifications-for-sql-server?view=sql-server-ver15 information on microsoft website].
The 8,060 bytes per row can appear after activation when you want to browse response and data. You can export answer code and not answer text or try to export only some columns.
====With PostgreSQL====
When you try to export response : you can have SQLSTATE[54000] error. You can export some columns. See [https://forums.limesurvey.org/forum/french-forum/125447-erreur-sqlstate-54000 forum post].
<div class="mw-translate-fuzzy">
==Wie man die maximale Anzahl der Spalten in PostgreSQL erhöht==
==Wie man die maximale Anzahl der Spalten in PostgreSQL erhöht==
</div>


In case your survey contains too many questions you can define a different block size in PostgreSQL so it is possible to create more columns. This might be tricky because you have to recompile PostgreSQL and set BLCKSZ to a higher value, like 16kiB or 32kiB. Watch for the configuration option "--with-blocksize=BLOCKSIZE". For details see the archives of the PostgreSQL mailing list or ask there (pgsql-patches(at)postgresql(dot)org).
 
In case your survey contains too many questions, you can define a different block size in PostgreSQL to create more columns. This might be tricky because you have to recompile PostgreSQL and set BLCKSZ to a higher value, like 16kiB or 32kiB. Watch for the configuration option "--with-blocksize=BLOCKSIZE". For details see the archives of the PostgreSQL mailing list or ask there (pgsql-patches(at)postgresql(dot)org).


Anleitung für Debian (Danke an Martin Pitt):
Anleitung für Debian (Danke an Martin Pitt):
Line 166: Line 382:
dpkg-buildpackage -us -uc -b -nc</syntaxhighlight>
dpkg-buildpackage -us -uc -b -nc</syntaxhighlight>


==Umfrage-Teilnehmer werden auf halbem Weg aus der Umfrage geworfen. Was kann ich tun?==
Note: '''the above could not be reproduced''' on Ubuntu 14.04 in August 2014. A patch is required (the configuration option is not enough). See (tested with PostgreSQL 9.3 on Linux):
[[Instructions for increasing the maximum number of columns in PostgreSQL on Linux]]


If you have a particularly long survey, and you find that your users can access a survey, and get part way through completing it, but then seem to get kicked out to the Surveys List page check your PHP settings. If your host is using the '''Suhosin extension for Apache''' it may be set to be too limiting on a couple of settings.
==Fatal error: Allowed memory size==
 
For example the two settings "suhosin.post.max_vars" and "suhosin.request.max_vars" are both set to a value of 200 by default. Increase those settings both to 400 or higher so users can complete and submit long surveys.
 
If you still have problems, try switching the module to simulation_mode (and so basically deactivate it), as the maximum value always depends on your particular survey.


==Fatal error: Allowed memory size==


Depending on your server configuration you might run into memory problems being reported by an error like ''"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in /path/to/htdocs/limesurvey/filename.php on line 7296"''.
Depending on your server configuration you might run into memory problems being reported by an error like ''"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in /path/to/htdocs/limesurvey/filename.php on line 7296"''.
Line 180: Line 392:
You can try to raise the limit by [[Optional settings#Resources|adding an optional setting]] to LimeSurvey's config file.
You can try to raise the limit by [[Optional settings#Resources|adding an optional setting]] to LimeSurvey's config file.


Please mind that such local settings by an application can always be overruled by global server settings. To increase the memory limit to 128M directly on your server you could try adding:
Please bear in mind that changes in the default settings of an application can always be overruled by global server settings. To increase the memory limit of your sever to 128M:
*memory_limit = 128M to your server's main php.ini file (recommended, if you have access)
*memory_limit = 128M to your server's main php.ini file (recommended, if you have access)
*memory_limit = 128M to a php.ini file in the LimeSurvey root
*memory_limit = 128M to a php.ini file in the LimeSurvey root
*php_value memory_limit 32M in a .htaccess file in the LimeSurvey root
*php_value memory_limit 32M in a .htaccess file located in the LimeSurvey root folder
*ini_set('memory_limit', '128M'); in your config.php
*" ini_set('memory_limit', '128M'); " in your config.php


<div class="mw-translate-fuzzy">
=E-Mail-Probleme=
=E-Mail-Probleme=
</div>
Under certain circumstances, you need to update the LimeSurvey configuration in application/config/config.php
== IE 11 and Windows 7 / Windows 8 ==
There is a known issue with the session with IE 11, that leads to users not being able to finish a survey.
It is solved by giving the session a unique name.
This is done by adding this to the config file.
<syntaxhighlight lang="php" enclose="pre">
      // Set the name of the session
        'session' => array (
            'sessionName' => "YOURUNIQUESESSIONNAME",
        ),
</syntaxhighlight>
== Two LimeSurvey instances on same domain ==
If you run 2 LimeSurvey instances on the same domain, but within different directories, you need to update the [[Optional_settings#Yii_settings|session configuration]].
For example, if you have example.org/ls1 and example.org/ls2, update the ls1 config file:
<syntaxhighlight lang="php" enclose="pre">
        'session' => array (
            'cookieParams' => array(
                    'path' => '/ls1',
                ),
            ),
        'request' => array(
            'csrfCookie' => array( 'path' => '/ls1' )
        ),
</syntaxhighlight>

Revision as of 21:37, 17 February 2022


The following answers have been provided by the LimeSurvey user community. In case you do not understand something or you are unsure about what you have to do next, you can address your question(s) to the rest of community members: https://forums.limesurvey.org. For professional help, please check our list of authorized partners: https://limesurvey.com.


Erste Schritte

Wenn Sie nicht erst die halbe Bedienungsanleitung durchlesen möchten, um einen Überblick über die Möglichkeiten bei LimeSurvey zu erhalten, empfehlen wir die folgenden Video-Anleitungen.

Alle Videos gibt es z.Zt. nur auf Englisch


Wenn Sie ein gutes Video kennen, zögern Sie nicht, es mit uns zu teilen.


Ich möchte eine schnelle Einführung in LimeSurvey

Eine kurze Einführung in LimeSurvey finden Sie unter den folgenden beiden Links:


  Wir arbeiten derzeit an weiteren Einführungsvideos zu LimeSurvey.



Umfragegestaltung und -layout

Wie kann ich index.php aus dem URL-Pfad entfernen, um eine kürzere URL zu erhalten

Wenn Sie hübsche URLs verwenden möchten (nicht /index.php in jeder URL sehen), bearbeiten Sie /application/config/config.php und ändern Sie dies:

'showScriptName' => true,

auf

'showScriptName' => false,

Damit dies funktioniert, müssen Sie einen Apache-Webserver mit mod_rewrite-Modul korrekt installiert haben.

With nginx webserver

If you are using the Nginx http server (with php running via FastCGI) and want to use the 'urlFormat' => 'path' setting (see config.php), consider the following Nginx website configuration:

server {
    set $host_path "/PATH/TO/LIMESURVEY";
    server_name  YOUR.SERVER.FQDN;
    root /PATH/TO/LIMESURVEY;
    charset utf-8;
    try_files $uri $uri/ /index.php?r=$uri&$args;
    #Disallow reading inside php script directory, see issue with debug > 1 on note
    location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) {
        deny  all;
    }
#     Allow access to well-known directory, different usage, for example ACME Challenge for Let's Encrypt
    location ~ /\.well-known {
        allow all;
    }
    # Deny all attempts to access hidden files
    # such as .htaccess, .htpasswd, .DS_Store (Mac).
        location ~ /\. {
        deny all;
    }
    #Disallow direct read user upload files
    location ~ ^/upload/surveys/.*/fu_[a-z0-9]*$ {
        return 444;
    }
    #Disallow uploaded potential executable files in upload directory
    location ~* /upload/.*\.(pl|cgi|py|pyc|pyo|phtml|sh|lua|php|php3|php4|php5|php6|pcgi|pcgi3|pcgi4|pcgi5|pcgi6|icn)$ {
        return 444;
    }
    #avoid processing of calls to unexisting static files by yii
    location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {
        try_files $uri =404;
    }
    location ~ \.php$ {
        fastcgi_split_path_info  ^(.+\.php)(.*)$;
        try_files $uri index.php;
        fastcgi_pass   127.0.0.1:9000; # Change this to match your settings
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  SCRIPT_NAME      $fastcgi_script_name;
    }
}
This disables access to files inside application. Some JavaScript and CSS files located within the application have to be readable with debug > 0. You can force the usage of the asset manager when the debug mode is enabled with 'use_asset_manager' => 1, in your config file (or remove application from the directory list).

The end result should look like this:


Wie werde ich das rote Sternchen * bei Pflichtfragen los?

Instructions for LimeSurvey 2

Ab LimeSurevey 1.8 erhalten Pflichtangaben durch die Gestaltungsvorlage template.css (Klasse "asterisk") einen roten Stern. So können Sie den Stern ausblenden:

  • Öffnen Sie den Vorlagen-Editor,
  • kopieren Sie die Vorlage, die Sie ändern möchten,
  • suchen Sie in der Vorlage template.css nach der Klasse asterisk,
  • tragen Sie am Ende der Klassendefinition .asterisk in den geschwungenen Klammern display:none; ein,
  • speichern Sie die Vorlage template.css
  • Löschen Sie Ihren Browser-Cache, damit die neue template.css in Ihrem Browser neu geladen und nicht aus dem Cache geöffnet wird.


Instructions for LimeSurvey 3

The instructions are similar to the ones presented above for LimeSurvey 2.

  • Access the desired theme. If it is a default theme, create a copy of it by clicking on the "extend" button.
  • Access the list of themes and click on the theme editor that corresponds to the newly created theme.
  • On the left side, you can visualise the corresponding CSS files of your theme.
  • Click on custom.css and add the following line:
.asterisk {display: none;}


  • Save the changes. The red asterisk that is usually displayed at the beginning of the question text is hidden.


Wie kann ich ein Flash Video einbetten?

Rufen Sie zunächst die generellen Einstellungen auf und deaktivieren Sie den XSS-Filter. Bitte informieren Sie sich auch über die Folgen, die sich aus der Deaktivierung ergeben. Die folgenden Schritte funktionieren nicht, so lange der Filter aktiv ist:

  • Rufen Sie in Ihrer Umfrage die Stelle auf, in der Sie das Flash Video einfügen wollen. Das kann überall dort sein, wo Sie den integrierten HTML-Editor aufrufen können, z.B. in Fragen, Teilfragen, Antworten, Begrüßungs- und Abschlusstexte Ihrer Umfrage und einiges mehr.
  • Öffnen Sie den Editor in der Vollbildansicht, indem Sie auf das Icon "LimeFitWin" in der Toolbar des Editors klicken.
  • In der Vollbildansicht finden Sie in der Toolbar des Editors ein Icon mit einem Flash-Symbol. Klicken Sie dieses Icon an. Es erscheint ein Dialogfenster.
  • In diesem Dialogfenster können Sie entweder den Pfad zu einer vorhandenen Flash-Datei angeben oder auf "Durchsuchen" klicken.
  • Wenn Sie auf "Durchsuchen" geklickt haben, wird Ihnen ein Dateimanager und im unteren Fensterbereich eine Schaltfläche "Datei hochladen" angezeigt. Wählen Sie jetzt eine bestehende Datei aus oder laden Sie zunächst eine Datei hoch.


Das War's! Sollten Sie diese Anleitung unvollständig finden, ergänzen Sie sie bitte entsprechend.


  Attention : The steps to use it in LimeSurvey 3 are similar. However, we do not recommend our users to use flash files!



Wie erstelle ich eine Umfrage, die für jeden zugänglich ist?

To create a survey that can be filled out by anyone, do not create a survey participants table! Share the survey link located on the overview panel.


Public registration - mandatory fields

If you use a survey participants table and you also allow public registration, then users will be prompted by the following message:



Wie oben zu sehen ist, ist nur das E-Mail-Feld obligatorisch.

Um alle drei Felder als Pflichtfelder zu markieren, bearbeiten Sie bitte Ihr Umfragedesign entsprechend. Wenn Sie "Fruity" verwenden, müssen Sie zum Bildschirm "Registrierung" gehen und sehen, wie das E-Mail-Feld der Teilnehmer aussieht:

        {# Participants email #}
        <div class='{{ aSurveyInfo.class.registerformcolrowc }} form-group row' {{ aSurveyInfo.attr.registerformcolrowc }}>
            <label {{ aSurveyInfo.attr.registerformcolrowclabel }} class='{{ aSurveyInfo.class.registerformcolrowclabel }}  control-label'> {{ gT("Email address:") }} {{ include('./subviews/registration/required.twig') }}</label>
            <div {{ aSurveyInfo.attr.registerformcolrowcdiv }}  >
                {{ C.Html.textField('register_email', aSurveyInfo.sEmail, ({'id' : 'register_email','class' : 'form-control input-sm','required' : true})) }}
            </div>
        </div>

After that, make sure to edit the first name and last name fields correspondingly by adding the label:

{{ include('./subviews/registration/required.twig') }}

and this line which makes the field mandatory to be filled out:

'required' : true

Die bearbeitete Datei sollte folgendermaßen aussehen:

        {# Participants first name #}
        <div class='{{ aSurveyInfo.class.registerformcolrow }} form-group row' {{ aSurveyInfo.attr.registerformcolrow }}>
            <label for='register_firstname' class='{{ aSurveyInfo.class.registerformcolrowlabel }} control-label '>{{ gT("First name:") }} {{ include('./subviews/registration/required.twig') }}</label> {# extra label #}
            <div class="">
                {{ C.Html.textField('register_firstname', aSurveyInfo.sFirstName, ({'id' : 'register_firstname','class' : 'form-control', 'required' : true})) }} {# mandatory field #}
            </div>
        </div>

        {# Participants last name #}
        <div class='{{ aSurveyInfo.class.registerformcolrowb }} form-group row' {{ aSurveyInfo.attr.registerformcolrowb }}>
            <label {{ aSurveyInfo.attr.registerformcolrowblabel }}  class='{{ aSurveyInfo.class.registerformcolrowblabel }} control-label '>{{ gT("Last name:") }} {{ include('./subviews/registration/required.twig') }}</label> {# extra label #}
            <div {{ aSurveyInfo.attr.registerformcolrowbdiv }} >
                {{ C.Html.textField('register_lastname', aSurveyInfo.sLastName, ({'id' : 'register_lastname', 'class' : 'form-control', 'required' : true})) }} {# mandatory field #}
            </div>
        </div>


Now, the public registration page should look like this (all the fields being mandatory):



Ausblenden des Sprachumschalters

The steps to hide both the language switchers (near the survey title and on the top-right side of the page) are described in our wiki section dedicated to multilingual surveys.


Hiding "Exit and clear survey"

In case you wish to hide the button "Exit and clear survey", you have to edit the nav_bar.twig file located inside your survey theme.



Die Zeile, die entfernt (oder auskommentiert) werden muss, lautet:

{{ include('./subviews/navigation/clearall_links.twig') }}



Now, there is no option to exit and clear the survey.



Note: This customization can be used when you create long surveys and require from your respondents to save and resume later the survey. Sometimes, the users tend to click the "Exit and clear survey" button which deletes the entry from the partially completed responses table.

Hilfe, ich habe versehentlich...

Ich habe mein Admin-Passwort vergessen. Wie kann ich es zurücksetzen?

  1. Für Version 1.47 bis 1.53: Lade diese Datei herunter und kopiere Sie Sie nach /<Ihr limesurvey verzeichnis>/admin/install/ .
  2. Für Version 1.7 oder höher: Stellen das Verzeichnis /<limesurveydir>/admin/install/ Verzeichnis aus dem Download-Paket wieder her
  3. Führe Sie resetadminpw.php mit Ihrem Browser aus, indem Sie
    http://www.ihre_domain.com/your_limesurvey_dir/admin/install/resetadminpw.php
    
    öffnen
  4. Nach dem Sie das /install-Verzeichnis wieder entfernt haben, sollten Sie in der Lage sein, sich mit den $defaultuser (Standard: admin) und $defaultpass (Standard: password) aus der config.php wieder anzumelden.


Version 2.x

  1. Access to your server with a command line (ssh for example)
  2. Ensure you have php command line access (see http://php.net/features.commandline.php).
  3. Go to your LimeSurvey directory
  4. Launch this command php application/commands/starter.php resetpassword NEW_ADMIN_NAME NEW_ADMIN_PASS or php application/commands/console.php resetpassword NEW_ADMIN_NAME NEW_ADMIN_PASSThe php can need complete directory access, example /usr/bin/php


  Please note that this method will not work in LimeSurvey 3.x!



Version 2.x.x and newer with only FTP access

See ResetPasswordController


Directly change the password in the database

If you have direct access to the Limesurvey database you can change the old password there by uploading the new password as SHA256 hash. You can create the SHA256 hash of your password here.

For example, you can use this instruction to set password to password:

UPDATE lime_users SET password = 0x35653838343839386461323830343731353164306535366638646336323932373733363033643064366161626264643632613131656637323164313534326438 WHERE uid =1;

Here with prefix to lime_ and database selected.


Wie kann ich Daten einer versehentlich deaktivierten Umfrage wiederherstellen?

Wir empfehlen immer die Time-out-option anstelle der Deaktivierung einer Umfrage zu nutzen. Wenn Sie Ihre Umfrage versehentlich deaktiviert haben, ist es wichtig, dass Sie sich nichts an der Umfrage ändern.

Then, and only then the following steps will work:

  1. Activate your survey again
  2. Select Responses from the survey toolbar.
  3. Click on Import and select the "Import answers from a deactivated survey table" menu entry.
  4. Choose your source table.
  5. Click on the "Import" button located on the upper-right part of the screen.


To understand the difference between "expiry" and "deactivation", visit this following wiki section.


Ich habe eine Frage/Fragengruppe/Umfrage gelöscht!

Das ist Pech. Wenn Sie etwas löschen, ist es wirklich weg. In diesem Fall wird Ihnen nur ein Backup helfen (was natürlich von Ihnen regelmäßig erstellt wurde, nicht wahr?).


If you are a LimeSurvey GmbH professional user, please open a support ticket and ask the team to provide you the backup associated to your account. Please note that this service is not free of charge!


Hard- und Software-Anforderungen

For general requirements please refer to our installation instructions.


Welche Einschränkungen hat LimeSurvey...

...in Bezug auf Geschwindigkeit

There is no existing speed limit on LimeSurvey. Everything depends on how fast your server and your connection are. If you expect a large number of users within a short amount of time and you are not sure if your server can handle this, check our forum for similar topics! or contact an authorized LimeSurvey partner: https://limesurvey.com.

...in Bezug auf Umfragegröße

MySQL and MariaDB

Hinweis: 'Umfragegröße' bezieht sich auf die maximale Anzahl von Fragen (und Antworten) in Ihrer Umfrage - verwechseln Sie dies nicht mit der Anzahl der Antworten in Ihrer Umfrage (es gibt da keine Einschränkung). Theoretisch wäre auch die maximale Anzahl von Fragen / Antworten in LimeSurvey unbegrenzt. Die mit LimeSurvey zusammn verwendete Datenbank hat jedoch mehrere Grenzen. Das wichtigste ist die Begrenzung der Anzahl der Felder (Spalten) in der Ergebnistabelle.

  • MySQL ISAM: Die Summe der Längen der VARCHAR- und CHAR-Spalten in einer Tabelle kann bis zu 64 KB betragen. Praktisch heisst dies, dass ca. 300-400 (Teil-)fragen in eine Umfrage passen.
  • MySQL InnoDB: Maximale Anzahl von 1000 Spalten
  • MS SQL Server 2000: Maximale Anzahl von 1024 Spalten
  • Postgres: Maximale Anzahl von 250-1600 Spalten, abhängig von den Spaltentypen. Die maximale Anzahl von Spalten kann durch Erhöhen der Standardblockgröße auf 32 KB vervierfacht werden. Siehe Installations-FAQ und PostgreSQL-FAQ.
  Attention : Please think about what you do before you do it! An array of 10 x 10 items already costs you 100 columns. Rule of thumb: every item on the screen that can be filled in or selected costs one column!


The mySQL ISAM engine is the most tricky one (see mysql documentation for more information). As it allows only up to 65,535 bytes per row and utf8 characters, it can require up to three bytes per character. The maximum may be only 21,844 characters (but this depends on your DB encoding).

You can roughly calculate the size of your survey like this:

  • Every multiple numerical question: 20 chars for each answer
  • Every multiple choice & array question answers: 5 chars for each answer
  • Every other question type: 5 chars
  • Add 10% for the usual overhead

With Microsoft SQL

There are no fixed limit on MSSQL. Some information on microsoft website.

The 8,060 bytes per row can appear after activation when you want to browse response and data. You can export answer code and not answer text or try to export only some columns.

With PostgreSQL

When you try to export response : you can have SQLSTATE[54000] error. You can export some columns. See forum post.

Wie man die maximale Anzahl der Spalten in PostgreSQL erhöht


In case your survey contains too many questions, you can define a different block size in PostgreSQL to create more columns. This might be tricky because you have to recompile PostgreSQL and set BLCKSZ to a higher value, like 16kiB or 32kiB. Watch for the configuration option "--with-blocksize=BLOCKSIZE". For details see the archives of the PostgreSQL mailing list or ask there (pgsql-patches(at)postgresql(dot)org).

Anleitung für Debian (Danke an Martin Pitt):

sudo apt-get build-dep postgresql-8.3
apt-get source postgresql-8.3
cd postgresql-8.3-*
debian/rules patch
sensible-editor build-tree/postgresql-8.3.5/src/include/pg_config_manual.h
dpkg-buildpackage -us -uc -b -nc

Note: the above could not be reproduced on Ubuntu 14.04 in August 2014. A patch is required (the configuration option is not enough). See (tested with PostgreSQL 9.3 on Linux): Instructions for increasing the maximum number of columns in PostgreSQL on Linux

Fatal error: Allowed memory size

Depending on your server configuration you might run into memory problems being reported by an error like "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 233472 bytes) in /path/to/htdocs/limesurvey/filename.php on line 7296".

You can try to raise the limit by adding an optional setting to LimeSurvey's config file.

Please bear in mind that changes in the default settings of an application can always be overruled by global server settings. To increase the memory limit of your sever to 128M:

  • memory_limit = 128M to your server's main php.ini file (recommended, if you have access)
  • memory_limit = 128M to a php.ini file in the LimeSurvey root
  • php_value memory_limit 32M in a .htaccess file located in the LimeSurvey root folder
  • " ini_set('memory_limit', '128M'); " in your config.php

E-Mail-Probleme


Under certain circumstances, you need to update the LimeSurvey configuration in application/config/config.php

IE 11 and Windows 7 / Windows 8

There is a known issue with the session with IE 11, that leads to users not being able to finish a survey.

It is solved by giving the session a unique name.

This is done by adding this to the config file.

       // Set the name of the session
        'session' => array (
            'sessionName' => "YOURUNIQUESESSIONNAME",
        ),

Two LimeSurvey instances on same domain

If you run 2 LimeSurvey instances on the same domain, but within different directories, you need to update the session configuration.


For example, if you have example.org/ls1 and example.org/ls2, update the ls1 config file:

        'session' => array (
            'cookieParams' => array(
                    'path' => '/ls1',
                ),
            ),
        'request' => array(
            'csrfCookie' => array( 'path' => '/ls1' )
        ),