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...> |