Re: Trying a windows installation
Joel Palmius <[email protected]> Wed, 20 Sep 2006 19:40:24 +0200 (CEST)
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
Ouch.. I didn't think anyone actually tried to run mod_survey on windows. Support for it is crappy at best. I've left it to rot for a few years, mainly because mod_perl on windows sometimes have worked quite differently from on unix. For example, for several versions it refused to accept the notion of environment variables. If, against presumption, you manage to get mod_survey up and running on windows it won't be long before you run into the next bug. And another. And yet another one. For your specific problem, it looks like the slashes are turned the wrong direction. You'd need backslashes in windows. You can try editing your survey.conf and set PerlSetEnv _SURVEY_SENSIBLE 0 Which will enable a few workarounds from the time when mod_survey did indeed run on windows. If that does not work, you'll have to edit the perl code, primarily System.pm, Submit.pm and Document.pm, and try to fix hardcoded slashes so that they become backslashes. // Joel On Tue, 19 Sep 2006, Luca Notari wrote: > I've tried installing mod_survey 3.2.4 onto my windows box for testing > surveys; the perl installer recognized the S.O. and installation was > successful. Everything regarding mod_perl, apache etc works fine. > > However, I can't solve this problem due to the variable > _SURVEY_ALLOWAUTO set to on: > > > Document error > > Could not create autodata file > (C:/mod_survey/data/\C:_mod_survey_webroot_examples_example.survey\AutoD > ata.dat) > (C:/mod_survey/data/\C:_mod_survey_webroot_examples_example.survey\) > > > [DOCUMENT ERROR 29, COULD NOT CREATE AUTODATA FILE] As neither ASCIIFILE > nor DBITABLE was set, and the global configuration option > _SURVEY_ALLOWAUTO was enabled, the system tried to create an autodata > file. This failed for some unknown reason. > > > > maybe this is due to the ":" character representing the root drive? How > can I escape it(if possible)? > > many thanks > Luca > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.5/450 - Release Date: > 18/09/2006 > > Skickat av Joel Palmius <[email protected]> till survey-discussion