Discussion:
windows multipage survey
Luca Notari
2007-12-05 09:56:43 UTC
Permalink
Hi All,

I can't understand why, when in a single page survey, everything goes
well with mod_survey and microsoft windows. But, when in a multipage
survey (I've never used a single page survey for my surveys, normally
all surveys are multipage) , all seems ok except when page that contains
<sequence>; this is the error:


Document error

A part (intro.survey) produced an error (File does not exist :
intro.survey)


[DOCUMENT ERROR 42, A part produced an error] For some reason one of the
pages included in the multipage sequence produced a Document error.
Correct that error and try again.

obiouvsly , 'intro.survey' exists and no matter with path.

I think that there is some problems in finding absolute path under
windows, for representing the root system / the character : is needed
(c:\). When in a single page, no sequence instructions are requested,
and so, everything goes well.

May I discover what the sequence tag do in finding survey files? It's a
pity that can't test survey on a local windows machine, before publish..
:)

Many thanks

Luca
Joel Palmius
2007-12-05 12:03:51 UTC
Permalink
Funny that you mention it just now... :-) I fixed this problem in
subversion only a few days ago. Could I convince you to check out latest
svn and see if it works for you?

Otherwise I'll release a -pre2 tarball in a few days with this fix
included.

FYI, the changes so far that will be included in -pre2 are:

Pre-release 3.2.5-pre2
----------------------
* Removed all (I hope) references to the old home page address and
replaced them with http://www.modsurvey.org
* Implemented IP-based uniqueness checking in answers
* Multipage surveys now work under IndigoPerl in windows
* Added an up-to-date DTD for the 3.2.5 survey syntax (under webroot)
* Started to write valid XML headers in all example files so they
reference the new DTD via a correct URL.

// Joel
Post by Luca Notari
Hi All,
I can't understand why, when in a single page survey, everything goes
well with mod_survey and microsoft windows. But, when in a multipage
survey (I've never used a single page survey for my surveys, normally
all surveys are multipage) , all seems ok except when page that contains
Document error
intro.survey)
[DOCUMENT ERROR 42, A part produced an error] For some reason one of the
pages included in the multipage sequence produced a Document error.
Correct that error and try again.
obiouvsly , 'intro.survey' exists and no matter with path.
I think that there is some problems in finding absolute path under
windows, for representing the root system / the character : is needed
(c:\). When in a single page, no sequence instructions are requested,
and so, everything goes well.
May I discover what the sequence tag do in finding survey files? It's a
pity that can't test survey on a local windows machine, before publish..
:)
Many thanks
Luca
Skickat av Joel Palmius <***@miun.se>
till survey-discussion
Luca Notari
2007-12-05 11:47:38 UTC
Permalink
Hi Joel,

If you're referring to pre-release 3.2.5 pre1, this is the version that
i'm using.

Also, but only for comprehensiveness, 2 little problems I've
experienced; for example :

A)
Survey.conf (windows.conf), line 93:

Perlrequire "c:\mod_survey\startup.pl" doesn't work
Perlrequire "c:\\mod_survey\\startup.pl" works (changed by me)
Perlrequire "c:/mod_survey/startup.pl" works (changed by me)

B) when started for the first time, c:\mod_survey\data\session doesn't
exist, I manually create it. I don't know if there is a permission
problem.


Luca Notari

-----Messaggio originale-----
Da: owner-survey-***@majordomo.miun.se
[mailto:owner-survey-***@majordomo.miun.se] Per conto di Joel
Palmius
Inviato: mercoledì 5 dicembre 2007 13.04
A: survey-***@majordomo.miun.se
Oggetto: Re: survey-discussion-list: windows multipage survey


Funny that you mention it just now... :-) I fixed this problem in
subversion only a few days ago. Could I convince you to check out latest

svn and see if it works for you?

Otherwise I'll release a -pre2 tarball in a few days with this fix
included.

FYI, the changes so far that will be included in -pre2 are:

