Actions

Allgemeine FAQ - Häufig gestellte Fragen

From LimeSurvey Manual

Revision as of 17:15, 17 March 2018 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

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 Kapitel Umfragen erstellen: Eine neue Umfrage erstellen ein guter Ausgangspunkt sein.

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 Tutorial vermittelt Ihnen den Einstieg in die Erstellung einer Umfrage mit LimeSurvey. In diesem Video erzeugen wir eine erste Umfrage, stellen sie einem Benutzer zur Verfügung und schauen uns anschließend die abgegebenen Antworten an.

Weitere Videos finden Sie auf YouTube, leider nur in Englisch:

LimeSurvey:

Ältere Videos zur Vorgänger-Version PHPSurveyor:

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

'showScriptName' => true,

in

'showScriptName' => false,

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

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

server {
    set $host_path "/PATH/TO/LIMESURVEY";
    server_name  YOUR.SERVER.FQDN;
    root /PATH/TO/LIMESURVEY;
    charset utf-8;
    try_files $uri /index.php?$args;
    location ~ ^/(protected|framework|themes/\w+/views) {
        deny  all;
    }
    #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;
    }
}

Wie werde ich das rote Sternchen * bei Pflichtfragen los?

In 'LimeSurvey 2.x ,' the red asterisk of mandatory questions is set within the template.css file ("asterisk" class). To hide it:

  • Open the template editor
  • Create a copy of the template you wish to modify
  • Select the "template.css" file and search for the asterix class
  • Add the following line at the end of the asterix class".asterisk {display: none;}".
  • Save template.css
  • Clear your browser cache so that the edited template.css is reloaded and not taken from cache.

Ältere Versionen:

  • Ö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 = ''.$clang->gT('*').''.$qtitle;
    • Geändert: // $qtitle = ''.$clang->gT('*').''.$qtitle;

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.

Wie entferne ich eine der folgenden Textstellen aus meiner Umfrage?

"Es gibt X Fragen"

"Ein Hinweis zur Vertraulichkeit …"

Frage Code

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

Umfrage-Konfiguration

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

To make a survey public to everyone you should:

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.

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

If you are using tokens and a participant fills out the survey, a confirmation email is sent to his/her email address. If you don't want this message to be sent just delete the whole confirmation email subject and message. You have to switch to source code mode to be able to delete all the text. Save the empty message and no confirmation emails should be sent anymore.

Hilfe, ich habe versehentlich...

I forgot my admin password. How do I reset it?

Version 2.x.x and newer

  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

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

See ResetPasswordController

Directly change the password at 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. Go to the "Browse responses for this survey" menu.
  3. Click at the "Import answers from a deactivated survey table" button.
  4. Choose your source table.
  5. Click at the "Import responses" button.

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?).

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. 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.

...in Bezug auf Umfragegröße

Note: 'Survey size' refers to the maximum 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 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
  • MS SQL Server 2000: Maximum number of 1024 columns
  • 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 PostgreSQL FAQ.

Take care here: 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 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

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 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).

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

  • 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 in the LimeSurvey root
  • ini_set('memory_limit', '128M'); in your config.php

Specific configuration

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

2 limesurvey instance on same domain

With 2 limesurvey instance on same domain, but different directory, 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' )
        ),