From: Neil O. <nei...@co...> - 2008-04-26 12:16:41
|
Hi, I have the latest release installed. I successfully created and tested a survey. After I made it active I'm getting the following error when attempting to access the survey: [ Error processing survey: Survey is not active. ] I receive the same error whether accessing the survey directly or embedded in an existing page. Any help is appreciated. Neil |
From: Franky V. L. <lie...@te...> - 2008-04-26 12:51:59
|
On Sat, 26 Apr 2008 08:16:31 -0400 Neil Odell <nei...@co...> wrote: > Hi, > > I have the latest release installed. > > I successfully created and tested a survey. After I made it active I'm > getting the following error when attempting to access the survey: > > [ Error processing survey: Survey is not active. ] > > I receive the same error whether accessing the survey directly or > embedded in an existing page. > > Any help is appreciated. > > Neil that would be a real bug there ... What is the id of the survey, and what happens if you go to public/survey.php?sid=<SID> If it really is active and you still get this error, then I'm asking that you grant me some admin rights to your phpesp to poke around a bit, since I never heard of this kind of bug yet. Franky |
From: Franky V. L. <lie...@te...> - 2008-04-26 15:40:38
|
On Sat, 26 Apr 2008 08:16:31 -0400 Neil Odell <nei...@co...> wrote: > Hi, > > I have the latest release installed. > > I successfully created and tested a survey. After I made it active I'm > getting the following error when attempting to access the survey: > > [ Error processing survey: Survey is not active. ] > > I receive the same error whether accessing the survey directly or > embedded in an existing page. > > Any help is appreciated. > > Neil > Hi Neil, you've found a bug: when you go from status "test" to status "active", the real status is being entered wrongly in the database. I've fixed this for you now. For everybody using phpESP: change admin/include/where/status.inc , line 69, from $status = $old_status | STATUS_ACTIVE; to $status = STATUS_ACTIVE; that should do the trick. Franky |
From: Matthew G. <mat...@gm...> - 2008-04-26 17:23:44
|
Any idea when/what introduced this bug? On Sat, 2008-04-26 at 16:43 +0200, Franky Van Liedekerke wrote: > On Sat, 26 Apr 2008 08:16:31 -0400 > Neil Odell <nei...@co...> wrote: > > > Hi, > > > > I have the latest release installed. > > > > I successfully created and tested a survey. After I made it active I'm > > getting the following error when attempting to access the survey: > > > > [ Error processing survey: Survey is not active. ] > > > > I receive the same error whether accessing the survey directly or > > embedded in an existing page. > > > > Any help is appreciated. > > > > Neil > > > > Hi Neil, > > you've found a bug: when you go from status "test" to status "active", > the real status is being entered wrongly in the database. I've fixed > this for you now. > For everybody using phpESP: > > change admin/include/where/status.inc , line 69, from > $status = $old_status | STATUS_ACTIVE; > to > $status = STATUS_ACTIVE; > > that should do the trick. > > Franky > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general -- Matthew Gregg <mat...@gm...> |
From: Franky V. L. <lie...@te...> - 2008-04-26 19:06:50
|
Nope. can't say when this changed ...According to me, this bug has long been in there, since the line $status = $old_status | STATUS_ACTIVE; hasn't changed much over time ... Most of us never encountered this, since you probably change from test back to edit (to remove all test results) and only then to edit ... Franky On Sat, 26 Apr 2008 13:23:25 -0400 Matthew Gregg <mat...@gm...> wrote: > Any idea when/what introduced this bug? > > On Sat, 2008-04-26 at 16:43 +0200, Franky Van Liedekerke wrote: > > On Sat, 26 Apr 2008 08:16:31 -0400 > > Neil Odell <nei...@co...> wrote: > > > > > Hi, > > > > > > I have the latest release installed. > > > > > > I successfully created and tested a survey. After I made it > > > active I'm getting the following error when attempting to access > > > the survey: > > > > > > [ Error processing survey: Survey is not active. ] > > > > > > I receive the same error whether accessing the survey directly or > > > embedded in an existing page. > > > > > > Any help is appreciated. > > > > > > Neil > > > > > > > Hi Neil, > > > > you've found a bug: when you go from status "test" to status > > "active", the real status is being entered wrongly in the database. > > I've fixed this for you now. > > For everybody using phpESP: > > > > change admin/include/where/status.inc , line 69, from > > $status = $old_status | STATUS_ACTIVE; > > to > > $status = STATUS_ACTIVE; > > > > that should do the trick. > > > > Franky |
From: Matthew G. <mat...@gm...> - 2008-04-26 20:01:48
|
Just checked, this bug is in 1.8.1 so it has been around a long time. Seem like some needless bit twiddling on the status.inc page. Could be more simple done. On Sat, 2008-04-26 at 21:00 +0200, Franky Van Liedekerke wrote: > Nope. can't say when this changed ...According to me, this bug has > long been in there, since the line > $status = $old_status | STATUS_ACTIVE; > hasn't changed much over time ... > > Most of us never encountered this, since you probably change from test > back to edit (to remove all test results) and only then to edit ... > > Franky > > > On Sat, 26 Apr 2008 13:23:25 -0400 > Matthew Gregg <mat...@gm...> wrote: > > > Any idea when/what introduced this bug? > > > > On Sat, 2008-04-26 at 16:43 +0200, Franky Van Liedekerke wrote: > > > On Sat, 26 Apr 2008 08:16:31 -0400 > > > Neil Odell <nei...@co...> wrote: > > > > > > > Hi, > > > > > > > > I have the latest release installed. > > > > > > > > I successfully created and tested a survey. After I made it > > > > active I'm getting the following error when attempting to access > > > > the survey: > > > > > > > > [ Error processing survey: Survey is not active. ] > > > > > > > > I receive the same error whether accessing the survey directly or > > > > embedded in an existing page. > > > > > > > > Any help is appreciated. > > > > > > > > Neil > > > > > > > > > > Hi Neil, > > > > > > you've found a bug: when you go from status "test" to status > > > "active", the real status is being entered wrongly in the database. > > > I've fixed this for you now. > > > For everybody using phpESP: > > > > > > change admin/include/where/status.inc , line 69, from > > > $status = $old_status | STATUS_ACTIVE; > > > to > > > $status = STATUS_ACTIVE; > > > > > > that should do the trick. > > > > > > Franky -- Matthew Gregg <mat...@gm...> |
From: Franky V. L. <lie...@te...> - 2008-04-26 20:38:46
|
On Sat, 26 Apr 2008 16:01:39 -0400 Matthew Gregg <mat...@gm...> wrote: > Just checked, this bug is in 1.8.1 so it has been around a long time. > Seem like some needless bit twiddling on the status.inc page. Could > be more simple done. > > > On Sat, 2008-04-26 at 21:00 +0200, Franky Van Liedekerke wrote: > > Nope. can't say when this changed ...According to me, this bug has > > long been in there, since the line > > $status = $old_status | STATUS_ACTIVE; > > hasn't changed much over time ... > > > > Most of us never encountered this, since you probably change from > > test back to edit (to remove all test results) and only then to > > edit ... > > > > Franky please check my changes to status.inc, I believe it should be better now. Franky |