From: Rob de S. <rde...@af...> - 2008-06-18 21:29:55
|
You may be technically correct that these are not "errors" but to the user if the a) program fails to work as could be reasonably expected and b) you get unexplained messages on the screen then those are "errors" so far as the user is concerned. You and I might appreciate the semantic distinction but the user won't. It might be more useful to point them to places they can get a better understanding of how to work with php (and that assumes the user is not on a shared hosting arrangement where they have no control over php.ini). -- -Rob -----Original Message----- From: Franky Van Liedekerke [mailto:lie...@te...] Sent: Wednesday, June 18, 2008 4:55 PM To: Renate Morgenstern Cc: php...@li... Subject: Re: [phpesp-general] Error when cross tabulating On Wed, 18 Jun 2008 19:56:13 +0100 Renate Morgenstern <rmo...@iw...> wrote: > Hi again, > I tried to cross tabulate the results of a survey. After selecting a > blue tab on one question, I selected a red one on another question. > But then I get the following error message: > *Notice*: Undefined index: phpesp_response_single_table in > */var/www/html/phpESP/admin/include/where/crosstab.inc* on line *203* > > *"Which of the following best describes your main role or function? > Select your response from the following drop-down list."vs "Are you > involved in the planning or creation of digital library collections?"* > > *Notice*: Undefined offset: 0 in > */var/www/html/phpESP/admin/include/where/crosstab.inc* on line *276* > > *Notice*: Undefined offset: 2 in > */var/www/html/phpESP/admin/include/where/crosstab.inc* on line *280* > > Is there something wrong with my survey? > > Please help. > Renate > > First of all: what is the version you're using? Second of all: php notices are *not* errors, you see them on the screen because your php.ini file is configured to do so, this has nothing to do with phpESP. I agree, they shouldn't be there in the first place, but first configure your php correctly for this (log them to apache logfiles or so). Franky |