Actions

Optional settings/de: Difference between revisions

From LimeSurvey Manual

(Created page with "Wenn ein Fehler in der Anwendung auftritt, empfehlen wir dringend, die Debug-Einstellung zu aktivieren, so dass Sie in der Regel ein wesentlich ausführlichere Fehlermeldung e...")
(Updating to match new version of source page)
Line 2: Line 2:
__TOC__
__TOC__


=Hinweis=
=How to modify optional settings=


Diese optionalen Einstellungen können nur in der "config-defaults.php" einer Standard-Installation gefunden werden - einige von ihnen werden nur für die erste Installation genutzt und in den [[Global settings/de|globalen Einstellungen]] überschrieben.  
The optional settings can only be found in the file /application/config/config-defaults.php of a standard installation - some of them are only used for first installation, some of them overriden in [[Global settings]].  


{{Alert|Wenn Sie diese Einstellungen zu ändern möchten, ändern Sie bitte nicht in config-defaults.php, sondern kopieren Sie die jeweilige Einstellung/Zeile nach /application/config/config.php in <nowiki>'config'=>array()</nowiki> und ändern es dort.}}
{{Alert|Wenn Sie diese Einstellungen zu ändern möchten, ändern Sie bitte nicht in config-defaults.php, sondern kopieren Sie die jeweilige Einstellung/Zeile nach /application/config/config.php in <nowiki>'config'=>array()</nowiki> und ändern es dort.}}
Alle Einstellungen in config.php überschreiben die Vorgabe-Werte der config-defaults.php und einige von diesen werden von den Globalen Einstellungen{{NewIn/de|1.87}} überschrieben. Auf diese Weise ist es viel einfacher Ihre Installation zu einem späteren Zeitpunkt zu aktualisieren!
Alle Einstellungen in config.php überschreiben die Vorgabe-Werte der config-defaults.php und einige von diesen werden von den Globalen Einstellungen{{NewIn/de|1.87}} überschrieben. Auf diese Weise ist es viel einfacher Ihre Installation zu einem späteren Zeitpunkt zu aktualisieren!


Um die LimeSurvey Konfiguration zu aktualisieren, müssen Sie das config array bearbeiten:
To update/add the LimeSurvey settings in /application/config/config.php you have to update the config array:
<syntaxhighlight lang="php" enclose="pre">
<syntaxhighlight lang="php" enclose="pre">
     'config'=>array(
     'config'=>array(
         'debug'=>0,
         'debug'=>0,
         'debugsql'=>0,
         'debugsql'=>0,
         'LimeSurveyEinstellung'=>'Neuer Wert',
         'LimeSurveySetting'=>'New value',
     )
     )
</syntaxhighlight>
</syntaxhighlight>


=Yii settings=
LimeSurvey uses the Yii framework and Yii has its own configuration parameters in the application/config/config.php file. You can access some specific configuration settings of LimeSurvey also via the Yii configuration.


=Yii Einstellungen=
The Yii-specific settings are set in the components array:
LimeSurvey verwendet das Yii-Framework und Yii hat seine eigene Konfiguration in der Datei application/config/config.php. Sie können einige bestimmte Konfigurationseinstellungen von LimeSurvey über die Yii-Konfiguration setzen.
 
Diese Einstellung wird im components Array gesetzt. Beispiel:
<syntaxhighlight lang="php" enclose="pre">
<syntaxhighlight lang="php" enclose="pre">
     'components' => array(
     'components' => array(
Line 28: Line 27:
             ....
             ....
         ),
         ),
         'SpezifischeEinstellung'=>array(
         'Specific settings'=>array(
             ....
             ....
         ),
         ),
Line 34: Line 33:
</syntaxhighlight>
</syntaxhighlight>


