IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

[PHPSurveyor] Installation sur Free.fr


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Candidat au Club
    Profil pro
    Inscrit en
    Janvier 2007
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2007
    Messages : 2
    Points : 2
    Points
    2
    Par défaut [PHPSurveyor] Installation sur Free.fr
    Bonjour à tous,

    Dans le cadre d'un mini mémoire, je dois réaliser une étude quantitative sur l'utilisation des préservatifs (cela ne s'invente pas...)

    Donc j'ai opté pour faire un sondage sur un site internet pour pallier d'eventuelles gênes chez l'interviewé.

    J'ai essayé d'installer Phpsurveyor sur mon site internet mais visiblement cela ne marche pas...

    Voici ce que la navigateur affiche quand je teste le fichier admin.php dans le dossier admin :
    Warning: session_start() [function.session-start]: open(/mnt/145/sda/2/2/etudepreservatif/sessions/sess_b48e1aa3d31dd6e9ad05a8b3b4a2297d, O_RDWR) failed: No such file or directory (2) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php on line 41

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php on line 41

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php on line 41

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/common.php on line 984

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/common.php on line 985

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/common.php on line 986

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/common.php on line 987

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/common.php on line 988

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/admin/sessioncontrol.php:41) in /mnt/145/sda/2/2/etudepreservatif/phpsurveyor-1_00/common.php on line 989
    Preservatif
    Administration
    Surveys:

    Help
    Donate to PHPSurveyor Help - Using PHPSurveyors Admin Script PHPSurveyor
    Version 1.0

    Warning: Unknown(): open(/mnt/145/sda/2/2/etudepreservatif/sessions/sess_b48e1aa3d31dd6e9ad05a8b3b4a2297d, 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/145/sda/2/2/etudepreservatif/sessions) in Unknown on line 0

    Ma config.php

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    // === Basic Setup
    $databaselocation = "sql.free.fr"; // Network location of your MySQL Database
    $databaseport = "3306"; // The port of your MySQL Database (3306 is default)
    $databasename = "sondage"; // The name of the database that we will create
    $databaseuser = "xx"; // The name of a user with rights to create db (or if db already exists, then rights within that db)
    $databasepass = "xx"; // Password of db user
    $databasetabletype = "MyISAM"; // Default table type (only used if creating db automatically through script -eg "MyISAM" or "InnoDB"
    $dbprefix = ""; // A global prefix that can be added to all PHPSurveyor tables. Use this if you are sharing
    // a database with other applications. Suggested prefix is "phpsv_"
     
    $useidprefix = 0; // Set this to 1 if you want to use a prefix on survey responses (useful for replicated/pooled databases)
    $idprefix = 0; // Leave this as 0 to use your server's IP address. Alternatively, use a number here - characters WILL NOT WORK.
     
    // FILE LOCATIONS
    $rooturl = "http://etudepreservatif.free.fr/phpsurveyor"; //The root web url for your phpsurveyor installation.
     
    $rootdir = dirname(__FILE__); // This is the physical disk location for your phpsurveyor 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:Inetpubwwwrootphpsurveyor"!
    // Some IIS installations also require to use forward slashes instead of backslashes, e.g. $rootDir="C:/Inetpub/wwwroot/phpsurveyor"!
    // If you use OS/2 this must be the complete rootdir with FORWARD slashes e.g.: $rootDir="c:/phpsurveyor";!
     
    $rootsymlinked = 0; // if your root document dir is symlinked PHPSurveyor 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
    //PHPSurveyor 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/admin/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 PHPSurveyor can store temporary files
    // Note: For OS/2 the $tempdir may need to be defined as an actual directory
    // example: "x:/phpsurveyor/tmp". We don't know why.
     
    // Site Info
    $sitename = "Preservatif"; // The official name of the site (appears in the Window title)
    $scriptname = "admin.php"; // The name of the admin script (can be changed to the experimental admin interface index.php)
    $accesscontrol = 1; // make 0 for no access control
    $defaultuser = "admin"; // This is the default username when security is first turned on
    $defaultpass = "password"; // This is the default password for when security is first turned on
     
     
    // Site Settings
    $lwcdropdowns = "R"; // SHOW LISTS WITH COMMENT in Public Survey as Radio Buttons (R) or Dropdown List (L)
    $dropdownthreshold = "25"; // The number of answers to a list type question before it switches from Radio Buttons to List
    // Only applicable, of course, if you have chosen "R" for $dropdowns and/or $lwcdropdowns
    $repeatheadings = "25"; // The number of answers to show before repeating the headings in array (flexible) questions. Set to 0 to turn this feature off
    $minrepeatheadings = 3; // The minimum number of remaing answers that are required before repeating the headings in array (flexible) questions.
    $defaultlang = "english"; // The default language to use
    $OS = PHP_OS;
     
    $apachedir = ""; // If left empty, the script will attempt to find htpasswd itself
    // otherwise, set this to the location of the "htpasswd" executable
    // usually found in the apache "bin" directory
    $mysqldir = ""; // If left empty the script will attempte to find mysql binary directory itself
    // otherwise, set this to the location of the mysql binary files
     
    $timeadjust = 0; // Number of hours to adjust between your webserver local time and your own local time (for datestamping responses)
    $allowexportalldb = 1; // 0 will only export prefixed tables when doing a database dump. If set to 1 ALL tables in the database will be exported
    $allowmandbackwards = 1; // Allow moving backwards (ie: << prev) through survey if a mandatory question
    // has not been answered. 1=Allow, 0=Deny
    $deletenonvalues = 1; // By default, PHPSurveyor does not save responses to conditional questions that haven't been answered/shown. To have PHPSurveyor save these responses change this value to 0.
    $shownoanswer = 1; // Show "no answer" for non mandatory questions
     
     
    // Email Settings
    // These settings determine how PHPSurveyor will send emails
     
    $siteadminemail = "ap11_janvrind@yahoo.fr"; // The default email address of the site administrator
    $siteadminname = "Dauphine"; // The name of the site administrator
     
    $emailmethod = 2; // The following values can be used:
    // 1 = SMTP_LOCAL - Localhost
    // 2 = SMTP_CLIENT - MX host name(s)
    // 3 = SMTP_LOCAL_CLIENT - 1'st SMTP_LOCAL, 2'nd if fail try SMTP_CLIENT
    // 4 = SMTP_CLIENT_LOCAL - 1'st SMTP_CLIENT, 2'nd if fail try SMTP_LOCAL
    // 5 = SMTP_RELAY - Relay MX host name(s) or ip address with optional authorisation
    // 6 = SMTP_RELAY_CLIENT, - 1'st SMTP_RELAY, 2'nd if fail try SMTP_CLIENT
    // 7 = SMTP_CLIENT_RELAY - 1'st SMTP_CLIENT, 2'nd if fail try SMTP_RELAY
     
    $emailsmtphost = "mail.mailhost.net"; // If you use $emailmethod 5-7 you have to set the SMTP relayhost here
    $emailsmtpuser = ""; // SMTP authorisation username - only set this if your server requires authorization - if you set it you HAVE to set a password too
    $emailsmtppassword = ""; // SMTP authorisation password - empty password is not allowed
     
    $maxemails = 100; // The maximum number of emails to send in one go (this is to prevent your mail server or script from timeouting when sending mass mail)
    $mutemailerrors = 0; // If you want to mute annoying error messages from the emailscript set this to 1.
    // This could be the case if your provider set a static sender_adress.
     
    // JPGRAPH Settings
    // To use jpgraph you must install and set up jpgraph, available from <a href="http://www.aditus.nu/jpgraph/" target="_blank">http://www.aditus.nu/jpgraph/</a>
    // PHPSurveyor has been tested using version 1.13. Documentation for this is available at the
    // jpgraph website. PHPSurveyor cannot assist in the setting up of this system.
    // To use JPGraph adjust the next two lines, and adjust the location as suites.
    $usejpgraph = 0; //Set to 1 to enable
    $jpgraphdir = "/var/apache/htdocs/jpgraph"; //The location of the jpgraph class (where jpgraph.php is)
    // If you use IIS then you MUST enter the complete rootdir e.g. : $rootDir="C:Inetpubwwwrootjpgraph"
    $jpgraphfont = "FF_ARIAL"; //The font to use with graphs. A failsafe setting would be "FF_FONT1"
     
     
    // CMS Integration Settings
    // Set $embedded to true and specify the header and footer functions if the survey is to be displayed embedded in a CMS
    $embedded = false;
    $embedded_inc = ""; // path to the header to include if any
    $embedded_headerfunc = ""; // e.g. COM_siteHeader for geeklog
    $embedded_footerfunc = ""; // e.g. COM_siteFooter for geeklog
     
     
    //DO NOT CHANGE BELOW HERE --------------------
     
    require_once(dirname(__FILE__).'/common.php');
    ?>
    J'ai déja posé la question sur un autre forum, on m'a dit que j'avais un problème avec la création non réalise d'un fichier php.ini, mais je vous avoue que vu mes connaissances rudimentaires en matiere de php, eh bien je suis qqe peu paumé

    Y'a-t-il une âme charitable pour m'aider ?
    C'est pour une bonne action

    Damien

  2. #2
    Membre averti
    Homme Profil pro
    Coordinateur développement web
    Inscrit en
    Août 2004
    Messages
    475
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France

    Informations professionnelles :
    Activité : Coordinateur développement web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Août 2004
    Messages : 475
    Points : 412
    Points
    412
    Par défaut
    salut,

    as tu créé un dossier sessions a la racine de ton serveur free ? free en as besoin pour l'utilsation des sessions dans les applis php

    Mic

  3. #3
    Candidat au Club
    Profil pro
    Inscrit en
    Janvier 2007
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2007
    Messages : 2
    Points : 2
    Points
    2
    Par défaut
    ah effectivement ça marche beaucoup mieux maintenant

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 2
    Dernier message: 18/02/2013, 11h45
  2. [Joomla!] Problème installation sur free.fr cookies, jpath
    Par rbl2008 dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 4
    Dernier message: 19/02/2010, 14h00
  3. [PostNuke] Installation sur Free
    Par boubidibou dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 3
    Dernier message: 11/04/2007, 15h11
  4. [PHPSurveyor] Installation de phpsurveyor chez free
    Par Javatator dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 2
    Dernier message: 07/02/2006, 01h30
  5. probleme d'installation sur d'autres postes
    Par VBkiller dans le forum Composants VCL
    Réponses: 4
    Dernier message: 18/09/2002, 19h14

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo