Re: Errors with data module?

Joel Palmius <[email protected]> Sat, 25 Feb 2006 12:35:38 +0100 (CET)
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Can you back up existing data, submit a new record and try again? (I'm 
just curious if it will change the null array thing)

The format for the data changed earlier, but not between 3.2.0 and 3.2.3. 
In 3.2.0-pre5:

* Changed default handling of AutoData to use new safe delimiter.
   BEWARE this makes old data files incompatible with this version.

Also, I think the location for the AutoData files changed between ebuilds. 
Read survey.conf and make sure you really have your data files where the 
survey.conf says they are.

If you find bugs which are specific for the ebuild(s), it'd be helpful if 
you reported them on bugs.gentoo.org. (Otherwise I'll do it eventually).

   // Joel



On Fri, 24 Feb 2006, George Clark wrote:

>
> Hi,
>
> I've reinstalled the latest mod_survey on my test server using the Gentoo
> ebuild.  www-apache/mod_survey-3.2.3-r2  I was previously running
> www-apache/mod_survey-3.2.0
>
> It looks like any old survey data is not readable with the new version.  When I
> try to access any stored data, I get the following error:
>
> [Sat Feb 25 04:11:18 2006] [error] Data export produced error: Can't use an
> undefined value as an ARRAY reference at
> /usr/lib/mod_survey//Survey/Export/HtmlTables.pm line 172.
>
> Any suggestions?
>
> And a note for any Gentoo users, it looks like mod_survey will not install with
> the unmasked webapp-config.  It just stops without any errors.  I had to add
> the following to my package.keywords file and re-emerge webapp-config before
> mod_survey would install.
>
> =app-admin/webapp-config-1.50.10 ~x86
>
> Also, I am using virtual hosting. I could not get any style sheets to load
> until I changed the default settings for the root alias to a fully qualified
> url:  Somehow this doesn't seem right, but that is what I had to do to get them
> working.
>
> # Which root alias to use for doc links and similar
> PerlSetEnv   _SURVEY_ROOT_ALIAS     "http://survey.mydomain.com/"
>
> Thanks,
> George
> Skickat av "George Clark" <[email protected]>
> till survey-discussion
>
Skickat av Joel Palmius <[email protected]>
till survey-discussion