Pre-release 3.2.5-pre2
----------------------
* Removed all (I hope) references to the old home page address and
replaced them with http://www.modsurvey.org
* Implemented IP-based uniqueness checking in answers
* Multipage surveys now work under IndigoPerl in windows
* Added an up-to-date DTD for the 3.2.5 survey syntax (under webroot)
* Started to write valid XML headers in all example files so they
reference the new DTD via a correct URL.

// Joel
Post by Luca Notari
Hi All,
I can't understand why, when in a single page survey, everything goes
well with mod_survey and microsoft windows. But, when in a multipage
survey (I've never used a single page survey for my surveys, normally
all surveys are multipage) , all seems ok except when page that
Document error
intro.survey)
[DOCUMENT ERROR 42, A part produced an error] For some reason one of
the pages included in the multipage sequence produced a Document
error. Correct that error and try again.
obiouvsly , 'intro.survey' exists and no matter with path.
I think that there is some problems in finding absolute path under
windows, for representing the root system / the character : is needed
(c:\). When in a single page, no sequence instructions are requested,
and so, everything goes well.
May I discover what the sequence tag do in finding survey files? It's
a pity that can't test survey on a local windows machine, before
publish..
:)
Many thanks
Luca
Skickat av Joel Palmius <***@miun.se>
till survey-discussion


Skickat av "Luca Notari" <***@mkt-lab.com>
till survey-discussion
Joel Palmius
2007-12-05 15:44:27 UTC
Permalink
No, I'm referring to changes I've made after -pre1 and which are in
subversion and not released yet.

I'll take a look at the startup line too. Which package of perl and apache
are you using in windows? (I'm only testing with IndigoPerl so far)

// Joel
Post by Luca Notari
Hi Joel,
If you're referring to pre-release 3.2.5 pre1, this is the version that
i'm using.
Also, but only for comprehensiveness, 2 little problems I've
A)
Perlrequire "c:\mod_survey\startup.pl" doesn't work
Perlrequire "c:\\mod_survey\\startup.pl" works (changed by me)
Perlrequire "c:/mod_survey/startup.pl" works (changed by me)
B) when started for the first time, c:\mod_survey\data\session doesn't
exist, I manually create it. I don't know if there is a permission
problem.
Luca Notari
-----Messaggio originale-----
Palmius
Inviato: mercoledì 5 dicembre 2007 13.04
Oggetto: Re: survey-discussion-list: windows multipage survey
Funny that you mention it just now... :-) I fixed this problem in
subversion only a few days ago. Could I convince you to check out latest
svn and see if it works for you?
Otherwise I'll release a -pre2 tarball in a few days with this fix
included.
Pre-release 3.2.5-pre2
----------------------
* Removed all (I hope) references to the old home page address and
replaced them with http://www.modsurvey.org
* Implemented IP-based uniqueness checking in answers
* Multipage surveys now work under IndigoPerl in windows
* Added an up-to-date DTD for the 3.2.5 survey syntax (under webroot)
* Started to write valid XML headers in all example files so they
reference the new DTD via a correct URL.
// Joel
Post by Luca Notari
Hi All,
I can't understand why, when in a single page survey, everything goes
well with mod_survey and microsoft windows. But, when in a multipage
survey (I've never used a single page survey for my surveys, normally
all surveys are multipage) , all seems ok except when page that
Document error
intro.survey)
[DOCUMENT ERROR 42, A part produced an error] For some reason one of
the pages included in the multipage sequence produced a Document
error. Correct that error and try again.
obiouvsly , 'intro.survey' exists and no matter with path.
I think that there is some problems in finding absolute path under
windows, for representing the root system / the character : is
needed
Post by Luca Notari
(c:\). When in a single page, no sequence instructions are requested,
and so, everything goes well.
May I discover what the sequence tag do in finding survey files? It's
a pity that can't test survey on a local windows machine, before
publish..
:)
Many thanks
Luca
till survey-discussion
till survey-discussion
Loading...