Configurer Limesurvey

Fermé
jodness - 15 avril 2008 à 09:24
 tintin6547 - 6 oct. 2008 à 19:27
Bonjour,
Je souahiterais installer limesurvey chez free.
Après avoir consulté tant de forums, je constate que mon problème est récurrent. Le tutoriel du site officiel étant peu explicite pour les novices en php comme moi, j'aimerais vraiment que quelqu'un m'explique plus clairement ce que je ne fais pas bien dans la config ci-dessous car j'obtiens, comme beaucoup, un message du type: "error, veuillez contacter votre adminitrateur..." (en anglais)
J'indiquerai "mon.site" comme identifiant Free, et "mdp" comme mot de passe Free
D'après les infos collectées, j'ai créé un dossier "sessions" à la racine ainsi qu'un .htaccess contenant "php 1"

Première question: racine=DANS ou HORS le dossier "limesurvey"?

Voici donc ma config.... merci à ceux qui se pencheront sur ce cas. bonne journée.
// === Basic Setup

$databasetype = "mysql"; // ADOdb database driver - either mysql or odbc_mssql
$databaselocation = "sql.free.fr"; // Network location of your Database - for odbc_mssql use the mssql servername, not localhost or IP
$databaseport = "default"; // The port of your Database - if you use a standard port leave on default
$databasename = "mon_site"; // The name of the database that we will create
$databaseuser = "mon.site"; // The name of a user with rights to create db (or if db already exists, then rights within that db)
$databasepass = "mdp"; // Password of db user
$dbprefix = ""; // A global prefix that can be added to all LimeSurvey tables. Use this if you are sharing
// a database with other applications. Suggested prefix is "lime_"
$databasetabletype = "myISAM"; // Storage engine mysql should use when creating survey results tables and token tables (if mysql is used). If available, InnoDB is recommended. Default is myISAM.

// FILE LOCATIONS
$rooturl = "http://mon.site.free.fr/limesurvey"; //The root web url for your limesurvey installation.
//$rooturl = "http://localhost:81/file:/D:/web/xampp/htdocs/stable_plus";
$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this setting.
// If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir="C:\Inetpub\wwwroot\limesurvey"!
// Some IIS installations also require to use forward slashes instead of backslashes, e.g. $rootDir="C:/Inetpub/wwwroot/limesurvey"!
// If you use OS/2 this must be the complete rootdir with FORWARD slashes e.g.: $rootDir="c:/limesurvey";!

$rootsymlinked = 0; // if your root document dir is symlinked LimeSurvey might have problems to find out the dir
// If you notice that labels are not being translated like "_ADMINISTRATION_" instead of "Administration"
// then try setting this to 1 .

// === Advanced Setup

//The following url and dir locations do not need to be modified unless you have a non-standard
//LimeSurvey installation. Do not change unless you know what you are doing.
$homeurl = "$rooturl/admin"; // The website location (url) of the admin scripts
$publicurl = "$rooturl"; // The public website location (url) of the public survey script
$tempurl = "$rooturl/tmp";
$imagefiles = "$rooturl/images"; //Location of button bar files for admin script
$homedir = "$rootdir/admin"; // The physical disk location of the admin scripts
$publicdir = "$rootdir"; // The physical disk location of the public scripts
$tempdir = "$rootdir/tmp"; // The physical location where LimeSurvey can store temporary files
// Note: For OS/2 the $tempdir may need to be defined as an actual directory
// example: "x:/limesurvey/tmp". We don't know why.
A voir également:

2 réponses

compris!

En fait, comme beaucoup de config php, je cherchais à me rendre sur la page "index" d'emblée, ce qui ne fonctionne pas dans ce cas précis car il faut tout créer via l'admin: installer les scripts, créer des enquêtes... la gestion se fait ensuite toute seule.

Comment affiche-t-on le problème résolu?
2
Bonjour Jodness,
j'ai exactement le meme probleme, si je clique sur le dossier /limesurvey j'ai une reponse du type:

Could not connect to database. If you try to install LimeSurvey please refer to the installation docs and/or contact the system administrator of this webpage.
Warning: Unknown: open(/mnt/102/sda/0/b/etudemarchebio/sessions/sess_4c9266d9120549835764a6637aef743f, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/102/sda/0/b/etudemarchebio/sessions) in Unknown on line 0


ce qui me fait pensé que mon fichier config.php est mal configuré:


// Basic Setup

$databasetype = 'mysql'; // ADOdb database driver - valid values are mysql, odbc_mssql or postgres
$databaselocation = 'sql.free.fr'; // Network location of your Database - for odbc_mssql use the mssql servername, not localhost or IP
$databasename = 'etudemarchebio'; // The name of the database that we will create
$databaseuser = 'etudemarchebio';// The name of a user with rights to create db (or if db already exists, then rights within that db)
$databasepass = 'XXXXXXXX'; // Password of db user
$dbprefix = 'lime_'; // A global prefix that can be added to all LimeSurvey tables. Use this if you are sharing
// a database with other applications. Suggested prefix is 'lime_'

// File Locations
$rooturl = "http://etudemarchebio.free.fr/limesurvey/"; //The root web url for your limesurvey installation (without a trailing slash). The double quotes (") are important.

$rootdir = dirname(__FILE__); // This is the physical disk location for your limesurvey installation. Normally you don't have to touch this setting.
// If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir='C:\Inetpub\wwwroot\limesurvey'!
// Some IIS installations also require to use forward slashes instead of backslashes, e.g. $rootDir='C:/Inetpub/wwwroot/limesurvey'!
// If you use OS/2 this must be the complete rootdir with FORWARD slashes e.g.: $rootDir='c:/limesurvey';!



Mais comme la premier fois que je travaille avec une base de donnée et en plus en php, j'ai vraiment besoin de votre aide.

Merci d'avance

Philippe
0
Bonsoir,
Je n'en suis pas encore au même stade que vous, mais j'ai déjà des questions : comment démarrer l'install de Limesurvey sur free.fr ?
Je suis novice et ne sais pas par quel bout prendre le pb.
Par contre j'ai réussi à installer en local sur c:\ avec WAMP
Merci pour votre aide.
1