==Datenbank Einstellungen==
==Database settings==
Die Datenbankeinstellungen werden vom Installationsprogramm in die config.php-Datei geschrieben, wenn Sie LimeSurvey zum ersten Mal installieren. Bei Bedarf können Sie diesen Teil der Konfiguration aktualisieren. Bitte denken Sie daran, dass Sie dies  auf eigene Gefahr tun.
The database settings are written by the installer to the config.php file when you install LimeSurvey for the first time. If needed you can update this part of the config. Please remember that you do this at your own risk.
Siehe auch die [http://www.yiiframework.com/doc/blog/1.1/en/prototype.database#establishing-database-connection Yii Dokumentation], und denken Sie bitte daran, dass LimeSurvey nur die Datenbanktypen mysql, pgsql , dblib, mssql und sqlsrv unterstützt.
See also the [[http://www.yiiframework.com/doc/blog/1.1/en/prototype.database#establishing-database-connection Yii documentation]], and please remember that LimeSurvey supports only the database types mysql,pgsql,dblib,mssql, and sqlsrv.


== Sitzungseinstellungen ==
== Sitzungseinstellungen ==
Line 60: Line 59:
</syntaxhighlight>
</syntaxhighlight>


== Anfrage-Einstellungen ==
==Request settings==
Die Anfrage-Einstellungen sind wichtig, aber die Standardeinstellungen sind für die LimeSurvey Nutzung bereits optimiert. Siehe [http://www.yiiframework.com/doc/api/1.1/CHttpRequest Yii Dokumentation] für weitere Informationen.
The request settings are important, but the default settings are already optimized for LimeSurvey usage. See [http://www.yiiframework.com/doc/api/1.1/CHttpRequest Yii Documentation] for more information.


Einige Beispiele, die Sie in Ihrer LimeSurvey Konfiguration ändern können : <sup>Auf eigene Gefahr!</ sup>:
Einige Beispiele, die Sie in Ihrer LimeSurvey Konfiguration ändern können : <sup>Auf eigene Gefahr!</ sup>:
Line 80: Line 79:
</syntaxhighlight>
</syntaxhighlight>


== URL-Einstellungen ==
If you need updating only the url for token email : you can set your [[Optional_settings#Advanced_Path_Settings|publicurl]] in your config.php file.
Um das gleiche Verhalten wie die alte 'Fancy URL "-Funktion zu habenhaben, können Sie die urlManager aktualisieren:
 
<syntaxhighlight lang="php" enclose="pre">      // Nutze kurze  URLs
==URL settings==
To have the same behaviour like the old 'Fancy URL' feature , you can update the urlManager
<syntaxhighlight lang="php" enclose="pre">      // Use short URL
'urlManager' => array(
'urlManager' => array(
'urlFormat' => 'path',
'urlFormat' => 'path',
Line 89: Line 90:
</syntaxhighlight>
</syntaxhighlight>
Adding .html after the survey id
Adding .html after the survey id
<syntaxhighlight lang="php" enclose="pre">      // Nutze kurze  URLs
<syntaxhighlight lang="php" enclose="pre">      // Use short URL
'urlManager' => array(
'urlManager' => array(
'urlFormat' => 'path',
'urlFormat' => 'path',
Line 98: Line 99:
),
),
</syntaxhighlight>
</syntaxhighlight>
Mehr Informationen finden Sie in der [http://www.yiiframework.com/doc/guide/1.1/en/topics.url Yii Dokumentation].
Find more information in the [http://www.yiiframework.com/doc/guide/1.1/en/topics.url Yii documentation].


=Generelle Einstellungen=
=Generelle Einstellungen=


*'''sitename''': Gibt der Umfragen-Seite einen Namen. Dieser Name wird in der Umfragenliste und im Kopf des Administrationsbereiches erscheinen. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''sitename''': Give your survey site a name. This name will appear in the survey list overview and in the administration header. This setting is used only as default value and overridden in the [[Global settings]] dialog {{NewIn|1.87}}.
*'''siteadminemail:''' Die E-Mail-Adresse des Administrators, welche für Systemnachrichten und Kontaktmöglichkeiten genutzt wird. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''siteadminemail:''' This is the default email address of the site administrator and used for system messages and contact options. This setting is used only as default value and overridden by the [[Global settings]] dialog {{NewIn|1.87}}.
*'''siteadminbounce:''' Die Mailadresse wohin zurückgeschickte Mails hinkommen. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''siteadminbounce:''' This is the email address where bounced emails will be sent to. This setting is used only as default value and overridden by the [[Global settings]] dialog {{NewIn|1.87}}.
*'''siteadminname:''' Der richtige Name des Seitenadmins. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''siteadminname:''' The real name of the site administrator. This setting is used only as default value and overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''proxy_host_name:''' This is the host name of your proxy server (if you are behind a proxy and want to update LimeSurvey using ComfortUpdate) {{NewIn|2.05}}.
*'''proxy_host_port:''' This is the port of your proxy server (if you are behind a proxy and want to update LimeSurvey  using ComfortUpdate) {{NewIn|2.05}}.


=Sicherheit=
=Sicherheit=


*'''surveyPreview_require_Auth''': Standard: 'true'. Wenn 'false' kann jede Person jede Umfrage durch Eingabe der Umfrage URL testen - ohne Login als Admin oder vorausgegangener Aktivierung der Umfrage. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
* '''maxLoginAttempt''': If the user enters password incorrectly this is the number of attempts before the users is locked out by IP address.
*'''usercontrolSameGroupPolicy''': Standard: 'true', nicht-Admis können im LimeSurvey Management nur User sehen, welche zu einer Gruppe gehören, in der die User selbst sind.
* '''timeOutTime''': If the user enters password incorrectly for  <maxLoginAttempt> set the lock out time (in seconds).
*'''filterxsshtml:''' Diese Einstellung aktiviert die Filterung von HTML-Tags in Umfrage, Gruppen, Fragen und Antworten Texten im Admin-Center. Nur auf 'false' lassen, wenn den Usern, welche Umfragen erstellen können, absolut vertraut wird und ihnen erlaubt werden soll, JavaScript, Flash, usw. zu benutzen. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
* '''surveyPreview_require_Auth''': true by default. If you set this to false any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first. This setting is a default value and can be overridden in the [[Global settings]] dialog {{NewIn|1.87}}.
*'''demoModeOnly:''' Wenn diese Option aktiviert ist, geht LimeSurvey in den Demo-Mode. Der Demo-Modus ändert folgendes::
* '''usercontrolSameGroupPolicy''' :  Set to true by default. By default non-admin users defined in the LimeSurvey management interface will only be able to see users they create or users that belongs to at least one same group. This setting is a default value and can be overridden in the [[Global settings]] dialog.
** Man kann Admin und User Details und Passwörter nicht mehr bearbeiten
*'''filterxsshtml:''' This setting enables filtering of suspicious html tags in survey, group, questions and answer texts in the administration interface. Only leave this to 'false' if you absolutely trust the users you created for the administration of  LimeSurvey and if you want to allow these users to be able to use Javascript, Flash Movies, etc. <span class="warning">Super admin never have their HTML filtered</span>. This setting is a default value and can be overridden in the [[Global settings]] dialog {{NewIn|1.87}}.
** Im Template-Editor können keine neuen Dateien hochgeladen werden
*'''demoModeOnly:''' If this option is set to true, then LimeSurvey will go into demo mode. The demo mode changes the following things:
** Es werden keine Mail Einladungen und Erinnerungen mehr gesendet
** Disables changing of the admin user's details and password
** Der DB-Dump wird deaktiviert
** Disables uploading files on the template editor
** Folgende globale Einstellungen können nicht mehr gespeichert werden: Seitenname, Standard-Sprache, Standard-HTML-Editor Modus und XSS Filter
** Disables sending email invitations and reminders
** Disables doing a database dump
** Disables the ability to modify the following global settings: Site name, Default language, Default Htmleditor Mode, XSS filter


=Ressourcen=
= Resources=
*'''sessionlifetime:''' Mit diesem Wert kann bestimmt werden, wie lange (in Sekunden) Umfrageteilnehmer inaktiv auf einer Seite verweilen dürfen, bevor die Daten auf der entsprechenden Seite wegen Zeitüberschreitung verloren gehen. (Standardwert: 3600) Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''sessionlifetime:''' Defines the time in seconds after which a survey session expires. It applies only if you are using database sessions. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''memorylimit:''' Wie viel Speicher LimeSurvey benutzen kann. Minimum: '32M' (M=mb). Bei Problemen wie Time-outs oder Problemen beim Export sollte das Limit auf '128M' oder '256M' erhöht werden.
*'''memorylimit:''' This sets how much memory LimeSurvey can access. '128M' is the minimum (M=Megabyte) recommended. If you receive time out errors or have problems generating statistics or exporting files raise this limit to '256M' or higher. If your webserver has set a higher limit then this setting will be ignored.


<div class="warningbox">Bitte beachten Sie, dass solche lokalen Einstellungen durch globalen Server-Einstellungen überschrieben werden können.</div>
<div class="warningbox">Bitte beachten Sie, dass solche lokalen Einstellungen durch globalen Server-Einstellungen überschrieben werden können.</div>
Line 130: Line 135:
*php_value memory_limit 128M in einer .htaccess-Datei im LimeSurvey Stammverzeichnis
*php_value memory_limit 128M in einer .htaccess-Datei im LimeSurvey Stammverzeichnis


=Erscheinungsbild=
=Appearance=
*'''$lwcdropdowns:'''{{ObsoleteIn|2.0}} Dieser Wert kann auf "L" oder "R" gesetzt werden. "R" hat zur Folge, dass beim Fragetyp "Liste mit Kommentar" die Fragen mit Radio-Buttons dargestellt werden. Dagegen werden bei "L" die Fragen in einer Dropdown-Box dargestellt.  
*'''lwcdropdowns:'''{{ObsoleteIn|2.0}} This can be set to either "L" or "R". Setting it to "R" will result in 'List with Comment' questions being displayed as radio buttons, whereas "L" will result in 'List with Comment' questions being displayed in a 'dropdown' list box .
*'''$dropdownthreshold:''' Wenn bei "$lwcdropdowns" als Einstellung "R" gewählt ist, dann kann hier der Maximalwert festgelegt werden, bevor automatisch von Radio-Buttons auf Dropdown-Box umgestellt wird. Da eine größere Anzahl an Radio-Buttons sehr schnell unübersichtlich wird, sollen hierdurch lange Listen für den Umfrageteilnehmer leichter zu verarbeiten sein. Deshalb sollte der Wert nicht allzu hoch gewählt werden. (Standard = 25)
*'''dropdownthreshold:''''{{ObsoleteIn|2.50}} When you have selected "R" for $dropdowns, this allows you to set a maximum number of options that will display as radio buttons, before converting back to a dropdown list. If you have a question that has a large number of options, displaying them all as radio buttons can look unweildy, and be counter-intuitive to users. Setting this to a maximum of, say 25 (which is the default) means that large lists are easier for the survey participant to use.
*'''$repeatheadings:''' Beim Verwenden des Fragetyps Feld (Flexible Beschriftung) wird m meist eine sehr große Anzahl an Antworten vorgeben, welche alle auf einer Seite dargestellt werden. Mit diesem Wert kann bestimmt werden, nach wie vielen Antworten wieder die Spalten-Überschrift angezeigt wird. Ein guter Wert, welcher sich hier eignet ist 15. Sollte keine Wiederholung der Spalten-Überschrift gewünscht sein, muss der Wert, wie er auch standardmäßig ist, auf 0 gesetzt werden.
*'''repeatheadings:''' With the Array type question, often you'll have a lot of subquestions, which - when displayed on screen - take up more than one page. This setting lets you decide how many subquestions should be displayed before repeating the header information for the question. A good setting for this is around 15. If you don't want the headings to repeat at all, set this to 0. This setting is overridden in the [[Global settings]] dialog) {{NewIn|2.05}}.
*'''$minrepeatheadings:''' Dieser Wert bestimmt bei Verwendung des Fragetyp Feld (Flexible Beschriftung) die Mindestanzahl von verbleibenden Fragen bevor die Spalten-Überschrift wiederholt wird.
*'''minrepeatheadings:''' The minimum number of remaining subquestions that are required before repeating the headings in Array questions.
*'''$addTitleToLinks:''' Wenn diese Option auf 'true' gesetzt ist, wird LimeSurvey ein 'title' HTML Attribut in alle Links, die im Menü benutzt werden, setzen. Screenreader können dadurch das Menü besser analysieren. Nur aktiveren, wenn tatsächlich Screenreader benutzt werden, da die Anzeige mit Tooltips überlappt.
*'''defaulttemplate:''' This setting specifys the default theme used for the 'public list' of surveys. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''defaulttemplate:''' Das Standard-Template für öffentliche Listen der Umfragen. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''defaulthtmleditormode:''' Sets the default mode for integrated HTML editor. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}. Valid settings are:
*'''defaulthtmleditormode:''' Standard Modus für den integrierten HTML-Editor. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}. Gültige Einstellungsmöglichkeiten:
** ''inline'': Inline replacement of fields by an HTML editor. Slow but convenient and user friendly
** ''inline'': Inline Ersetzung der Felder durch einen HTML-Editor Langsam, aber Benutzerfreundlich (Standard)
** ''popup'': Adds an icon that runs the HTML editor in a popup if needed. Faster, but HTML code is displayed in the form.
** ''popup'': Ein Icon, welches ein Popup mit dem HTML-Editor öffnet. Schneller, aber HTML-Code wird im Formular angezeigt.
** ''none'': No HTML editor
** ''none'': Kein HTML-Editor.
*'''column_style:''' Defines how columns are rendered for survey answers when using [[QS:Display_columns|display_columns]]. Valid settings are:
** 'css' using one of the various CSS only methods for creating columns (see template style sheet for details).
** 'ul' using multiple floated unordered lists. (default)
** 'table' using conventional tables based layout.
** NULL disable the use of columns


=Sprache und Zeit=
=Language & time=
*'''$defaultlang:''' Mit diesem Wert bestimmt man die Standardsprache, welche im Administratoren-Skript und als Standardspracheinstellung für öffentliche Umfrage verwendet wird. Über das Administratoren-Skript kann dieser Wert für öffentliche Umfragen für jede Umfrage einzeln festgelegt werden. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''defaultlang:''' This should be set to the default language to be used in your administration scripts, and also the default setting for language in the public survey list. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''$timeadjust:''' Sollte der Webserver in einer anderen Zeitzone beheimatet sein, als Umfrage durchgeführt wird, kann hier die Differenz Server und der Umfragen-Zeitzone eingetragen werden. Beispiel: Umfrage in Australien und Webserver in den USA, dann ist der Webserver 14 Stunden hinter der Uhrzeit vor Ort. In diesem Fall muss hier der Wert "14" eingetragen werden. Dann werden 14 Stunden zur Uhrzeit des Webservers addiert. Diese Einstellung ist besonders bei Umfragen in Kombination mit Zeit- und Datumsstempel wichtig. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
*'''timeadjust:''' If your web server is in a different time zone to the location where your surveys will be based, put the difference between your server and your home time zone here. For example, I live in Australia but use a US web server. The web server is 14 hours behind my local time zone. So my setting here is "14". In other words, it adds 14 hours to the web servers time. This setting is particularly important when surveys timestamp the responses. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
* '''$modrewrite:''' {{ObsoleteIn|2.0}} Wenn auf 1 gesetzt, wird das "schöne-URL Feature" aktiviert (Beispiel: http://survey.example.com/123456/lang-fr/tk-sdlfkjozeiru statt http://survey.example.com/index.php?sid=123456&lang;=fr&token;=sdlfkjozeiru). Vor der Aktivierung <u>muss== die "''htaccess.txt''" in "''.htaccess''" umbenannt werden. Dazu ist ein Apache Web-Server mit korrekt installiertem mod_rewrite-Module Pflicht!


=Umfrageverhalten=
=Survey behavior=
*'''$allowmandbackwards:''' Ein Wert von "1" erlaubt es Umfrageteilnehmern zu einer früheren Frage zurückzukehren, auch wenn die Teilnehmer eine Frage, welche unbedingt beantwortet werden muss ausgelassen haben.  Bei einem Wert von "0" muss diese Frage beantwortet werden, ansonsten kann man nicht zur früheren Frage zurückkehren.
*'''deletenonvalues:''' Use this feature with caution.  By default (a value of 1), irrelevant questions are NULLed in the database.  This ensures that the data in your database is internally consistent.  However, there are rare cases where you might want to hold onto irrelevant values, in which case you can set the value to 0.  Say you ask the person his gender, and he accidentally says 'female' and then answers some female-specific questions (questions that are conditioned on being female, so are only relevant for women).  Then, he realizes his mistake, backs up, sets the gender to 'male', and continues with the survey.  Now, the female-specific questions are irrelevant.  If $deletenonvalues==1, those irrelevant values will be cleared (NULLed) in the database.  If $deletenonvalues==0, his erroneous answers will not be deleted, so they will still be present in the database when you analyze it.
*'''$deletenonvalues:''' Dieser Wert bestimmt, ob die Antwort einer Frage, welche durch eine Änderung einer vorhergehenden Frage nicht beantwortet werden muss gespeichert werden soll oder nicht. Was damit gemeint wird, kann man wohl am Besten mit einem Beispiel erklären: Bei einem Wert von "0", wird die Antwort auf Frage "B", welche nur gezeigt wird, wenn bei Frage "A" eine bestimme Antwort gewählt wird gespeichert, auch wenn im Nachhinein die Antwort auf Frage "A" geändert wird und Frage "B" dann gar nicht mehr angezeigt wird. Einige Benutzer wünschen diese Einstellung, nach dem Motto, man kann gar nicht genug Informationen sammeln, andere wiederum wollen nur Antworten haben, welche bei einem korrekten und logischen Fragebogendurchlauf gesammelt werden. Bei einem Wert von "1" werden die redundanten Informationen nicht gespeichert.
*'''shownoanswer:''' When a question of a radio button/select type that contains editable answers (ie: List, Array questions) is not mandatory and shownoanswer is set to 1, an additional 'No answer' entry is shown - so that participants may choose to not answer the question. Some people prefer this not to be available. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}. Valid values are:
*'''$shownoanswer:''' Mit einem Wert von "0" kann man bei Frage, welche nicht beantwortet werden müssen die Antwortkategorie "keine Antwort" global abschalten. Bei einem Wert von "1" wird bei editierbaren Antwortkategorien (Liste, Feld), welche nicht verpflichtend beantwortet werden müssen automatisch die Kategorie "keine Antwort" hinzugefügt. Diese Einstellung wird durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben {{NewIn|1.87}}.
**0 = no ,
*'''$printanswershonorsconditions:''' Diese Einstellung legt fest, ob beim "Fragen drucken"-Feature die Fragen ausgeblendet werden, die wegen vom Nutzer gesetzter [http://docs.limesurvey.org/tiki-index.php?page=Bedingungen+setzen Bedingungen] nicht angezeigt wurden. (Standard: 1 = zeige durch Bedingungen ausgeblendete Fragen ''nicht'' an)
**1 = yes ,
*'''$hide_groupdescr_allinone:''' Diese Einstellung ist relevant für alle 'all-in-one' Umfragen, welche Bedingungen benutzen{{NewIn|1.85}}. Wenn aktiviert, werden der Gruppenname und die Beschreibung von allen Fragen der Gruppe versteckt. (Standard: true (Verstecke Gruppennamen und Beschreibungen wenn alle Bedingungen in der Gruppe durch Bedingungen versteckt werden))
**2 = survey admin can choose. 
*'''$showpopups:''' Zeige Popups, wenn Fragen nicht richtig beantwortet wurden. 1 = Popup (Standard), 0 = Nachricht stattdessen auf der Seite anzeigen.
*'''printanswershonorsconditions:''' This setting determines if the printanswers feature will display entries from questions that were hidden by conditions-branching (Default: 1 = hide answers from questions hidden by conditions).
*'''hide_groupdescr_allinone:'''{{NewIn|1.85}} This setting is relevant for all-in-one surveys using conditions . When this is set to true the group name and description is hidden if all questions in the group are hidden. (Default: true - hide group name and description when all conditions in the group are hidden by conditions)
*'''showpopups:'''  Show popup messages if mandatory or conditional questions have not been answered correctly. 1=Show popup message (default), 0=Show message on page instead, -1=Do not show the message at all (in this case, users will still see the question-specific tips indicating which questions must be answered).


=Entwicklung=
=Development and debugging=
*'''$debug:''' Mit diesem Wert kann festgelegt werden, dass alle PHP-Fehler angezeigt werden (E_ALL). Das bedeutet, dass wirkliche jede kleine Notiz, Warnung und Fehler im Skript berichtet wird. Diese Einstellung sollte nur aktiviert werden (=1), wenn einem Fehler im Skript auf den Grund gegangen werden soll. Programmierer sollten dies auf 2 setzen. Desweiteren sollte dieser Wert nicht aktiviert werden, wenn LimeSurvey zu produktiven Zwecken eingesetzt wird, da sonst Pfade offengelegt werden könnten. (Standardeinstellung: 0)
*'''debug:''' With this setting you set the PHP error reporting to E_ALL. That means every little notice, warning or error with the script is shown. This setting should be only switched to 1 if you are trying to debug the application for any reason, if you are a developer switch it to 2. Don't switch it to 1 or 2 in production since it might cause path disclosure. (Default: 0)  
*'''debugsql:''' Activate this setting if you want to display all SQL queries executed for the script on the bottom of each page. Very useful for optimizing the number of queries


Wenn ein Fehler in der Anwendung auftritt, empfehlen wir dringend, die Debug-Einstellung zu aktivieren, so dass Sie in der Regel ein wesentlich ausführlichere Fehlermeldung erhalten, die Sie mit dem Fehlerbericht einreichen können:
If you experience an error in the application, we strongly recommend to acivate the debug setting so you usually get some more detailed error that you can submit with the bug report:


<syntaxhighlight lang="php" enclose="pre">
<syntaxhighlight lang="php" enclose="pre">
Line 169: Line 180:
=E-Mail-Einstellungen=
=E-Mail-Einstellungen=


Alle diese Einstellungen werden durch die [[Globale Einstellungen|globalen Einstellungen]] überschrieben ({{NewIn|1.87}}).
Note: All these settings in this section are overridden in the [[Global settings]] dialog{{NewIn|1.87}}.
*'''emailmethod:''' Dieser Wert legt fest, auf welche Art E-Mail von LimeSurvey versendet werden. Folgende Optionen stehen zur Auswahl:
*'''emailmethod:'''  This determines how E-mail messages are being sent. The following options are available:
**'''mail:''' benutzt den integrierten PHP-Mailer zum Versenden
**'''mail:''' use internal PHP mailer
**'''sendmail:''' benutzt sendmail zum Versenden
**'''sendmail:''' use sendmail mailer
**'''smtp:''' benutzt SMTP zum Versenden. Nutzen Sie diese Option, wen der Webserver nicht der Mailserver ist.
**'''smtp:'''use SMTP relaying. Use this setting when you are running LimeSurvey on a host that is not your mail server.
*'''emailsmtphost:''' Bei der Verwendung von "smtp" zum Versenden ($emailmethod) muss hier der SMTP-Server eingetragen werden. Bei Google Mail ist es eventuell notwendig die Portnummer mit anzugeben, Beispiel: $emailsmtphost = 'smtp.gmail.com:465';
*'''emailsmtphost:''' If you use 'smtp' as $emailmethod then you have to put your SMTP-server here. If you are using Google mail you might have to add the port number like $emailsmtphost = 'smtp.gmail.com:465';
*'''emailsmtpuser:''' Bei der Verwendung von "smtp" zum Versenden ($emailmethod) und wenn der Server eine Authentifizierung verlangt, muss hier der Benutzername eingetragen werden, ansonsten muss der Wert freigelassen werden.
*'''emailsmtpuser:''' If your SMTP-server needs authentication then set this to your user name, otherwise it must be blank.
*'''emailsmtppassword:''' Bei der Verwendung von "smtp" zum Versenden ($emailmethod) und wenn der Server eine Authentifizierung verlangt, muss hier das Passwort eingetragen werden, ansonsten muss der Wert freigelassen werden.
*'''emailsmtppassword:''' If your SMTP-server needs authentication then set this to your password, otherwise it must be blank.
*'''emailsmtpssl:''' Auf 'ssl' oder 'tls' setzen, um SSL/TLS für SMTP-Verbindungen zu benutzen.
*'''emailsmtpssl:''' Set this to 'ssl' or 'tls' to use SSL/TLS for SMTP connection
*'''maxemails:''' Wenn Einladungs- oder Erinnerungs-Emails an Umfrageteilnehmer verschickt werden sollen, legt dieser Wert fest, wie viele E-Mails auf einmal versendet werden. Es gibt verschiedene Arten von Webservern und einige neigen dazu, dass bei einer großen Anzahl an gleichzeitig versendeten E-Mails ein Time-Out Fehler entsteht. Die meisten E-Mail-Server können 100 E-Mails innerhalb des 30sec-Limits des PHP-Skripts versenden. Sollte ein Timeout-Fehler auftreten, sollte dieser Wert entsprechend verringert werden. Durch Klicken des 'Email-Einladung-Senden' Buttons in der Token Control-Toolbar, (nicht der Button rechts von jedem Token), sendet die maximale Nummer von Mail-Einladungen und zeigt dann eine Liste der Adressen an, denen eine Einladung zugesellte wurden. Da drunter steht "Es gibt mehr Adressen, als die, die in einem Durchlauf angemailt werden konnten. Fortsetzung des Versands durch Drücken des Buttons. ### Mails müssen noch gesendet werden." und ein "Fortsetzen-Button", um den nächsten Durchgang zu starten. Der Admin kann sich ausloggen, und später zurückkommen, um die fehlenden Einladungen zu senden.
*'''maxemails:''' When sending invitations or reminders to survey participants, this setting is used to determine how many emails can be sent in one bunch. Different web servers have different email capacities, and if your script takes too long to send a bunch of emails, the script could time out and cause errors. Most web servers can send 100 emails at a time within the default 30 second time limit for a PHP script. If you get script timeout errors when sending large numbers of emails, reduce the number in this setting.  Clicking the 'send email invitation' button on the token control toolbar, (not the button on the right of each token), sends the maxemails number of invitations, then displays a list of the addresses sent to and a warning that "There are more emails pending than could be sent in one batch. Continue sending emails by clicking below. There are ### emails still to be sent." and provides a "continue button" to proceed with the next batch. I.e., the user determines when to send the next batch after each batch gets emailed.  It is not necessary to wait with this screen active.  The admin could log off and come back at a later time to send the next batch of invites.
 
=Statistiken=
*'''$usejpgraph:''' {{ObsoleteIn|1.8}} Wenn die [http://www.aditus.nu/jpgraph/ JPGraph-Bibliothek] auf dem Server richtig konfiguriert ist (Achtung: jede PHP-Version benötigt eine andere Version), kann mit dieser Erweiterung im Statistik-Teil von LimeSurvey die Ergebnisausgabe als Kreis- und Balken-Diagramme aktiviert werden. ("1" - aktiviert, "0" - abgeschaltet). Achtung: Experimentelles Feature!
*'''$jpgraphdir:''' {{ObsoleteIn|1.8}}  Das physikalische Verzeichnis auf dem das jpgraph-Skript zu finden ist. Diese Einstellung wird nur benötigt, wenn "$usejpgraph" aktiviert ist. Sollte eine Änderung dieses Wertes nicht den gewünschten Effekt bringen, muss diese Einstellung in der JPGraph Installation vorgenommen werden. Dazu muss in der Datei "jpg-config.inc" der Wert "Define ("TTF_DIR", "....../") auskommentiert werden und das entsprechende Verzeichnis dort eingefügt werden.
*'''$jpgraphfont:''' {{ObsoleteIn|1.8}}  Jene Schriftart, welche von JPGraph verwendet werden soll. "FF_FONT1" sollte auf jedem Server funktionieren.
*'''$embedded:''' {{ObsoleteIn|2.0}} Wenn LimeSurvey in eine andere Seite integrieren werden soll, dann kann mit dieser Einstellung das Senden des HTML-Header abgeschaltet werden und stattdessen auf die Header-Methode einer anderen Funktion verweisen. Dies ist zwar eher ein "dirty hack", sollte aber für eine schnelle Integration reichen.
*'''$filterout_incomplete_answers:''' Auf "true" setzen, wenn gewünscht wird, dass LimeSurvey unvollständige Antworten standardmäßig beim Anzeigen von Antworten und in der Auswertung/Statistik automatisch ausschließen soll. Für weitere Infos zu diesem Thema gibt es unter "[[Umfrageergebnisse ansehen|Umfrageergebnisse ansehen]]". Aufgrund der Tatsache, dass dieser Wert die Ergebnisse in der Statistik sehr stark (auch negativ) beeinflussen kann, wurde zudem eine Option im Backend eingebaut, mit der man diesen Filter ein- bzw. ausschalten kann. Die folgenden Optionen sind verfügbar:
**''show'': Zeige vollständige und unvollständige Daten
**''filter'': Zeige nur vollständige Antworten
**''incomplete'': Zeige nur unvollständige Antworten
*'''$stripQueryFromRefurl:''' Mit diesem Wert wird festgelegt, ob mit der Referrer-URL Parameter gespeichert werden oder nicht. Standardmäßig ist der Wert "false" eingestellt und die Referrer-URL wird mit allen Parametern gespeichert. Alternativ kann dieser Wert auf "true" gesetzt werden und es wird nur die URL ohne Parameter gespeichert.
*'''$showaggregateddata:''' {{NewIn|1.8}}  Diese Einstellung ist standardmäßig aktiviert und sorgt dafür, dass zusätzliche Werte wie arithmetisches Mittel und Standardabweichung bei der Auswertung angezeigt werden. Weiterhin werden Ergebnisse zusammengefasst, um einen schnellen Überblick zu erhalten. So werden bei 5er Skalen die Daten von 1+2 sowie von 4+5 zusammengefasst, um allgemeine Aussagen wie "gut" (1/2), "mittel" (3) und "schlecht" (4/5) zu erhalten. Diese Funktionen betreffen nur die Fragetypen "A" (5 Punkte Array) und "5" (5 Punkte Auswahl).
* '''PDF Export Einstellungen:''' {{NewIn|1.85}}  Diese Funktion aktiviert den PDF-Export für druckbare Umfragen und Antworten. Experimentelles Feature! Meist keine schöne Ausgabe. '''Es kann keine Hilfe gegeben werden!''' '''''Wenn du an der Verbesserung mithelfen willst, kontaktiere uns!'''''
**$usepdfexport: 0 für Deaktivierung; 1 für Aktivierung
**$pdfdefaultfont: Standard-Schrift für den PDF-Export
**$pdffontsize: Schriftgröße für normalen Text; Umfragetitel ist +4; Gruppenname ist +2
**$notsupportlanguages = array('zh-Hant-TW','zh-Hant-HK','zh-Hans','ja','th');
**$pdforientation: 'L' = Quer-, 'P' = Hochformat
*'''$showsgqacode:''' {{NewIn|1.91}}  Diese Einstellung ist für das Feature der druckbaren Version eines Fragebogens {IMG(attId="78",height="16",width="16")} und ist standardmäßig auf ''false'' gesetzt. Wird die Einstellung auf ''$showsgqacode = true;'' geändert, so werden die Frage- und, wo sinnvoll, die Antwort-IDs in der Druckversion angezeigt. Diese IDs entsprechen den Spaltennamen der Tabelle lime_survey_12345 in welcher die Antwortdaten für einen bestimmten Fragebogen gespeichert werden. Die IDs können dann als Referenz für eine manuelle Auswertungen genutzt werden.


{IMG(attId="79",thumb="mouseover",height="100",width="200")}
= Statistics and Response Browsing=
*'''usejpgraph:''' {{ObsoleteIn|1.8}} The [http://www.aditus.nu/jpgraph/ JPGraph-library] lets you display the results of your survey in the statistics part of LimeSurvey  in bar- and pie charts. If you have a correctly configured jpgraph class set up on your server, you can turn this feature on or off (1=on, 0=off). Please have a look, every version of PHP needs another version of JPGraph! This feature is currently in development, so expect a few weird outcomes.
*'''jpgraphdir:''' {{ObsoleteIn|1.8}} The physical disk location of the jpgraph class scripts. This setting is only required if $usejpgraph is equal to 1.
*'''jpgraphfont:''' {{ObsoleteIn|1.8}} The font to use with graphs. A failsafe setting would be "FF_FONT1"
*'''embedded:'''{{ObsoleteIn|2.0}} If you want to integrate LimeSurvey into another page then you can turn off sending HTML headers by using this setting and point instead to the header method of a custom function. This is a dirty hack but should work for a quick integration.
*'''filterout_incomplete_answers:''' Control the default behaviour of  filtering incomplete answers when browsing or analyzing responses. For a discussion on incomplete Responses see [[Browsing survey results]]. Since these records can corrupt the statistics, an option is given to switch this filter on or off in several GUI forms. This parameter config.php is just the default state for the incomplete answer filter. The following options are available:
**''show'': Show both complete and incomplete answers
**''filter'': Show only complete answers
**''incomplete'': Show only incomplete answers
*'''strip_query_from_referer_url''': This setting determine if the referrer URL saves parameter or not. Default value is "false" (in this case referrer URL saves all parameter). Alternatively this value can be set to "true" and the parameter part of the referrer URL will be removed.
*'''showaggregateddata:''' {{NewIn|1.8}} When activated there are additional values like arithmetic mean and standard deviation at statistics. Furthermore data is aggregated to get a faster overview e.g. results of scale 1+2 and 4+5 are added to have a general ranking like "good" (1/2), "average" (3) and "bad" (4/5). This only affects question types "A" (5 point array) and "5" (5 point choice).
* '''PDF Export Settings:''' {{NewIn|1.85}} This feature activates PDF export for printable survey and Print Answers. The PDF export is totally experimental. The output is mostly ugly. At this point no support can be given - if you want to help to fix it please get in touch with us.
**usepdfexport: Set 0 to disable; 1 to enable
**pdfdefaultfont: Default font for the pdf Export
**alternatepdffontfile: an array with key for language and specific font for this language can be replaced or just updated .
**pdffontsize: Fontsize for normal text; Surveytitle is +4; grouptitle is +2
**notsupportlanguages = array('zh-Hant-TW','zh-Hant-HK','zh-Hans','ja','th');
**pdforientation: Set L for Landscape or P for portrait format
*'"Graph setting"'
** chartfontfile : Font file to be used : must be in the server font directory or in ./fot directory
** alternatechartfontfile : an array with key for language and specific font for this language can be replaced or just updated .
*'''showsgqacode:''' {{NewIn|1.91}} This setting is used at the printable survey feature and defaults to ''false''. If you set ''showsgqacode = true;'' the IDs for each question - and answer if applicable - will be shown; these IDs match the column heading at the Lime_survey_12345 table which holds the answer data for a certain survey. These Ids can be used for a code book for manual database queries.


=[[LDAP settings|LDAP Einstellungen (Englisch)]]=
=[[LDAP settings|LDAP Einstellungen (Englisch)]]=
Line 207: Line 220:
=Authentifikation=
=Authentifikation=


In LimeSurvey 2.05 wird Authentifizierung durch sog. Plugins gehandhabt. Daher könnten die die folgenden Informationen veraltet sein. Bitte werfen Sie einen Blick auf [[Plugins/de|die Plugin-Seite]] für die aktuellsten Informationen.
Starting with LimeSurvey 2.05 authentication will be handled by plugins. Because of this the information below might be outdated. See [[Plugins]] for most up to date information.


==Delegieren der Anmeldung am Webserver==
==Delegieren der Anmeldung am Webserver==
Line 274: Line 287:
==Einmalpasswörter==
==Einmalpasswörter==


Es ist  möglich, den Login über /limesurvey/admin aufzurufen und gleichzeitig einen Benutzernamen und ein Einmalpasswort, das zuvor von einer externen Anwendung in die Tabelle ''users'' (Spalte one_time_pw)geschrieben wurde, per URL zu übertragen.
{{NewIn|1.81}} A user can open the LimeSurvey login at /limesurvey/admin and pass username and a one time password which was previously written into the users table (column one_time_pw) by an external application.


Diese Einstellung muss aktiviert werden ('''use_one_time_passwords''' => true) um die Verwendung von Einmal-Passwörtern zu ermöglichen (Standard = false). Mehr Informationen finden Sie auf der Seite [[Manage users/de|Benutzer verwalten]].
Diese Einstellung muss aktiviert werden ('''use_one_time_passwords''' => true) um die Verwendung von Einmal-Passwörtern zu ermöglichen (Standard = false). Mehr Informationen finden Sie auf der Seite [[Manage users/de|Benutzer verwalten]].
Line 280: Line 293:
=Erweiterte Ordner Einstellungen=
=Erweiterte Ordner Einstellungen=


*'''homeurl:''' Dieser Wert soll auf das URL-Verzeichnis mit den Administratoren-Skripts (Standard: /limesurvey/admin) zeigen. In angepassten Fall könnte dies "http://www.example.com/limesurvey/html/admin" sein. Keinen Slash an des Ende der Adresse anhängen! In der Standardeinstellung von config.php wird der Name des Verzeichnis auf dem Server automatisch mit der PHP-Variable - {$_SERVER<nowiki>[</nowiki>'SERVER_NAME']} zugewiesen. Im Normalfall benötigt dieser Wert keine Änderung und man muss nur die richtige Einstellung des Wertes "$rooturl" vornehmen.
*'''homeurl:''' This should be set to the URL location of your administration scripts. These are the scripts in the /limesurvey/admin folder. This should be set to the WEB URL location - for example "http://www.example.com/limesurvey/html/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the name of your server automatically using a php variable setting - {$_SERVER<nowiki>[</nowiki>'SERVER_NAME']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
*'''publicurl:''' Dieser Wert sollte auf das URL-Verzeichnis gesetzt werden, in dem alle "öffentlichen Skripts" liegen. Unter "öffentlichen Skripts" werden jene verstanden, welche im "LimeSurvey"-Verzeichnis (oder wie immer das das Stammverzeichnis von LimeSurvey genannt wurde) sind. Neben den öffentlichen Skripts finden man in diesem Verzeichnis auch noch die Unterverzeichnisse wie /admin, /classes, /docs,...
*'''publicurl:''' This should be set to the URL location of your 'public scripts'. The public scripts are those located in the "limesurvey" folder (or whatever name you gave to the directory that all the other scripts and directories are kept in). '''This settings is available in config.php and is used when sending token email.'''
*'''tempurl:''' Dieser Wert soll auf das "/limesurvey/tmp"-Verzeichnis zeigen, oder auf jenes Verzeichnis, in dem   alle temporären Dateien vom LimeSurvey gespeichert werden sollen und welcher für Uploads benutzt werden soll. Dieses Verzeichnis benötigt zudem folgende Zugriffsrechte: Lesen/Schreiben (chmod 755).
*'''tempurl:''' This should be set to the URL location of your "/limesurvey/tmp" directory - or a directory which you would like LimeSurvey to use to store temporary files, including uploads. This directory must be set to read & write for your webserver (e.g. chmod 755).  
*'''imagefiles:''' Diesen Wert sollte auf der Standardeinstellung (/limesurvey/admin/images) belassen werdem, er zeigt auf jenes Verzeichnis, in dem zu Beginn die benötigen Bilder und Icons installiert wurden. Wenn es gewünscht wird, können die Bilder und Icons natürlich auch in einen anderen Ordner abgelegt werden, dann muss hier natürlich das entsprechende Verzeichnis angegeben werden.
*'''imagefiles:''' By default you should leave this pointing to the URL location of /limesurvey/admin/images - where the images are installed initially. You may, however, prefer to move these images to another location and if so point this to the URL directory where they are stored.
*'''homedir:''' Hier soll das physikalische Verzeichnis, auf dem die Administratoren-Skripts am Server liegen eingetragen werden - zum Beispiel: "/home/usr/htdocs/limesurvey/admin". In der Standardeinstellung von config.php wird der Standard-Verzeichnispfad automatisch mit der PHP-Variable - {$_SERVER<nowiki>[</nowiki>'DOCUMENT_ROOT']} zugewiesen. Im Normalfall benötigt dieser Wert keine Änderung und es muss nur die richtige Einstellung des Wertes "$rootdir" vorgenommen werden.
*'''homedir:''' This should be set to the physical disk location of your administration scripts - for example "/home/usr/htdocs/limesurvey/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the default root path of all your documents using the php variable setting - {$_SERVER<nowiki>[</nowiki>'DOCUMENT_ROOT']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
*'''publicdir:''' Hier soll das physikalische Verzeichnis, auf dem die "öffentlichen Skripts" zu finden ist eingetragen werden.
*'''publicdir:''' This should be set to the physical disk location of your 'public scripts'.
*'''tempdir:''' Hier soll das physikalische Verzeichnis, auf dem das /limesurvey/tmp-Verzeichnis zu finden ist eingetragen werden, sodass das Skript-Dateien Lesen und Schreiben kann.
*'''tempdir:''' This should be set to the physical disk location of your /limesurvey/tmp directory so that the script can read and write files.
*'''fckeditordir:''' URL des fckeditor-Scripts
*'''sCKEditorURL:''' url of the fckeditor script
*'''fckeditexpandtoolbar:''' Definiert, ob die FCKeditor-Toolbar standardmäßig geöffnet werden soll
*'''fckeditexpandtoolbar:''' defines if the FCKeditor toolbar should be opened by default
*'''pdfexportdir:''' Verzeichnis mit tcpdf.php und extensiontcpdf.php
*'''pdfexportdir:''' Directory with the tcpdf.php extensiontcpdf.php
*'''pdffonts:''' Ordner der TCPDF-Schriften
*'''pdffonts:''' Directory for the TCPDF fonts

Revision as of 13:03, 25 January 2017

How to modify optional settings

The optional settings can only be found in the file /application/config/config-defaults.php of a standard installation - some of them are only used for first installation, some of them overriden in Global settings.

  Wenn Sie diese Einstellungen zu ändern möchten, ändern Sie bitte nicht in config-defaults.php, sondern kopieren Sie die jeweilige Einstellung/Zeile nach /application/config/config.php in 'config'=>array() und ändern es dort.


Alle Einstellungen in config.php überschreiben die Vorgabe-Werte der config-defaults.php und einige von diesen werden von den Globalen Einstellungen (Neu ab 1.87 ) überschrieben. Auf diese Weise ist es viel einfacher Ihre Installation zu einem späteren Zeitpunkt zu aktualisieren!

To update/add the LimeSurvey settings in /application/config/config.php you have to update the config array:

    'config'=>array(
        'debug'=>0,
        'debugsql'=>0,
        'LimeSurveySetting'=>'New value',
    )

Yii settings

LimeSurvey uses the Yii framework and Yii has its own configuration parameters in the application/config/config.php file. You can access some specific configuration settings of LimeSurvey also via the Yii configuration.

The Yii-specific settings are set in the components array:

    'components' => array(
        'db' => array(
            ....
        ),
        'Specific settings'=>array(
            ....
        ),
    ),

Database settings

The database settings are written by the installer to the config.php file when you install LimeSurvey for the first time. If needed you can update this part of the config. Please remember that you do this at your own risk. See also the [Yii documentation], and please remember that LimeSurvey supports only the database types mysql,pgsql,dblib,mssql, and sqlsrv.

Sitzungseinstellungen

Sie können einige Sitzungsparameter in config.php setzen - das erste Beispiel ist die Sitzung in der Datenbank. Sie können den Teil in config.php auskommentieren/hinzuzufügen wenn benötigt. Siehe [Yii Dokumentation] für weitere Einstellungen.

Wenn Sie SSL ("https") für Ihre LimeSurvey Installation nutzen, können die folgenden Zeilen in Ihrer config.php die Sicherheit erhöhen:

        // Setze den Cookie via SSL
        'session' => array (
            'cookieParams' => array(
                    'secure' => true, // use SSL for cookies
                    'httponly' => true // Cookies dürfen nicht von anderen Protokollen genutzt werden
                ),
            ),

Wenn Sie die Domain für einen Cookie setzen möchten, setzen Sie dies in config.php:

        // Set the domain for cookie
        'session' => array (
            'cookieParams' => array(
                    'domain' => '.example.org',
                ),
            ),

Request settings

The request settings are important, but the default settings are already optimized for LimeSurvey usage. See Yii Documentation for more information.

Einige Beispiele, die Sie in Ihrer LimeSurvey Konfiguration ändern können : Auf eigene Gefahr!</ sup>:

        // CSRF Schutz deaktivieren
        'request' => array(
            'enableCsrfValidation'=>false,    
            ),
        // Erzwinge eine bestimmte Basis-URL
        'request' => array(
            'hostInfo' => 'http://www.example.org/'  
            ),
        // Setze den Cookie Domain Namen für CSRF Schutz
        'request' => array(
            'csrfCookie' => array( 'domain' => '.example.com' )
        ),

If you need updating only the url for token email : you can set your publicurl in your config.php file.

URL settings

To have the same behaviour like the old 'Fancy URL' feature , you can update the urlManager

       // Use short URL
		'urlManager' => array(
			'urlFormat' => 'path',
			'showScriptName' => false,
		),

Adding .html after the survey id

       // Use short URL
		'urlManager' => array(
			'urlFormat' => 'path',
			'rules' => array (
			    '<sid:\d+>' => array('survey/index','urlSuffix'=>'.html','matchValue'=>true),
			 ),
			'showScriptName' => false,
		),

Find more information in the Yii documentation.

Generelle Einstellungen

  • sitename: Give your survey site a name. This name will appear in the survey list overview and in the administration header. This setting is used only as default value and overridden in the Global settings dialog (New in 1.87 ).
  • siteadminemail: This is the default email address of the site administrator and used for system messages and contact options. This setting is used only as default value and overridden by the Global settings dialog (New in 1.87 ).
  • siteadminbounce: This is the email address where bounced emails will be sent to. This setting is used only as default value and overridden by the Global settings dialog (New in 1.87 ).
  • siteadminname: The real name of the site administrator. This setting is used only as default value and overridden in the Global settings dialog) (New in 1.87 ).
  • proxy_host_name: This is the host name of your proxy server (if you are behind a proxy and want to update LimeSurvey using ComfortUpdate) (New in 2.05 ).
  • proxy_host_port: This is the port of your proxy server (if you are behind a proxy and want to update LimeSurvey using ComfortUpdate) (New in 2.05 ).

Sicherheit

  • maxLoginAttempt: If the user enters password incorrectly this is the number of attempts before the users is locked out by IP address.
  • timeOutTime: If the user enters password incorrectly for <maxLoginAttempt> set the lock out time (in seconds).
  • surveyPreview_require_Auth: true by default. If you set this to false any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first. This setting is a default value and can be overridden in the Global settings dialog (New in 1.87 ).
  • usercontrolSameGroupPolicy :  Set to true by default. By default non-admin users defined in the LimeSurvey management interface will only be able to see users they create or users that belongs to at least one same group. This setting is a default value and can be overridden in the Global settings dialog.
  • filterxsshtml: This setting enables filtering of suspicious html tags in survey, group, questions and answer texts in the administration interface. Only leave this to 'false' if you absolutely trust the users you created for the administration of  LimeSurvey and if you want to allow these users to be able to use Javascript, Flash Movies, etc. Super admin never have their HTML filtered. This setting is a default value and can be overridden in the Global settings dialog (New in 1.87 ).
  • demoModeOnly: If this option is set to true, then LimeSurvey will go into demo mode. The demo mode changes the following things:
    • Disables changing of the admin user's details and password
    • Disables uploading files on the template editor
    • Disables sending email invitations and reminders
    • Disables doing a database dump
    • Disables the ability to modify the following global settings: Site name, Default language, Default Htmleditor Mode, XSS filter

Resources

  • sessionlifetime: Defines the time in seconds after which a survey session expires. It applies only if you are using database sessions. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • memorylimit: This sets how much memory LimeSurvey can access. '128M' is the minimum (M=Megabyte) recommended. If you receive time out errors or have problems generating statistics or exporting files raise this limit to '256M' or higher. If your webserver has set a higher limit then this setting will be ignored.
Bitte beachten Sie, dass solche lokalen Einstellungen durch globalen Server-Einstellungen überschrieben werden können.

Zur Erhöhung der Speicherlimits auf 128M könnten Sie auch folgendes versuchen:

  • memory_limit = 128M in der PHP-Konfigration Ihres Servers (php.ini-Datei) setzen (empfohlen, wenn Sie Zugriff haben)
  • memory_limit = 128M in einer php.ini Datei im LimeSurvey Stammverzeichnis
  • php_value memory_limit 128M in einer .htaccess-Datei im LimeSurvey Stammverzeichnis

Appearance

  • lwcdropdowns: (Obsolete since 2.0) This can be set to either "L" or "R". Setting it to "R" will result in 'List with Comment' questions being displayed as radio buttons, whereas "L" will result in 'List with Comment' questions being displayed in a 'dropdown' list box .
  • dropdownthreshold:' (Obsolete since 2.50) When you have selected "R" for $dropdowns, this allows you to set a maximum number of options that will display as radio buttons, before converting back to a dropdown list. If you have a question that has a large number of options, displaying them all as radio buttons can look unweildy, and be counter-intuitive to users. Setting this to a maximum of, say 25 (which is the default) means that large lists are easier for the survey participant to use.
  • repeatheadings: With the Array type question, often you'll have a lot of subquestions, which - when displayed on screen - take up more than one page. This setting lets you decide how many subquestions should be displayed before repeating the header information for the question. A good setting for this is around 15. If you don't want the headings to repeat at all, set this to 0. This setting is overridden in the Global settings dialog) (New in 2.05 ).
  • minrepeatheadings: The minimum number of remaining subquestions that are required before repeating the headings in Array questions.
  • defaulttemplate: This setting specifys the default theme used for the 'public list' of surveys. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • defaulthtmleditormode: Sets the default mode for integrated HTML editor. This setting is overridden in the Global settings dialog) (New in 1.87 ). Valid settings are:
    • inline: Inline replacement of fields by an HTML editor. Slow but convenient and user friendly
    • popup: Adds an icon that runs the HTML editor in a popup if needed. Faster, but HTML code is displayed in the form.
    • none: No HTML editor
  • column_style: Defines how columns are rendered for survey answers when using display_columns. Valid settings are:
    • 'css' using one of the various CSS only methods for creating columns (see template style sheet for details).
    • 'ul' using multiple floated unordered lists. (default)
    • 'table' using conventional tables based layout.
    • NULL disable the use of columns

Language & time

  • defaultlang: This should be set to the default language to be used in your administration scripts, and also the default setting for language in the public survey list. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • timeadjust: If your web server is in a different time zone to the location where your surveys will be based, put the difference between your server and your home time zone here. For example, I live in Australia but use a US web server. The web server is 14 hours behind my local time zone. So my setting here is "14". In other words, it adds 14 hours to the web servers time. This setting is particularly important when surveys timestamp the responses. This setting is overridden in the Global settings dialog) (New in 1.87 ).

Survey behavior

  • deletenonvalues: Use this feature with caution.  By default (a value of 1), irrelevant questions are NULLed in the database.  This ensures that the data in your database is internally consistent.  However, there are rare cases where you might want to hold onto irrelevant values, in which case you can set the value to 0.  Say you ask the person his gender, and he accidentally says 'female' and then answers some female-specific questions (questions that are conditioned on being female, so are only relevant for women).  Then, he realizes his mistake, backs up, sets the gender to 'male', and continues with the survey.  Now, the female-specific questions are irrelevant.  If $deletenonvalues==1, those irrelevant values will be cleared (NULLed) in the database.  If $deletenonvalues==0, his erroneous answers will not be deleted, so they will still be present in the database when you analyze it.
  • shownoanswer: When a question of a radio button/select type that contains editable answers (ie: List, Array questions) is not mandatory and shownoanswer is set to 1, an additional 'No answer' entry is shown - so that participants may choose to not answer the question. Some people prefer this not to be available. This setting is overridden in the Global settings dialog) (New in 1.87 ). Valid values are:
    • 0 = no ,
    • 1 = yes ,
    • 2 = survey admin can choose.
  • printanswershonorsconditions: This setting determines if the printanswers feature will display entries from questions that were hidden by conditions-branching (Default: 1 = hide answers from questions hidden by conditions).
  • hide_groupdescr_allinone: (New in 1.85 ) This setting is relevant for all-in-one surveys using conditions . When this is set to true the group name and description is hidden if all questions in the group are hidden. (Default: true - hide group name and description when all conditions in the group are hidden by conditions)
  • showpopups:  Show popup messages if mandatory or conditional questions have not been answered correctly. 1=Show popup message (default), 0=Show message on page instead, -1=Do not show the message at all (in this case, users will still see the question-specific tips indicating which questions must be answered).

Development and debugging

  • debug: With this setting you set the PHP error reporting to E_ALL. That means every little notice, warning or error with the script is shown. This setting should be only switched to 1 if you are trying to debug the application for any reason, if you are a developer switch it to 2. Don't switch it to 1 or 2 in production since it might cause path disclosure. (Default: 0)
  • debugsql: Activate this setting if you want to display all SQL queries executed for the script on the bottom of each page. Very useful for optimizing the number of queries

If you experience an error in the application, we strongly recommend to acivate the debug setting so you usually get some more detailed error that you can submit with the bug report:

    'config'=>array(
        'debug'=>2,
        'debugsql'=>0,
    )

E-Mail-Einstellungen

Note: All these settings in this section are overridden in the Global settings dialog (New in 1.87 ).

  • emailmethod:  This determines how E-mail messages are being sent. The following options are available:
    • mail: use internal PHP mailer
    • sendmail: use sendmail mailer
    • smtp:use SMTP relaying. Use this setting when you are running LimeSurvey on a host that is not your mail server.
  • emailsmtphost: If you use 'smtp' as $emailmethod then you have to put your SMTP-server here. If you are using Google mail you might have to add the port number like $emailsmtphost = 'smtp.gmail.com:465';
  • emailsmtpuser: If your SMTP-server needs authentication then set this to your user name, otherwise it must be blank.
  • emailsmtppassword: If your SMTP-server needs authentication then set this to your password, otherwise it must be blank.
  • emailsmtpssl: Set this to 'ssl' or 'tls' to use SSL/TLS for SMTP connection
  • maxemails: When sending invitations or reminders to survey participants, this setting is used to determine how many emails can be sent in one bunch. Different web servers have different email capacities, and if your script takes too long to send a bunch of emails, the script could time out and cause errors. Most web servers can send 100 emails at a time within the default 30 second time limit for a PHP script. If you get script timeout errors when sending large numbers of emails, reduce the number in this setting.  Clicking the 'send email invitation' button on the token control toolbar, (not the button on the right of each token), sends the maxemails number of invitations, then displays a list of the addresses sent to and a warning that "There are more emails pending than could be sent in one batch. Continue sending emails by clicking below. There are ### emails still to be sent." and provides a "continue button" to proceed with the next batch. I.e., the user determines when to send the next batch after each batch gets emailed.  It is not necessary to wait with this screen active.  The admin could log off and come back at a later time to send the next batch of invites.

Statistics and Response Browsing

  • usejpgraph: (Obsolete since 1.8) The JPGraph-library lets you display the results of your survey in the statistics part of LimeSurvey  in bar- and pie charts. If you have a correctly configured jpgraph class set up on your server, you can turn this feature on or off (1=on, 0=off). Please have a look, every version of PHP needs another version of JPGraph! This feature is currently in development, so expect a few weird outcomes.
  • jpgraphdir: (Obsolete since 1.8) The physical disk location of the jpgraph class scripts. This setting is only required if $usejpgraph is equal to 1.
  • jpgraphfont: (Obsolete since 1.8) The font to use with graphs. A failsafe setting would be "FF_FONT1"
  • embedded: (Obsolete since 2.0) If you want to integrate LimeSurvey into another page then you can turn off sending HTML headers by using this setting and point instead to the header method of a custom function. This is a dirty hack but should work for a quick integration.
  • filterout_incomplete_answers: Control the default behaviour of  filtering incomplete answers when browsing or analyzing responses. For a discussion on incomplete Responses see Browsing survey results. Since these records can corrupt the statistics, an option is given to switch this filter on or off in several GUI forms. This parameter config.php is just the default state for the incomplete answer filter. The following options are available:
    • show: Show both complete and incomplete answers
    • filter: Show only complete answers
    • incomplete: Show only incomplete answers
  • strip_query_from_referer_url: This setting determine if the referrer URL saves parameter or not. Default value is "false" (in this case referrer URL saves all parameter). Alternatively this value can be set to "true" and the parameter part of the referrer URL will be removed.
  • showaggregateddata: (New in 1.8 ) When activated there are additional values like arithmetic mean and standard deviation at statistics. Furthermore data is aggregated to get a faster overview e.g. results of scale 1+2 and 4+5 are added to have a general ranking like "good" (1/2), "average" (3) and "bad" (4/5). This only affects question types "A" (5 point array) and "5" (5 point choice).
  • PDF Export Settings: (New in 1.85 ) This feature activates PDF export for printable survey and Print Answers. The PDF export is totally experimental. The output is mostly ugly. At this point no support can be given - if you want to help to fix it please get in touch with us.
    • usepdfexport: Set 0 to disable; 1 to enable
    • pdfdefaultfont: Default font for the pdf Export
    • alternatepdffontfile: an array with key for language and specific font for this language can be replaced or just updated .
    • pdffontsize: Fontsize for normal text; Surveytitle is +4; grouptitle is +2
    • notsupportlanguages = array('zh-Hant-TW','zh-Hant-HK','zh-Hans','ja','th');
    • pdforientation: Set L for Landscape or P for portrait format
  • '"Graph setting"'
    • chartfontfile : Font file to be used : must be in the server font directory or in ./fot directory
    • alternatechartfontfile : an array with key for language and specific font for this language can be replaced or just updated .
  • showsgqacode: (New in 1.91 ) This setting is used at the printable survey feature and defaults to false. If you set showsgqacode = true; the IDs for each question - and answer if applicable - will be shown; these IDs match the column heading at the Lime_survey_12345 table which holds the answer data for a certain survey. These Ids can be used for a code book for manual database queries.

LDAP Einstellungen (Englisch)

Dieses ausführliche Kapitel wurde verschoben, aber noch nicht übersetzt: LDAP Einstellungen.

Authentifikation

Starting with LimeSurvey 2.05 authentication will be handled by plugins. Because of this the information below might be outdated. See Plugins for most up to date information.

Delegieren der Anmeldung am Webserver

System-Admins wollen vielleicht ihre eigene Umfragenadministrations-Anmeldung mit einem zentralen Anmeldedienst (z.B. Active Directory, openLdap, Radius, ...), anstatt die interne DB nutzen. Ein einfacher Weg dazu ist dieses System. LimeSurvey wird der vom Webserver zurückgegebenen Authentifizierung vertrauen! Zur Aktivierung muss folgendes erledigt werden:

  • $useWebserverAuth in der config.php auf 'true' setzen
  • Die Anmeldung auf der Serverseite aktivieren

Bitte beachte:

  • LimeSurvey wird dann seinen eigenen Login-Prozess umgehen (durch Nutzung eines Loginnamens ohne Abfrage eines Passwortes)
  • Das kann nur das LimeSurvey-Administrations-Loginsystem ersetzen, nicht das Umfragen-Einladungssystem (Benutzerschnittstelle)

Delegieren der Anmeldung ohne Import der Benutzer

Bitte beachte, dass standardmäßig eine Delegierung der Anmeldung nicht das Authentifizierungssystem von LimeSurvey außer Kraft setzt===: Dies bedeutet, dass LimeSurvey dann zwar keine Passwörter verwaltet, trotzdem aber in der DB die User mit den entsprechenden Berechtigungen eingetragen werden müssen, um Zugriff auf die Umfragenresourcen zu erhalten.

Ein User hat nur Zugriff, wenn:

  • Er vom Webserver authentifiziert wurde
  • Sein Loginname in der LimeSurvey DB steht (der User hat die Berechtigungen, wie in der DB angegeben).

Delegieren der Anmeldung mit Import der Benutzer

Wenn eine große DB verwaltet wird, ist es manchmal einfacher neue User, welche z.B. schon in einer Benutzer-Tabelle von dir stehen, automatisch in die LimeSurvey DB zu importieren.

  • $WebserverAuth_autocreateUser: Wenn 'true' wird LimeSurvey versuchen, User, welche vom Server authentifiziert wurden und noch nicht in der LimeSurvey DB sind, automatisch zu importieren
  • $WebserverAuth_autouserprofile: Ein Array, welches das Standard-Profil eines Users beschreibt, der so importiert wird (beinhaltet Nick-, Vor- und Nachname, E-Mail-Adresse und Berechtigungen)

Wenn das standardmäßige Profil an die User angepasst werden soll, muss eine einfache Funktion geschrieben werden: hook_get_autouserprofile: Hole mit dieser Funktion die benötigten Benutzerdaten (beinhaltet Vor- und Nachname sowie die E-Mail-Adresse) aus einer Datenbank, oder z.B. aus einem LDAP Verzeichnis. Es kann auch seine Berechtigungen basierend auf z.B. externen Gruppen geändert werden.

Die hook_get_autouserprofile Funktion nimmt nur den Loginnamen als Argument und kann folgendes zurückgeben:

  • 'False' oder ein leeres Array: In diesem Fall wird dem User der Zugriff auf LimeSurvey verweigert
  • Ein Array mit allen Benutzerdaten, wie in $WebserverAuth_autouserprofile beschreiben
function hook_get_auth_webserver_profile($user_name)
{
     // Retrieve user's data from your database backend (for instance LDAP) here
     ... get $user_name_from_backend
     ... get $user_email_from_backend
     ... get $user_lang_from_backend
     ... from groups defined in your backend set $user_admin_status_frombackend_0_or_1
     return Array(
                     'full_name' => "$user_name_from_backend",
                     'email' => "$user_email_from_backend",
                     'lang' => '$user_lang_from_backend',
                     'htmleditormode' => 'inline',
                     'templatelist' => 'default,basic,MyOrgTemplate',
                     'create_survey' => 1,
                     'create_user' => 0,
                     'delete_user' => 0,
                     'superadmin' => $user_admin_status_frombackend_0_or_1,
                     'configurator' =>0,
                     'manage_template' => 0,
                     'manage_label' => 0);
}

     // If user should be denied access, return an empty array

     // return Array();

Umschreibung des Benutzernamens

In einigen Fällen haben User einen anderen externen Namen als den LimeSurvey Usernamen, vielleicht ist deshalb das folgende Feature des Umschreibens der Namen sinnvoll. Dies wird in LimeSurvey durch den $userArrayMap Parameter erledigt. Z.B. gibt es keinen 'admin' Usernamen in einer externen DB. Um trotzdem als 'admin' eingeloggt zu werden muss der externe Benutzername, nennen wir ihn 'myname', umgeschrieben werden. Das sieht dann so aus:

$config['auth_webserver_user_map'] = Array ('myname' => 'admin');

Nach einer erfolgreichen Anmeldung mit dem 'myname' Loginnamen und des Passwortes wird man direkt als LimeSurvey 'Admin' Benutzer akzeptiert.

Diese Option ist sicherheitsrelevant, deshalb nur sorgsam benutzen und die config.php vor Schreibzugriff vom Webserver schützen!

Einmalpasswörter

(New in 1.81 ) A user can open the LimeSurvey login at /limesurvey/admin and pass username and a one time password which was previously written into the users table (column one_time_pw) by an external application.

Diese Einstellung muss aktiviert werden (use_one_time_passwords => true) um die Verwendung von Einmal-Passwörtern zu ermöglichen (Standard = false). Mehr Informationen finden Sie auf der Seite Benutzer verwalten.

Erweiterte Ordner Einstellungen

  • homeurl: This should be set to the URL location of your administration scripts. These are the scripts in the /limesurvey/admin folder. This should be set to the WEB URL location - for example "http://www.example.com/limesurvey/html/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the name of your server automatically using a php variable setting - {$_SERVER['SERVER_NAME']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
  • publicurl: This should be set to the URL location of your 'public scripts'. The public scripts are those located in the "limesurvey" folder (or whatever name you gave to the directory that all the other scripts and directories are kept in). This settings is available in config.php and is used when sending token email.
  • tempurl: This should be set to the URL location of your "/limesurvey/tmp" directory - or a directory which you would like LimeSurvey to use to store temporary files, including uploads. This directory must be set to read & write for your webserver (e.g. chmod 755).
  • imagefiles: By default you should leave this pointing to the URL location of /limesurvey/admin/images - where the images are installed initially. You may, however, prefer to move these images to another location and if so point this to the URL directory where they are stored.
  • homedir: This should be set to the physical disk location of your administration scripts - for example "/home/usr/htdocs/limesurvey/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the default root path of all your documents using the php variable setting - {$_SERVER['DOCUMENT_ROOT']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
  • publicdir: This should be set to the physical disk location of your 'public scripts'.
  • tempdir: This should be set to the physical disk location of your /limesurvey/tmp directory so that the script can read and write files.
  • sCKEditorURL: url of the fckeditor script
  • fckeditexpandtoolbar: defines if the FCKeditor toolbar should be opened by default
  • pdfexportdir: Directory with the tcpdf.php extensiontcpdf.php
  • pdffonts: Directory for the TCPDF fonts