From: Bishop B. <ph...@id...> - 2008-09-25 13:49:15
|
Charles, Did you activate this survey, then go into test, then activate again? What version of PHPESP are you running? Team, The survey status is 9, which I think can only mean the survey has been activated (0x00 | 0x01 = 0x01), put into test (0x08 | 0x01 = 0x09), and then activated again (error). But admin/include/where/status.inc:45 prevents an active survey from going into test. Thoughts? bishop ----- Forwarded message from cha...@us... ----- Date: Thu, 25 Sep 2008 08:41:12 +0000 From: Charles Charles <cha...@us...> Reply-To: Charles Charles <cha...@us...> Subject: phpesp error To: bi...@us... Cc: cha...@us... Message body follows: I recently install phpesp on my server. Everything looks to be working well. EXCEPT when I tried to change the status from "test" to "active" at "change status of survey", I get the following error message: Can not set survey status. [ Status: 9 ] Could you assist on how I can resolve this? -- This message has been sent to you, a registered SourceForge.net user, by another site user, through the SourceForge.net site. This message has been delivered to your SourceForge.net mail alias. You may reply to this message using the "Reply" feature of your email client, or using the messaging facility of SourceForge.net at: https://sourceforge.net/sendmessage.php?touser=2227450 ----- End forwarded message ----- -- Bishop Bettini ideacode, Inc. (main) +1 919 341 5170 / (fax) +1 919 521 4100 Visit us on the web at: ideacode.com Professional software research and development reviewmysoftware.com Improve sales! Review your software before you release bytejar.com Solutions to those annoying development problems |
From: Bishop B. <ph...@id...> - 2008-09-25 14:07:29
|
Charles, This is the result of a bug in older versions of the software. You need to do two things: 1. Update to the latest version of PHPESP, possibly from SVN HEAD 2. Manually update the surveys to the correct status, eg: UPDATE survey SET status=1 WHERE id=whatever See bug 2035113 in the SourceForge tracker https://sourceforge.net/tracker/index.php?func=detail&aid=2035113&group_id=8956&atid=108956 bishop Quoting Bishop Bettini <ph...@id...>: > Charles, > > Did you activate this survey, then go into test, then activate again? > What version of PHPESP are you running? > > > Team, > The survey status is 9, which I think can only mean the survey has > been activated (0x00 | 0x01 = 0x01), put into test (0x08 | 0x01 = > 0x09), and then activated again (error). > > But admin/include/where/status.inc:45 prevents an active survey from > going into test. > > Thoughts? > > bishop > > ----- Forwarded message from cha...@us... ----- > Date: Thu, 25 Sep 2008 08:41:12 +0000 > From: Charles Charles <cha...@us...> > Reply-To: Charles Charles <cha...@us...> > Subject: phpesp error > To: bi...@us... > Cc: cha...@us... > > > Message body follows: > > I recently install phpesp on my server. Everything looks to > be working well. > > EXCEPT when I tried to change the status from "test" > to "active" at "change status of survey", I get the > following error message: > > Can not set survey status. [ Status: 9 ] > > Could you assist on how I can resolve this? > > -- > This message has been sent to you, a registered SourceForge.net user, > by another site user, through the SourceForge.net site. This message > has been delivered to your SourceForge.net mail alias. You may reply > to this message using the "Reply" feature of your email client, or > using the messaging facility of SourceForge.net at: > https://sourceforge.net/sendmessage.php?touser=2227450 > > > ----- End forwarded message ----- > > > -- > Bishop Bettini > ideacode, Inc. > (main) +1 919 341 5170 / (fax) +1 919 521 4100 > > Visit us on the web at: > ideacode.com Professional software research and development > reviewmysoftware.com Improve sales! Review your software before you release > bytejar.com Solutions to those annoying development problems > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel > -- Bishop Bettini ideacode, Inc. (main) +1 919 341 5170 / (fax) +1 919 521 4100 Visit us on the web at: ideacode.com Professional software research and development reviewmysoftware.com Improve sales! Review your software before you release bytejar.com Solutions to those annoying development problems |
From: Bishop B. <ph...@id...> - 2008-09-26 11:58:42
|
Charles, Thanks for your response. Per my earlier email, this has been fixed in the latest released version: https://sourceforge.net/tracker/index.php?func=detail&aid=2035113&group_id=8956&atid=108956 Please download version 2.1.2 and use that: https://sourceforge.net/project/showfiles.php?group_id=8956 You can also get the latest code from SVN, if 2.1.2 fails to work for you: http://phpesp.svn.sourceforge.net/viewvc/phpesp/trunk/ (Click download GNU tarball) Regards, bishop Quoting Charles Toh <cha...@gm...>: > Dear Bishop > > I did not activate the survey, go into test and then acitivate again.PHPesp > version is 2.1.1, which I dowloaded only a few days ago. > > For more information about the error, you can test at > http://www.ua-solutions.com/survey. username and password remains as "root" > and "esp" respectively. > > Thanks for your advice. > > With regards > Charles > > On Thu, Sep 25, 2008 at 9:49 PM, Bishop Bettini <ph...@id...> wrote: > >> Charles, >> >> Did you activate this survey, then go into test, then activate again? What >> version of PHPESP are you running? >> >> >> Team, >> The survey status is 9, which I think can only mean the survey has been >> activated (0x00 | 0x01 = 0x01), put into test (0x08 | 0x01 = 0x09), and then >> activated again (error). >> >> But admin/include/where/status.inc:45 prevents an active survey from going >> into test. >> >> Thoughts? >> >> bishop >> >> ----- Forwarded message from cha...@us... ----- >> Date: Thu, 25 Sep 2008 08:41:12 +0000 >> From: Charles Charles <cha...@us...> >> Reply-To: Charles Charles <cha...@us...> >> Subject: phpesp error >> To: bi...@us... >> Cc: cha...@us... >> >> >> >> Message body follows: >> >> I recently install phpesp on my server. Everything looks to >> be working well. >> >> EXCEPT when I tried to change the status from "test" >> to "active" at "change status of survey", I get the >> following error message: >> >> Can not set survey status. [ Status: 9 ] >> >> Could you assist on how I can resolve this? >> >> -- >> This message has been sent to you, a registered SourceForge.net user, >> by another site user, through the SourceForge.net site. This message >> has been delivered to your SourceForge.net mail alias. You may reply >> to this message using the "Reply" feature of your email client, or >> using the messaging facility of SourceForge.net at: >> https://sourceforge.net/sendmessage.php?touser=2227450 >> >> >> ----- End forwarded message ----- >> >> >> -- >> Bishop Bettini >> ideacode, Inc. >> (main) +1 919 341 5170 / (fax) +1 919 521 4100 >> >> Visit us on the web at: >> ideacode.com Professional software research and development >> reviewmysoftware.com Improve sales! Review your software before you >> release >> bytejar.com Solutions to those annoying development problems >> >> > -- Bishop Bettini ideacode, Inc. (main) +1 919 341 5170 / (fax) +1 919 521 4100 Visit us on the web at: ideacode.com Professional software research and development reviewmysoftware.com Improve sales! Review your software before you release bytejar.com Solutions to those annoying development problems |
From: Bishop B. <ph...@id...> - 2008-10-23 13:38:21
|
Quoting Charles Toh <cha...@gm...>: > We intended to include the survey on our web site, but kept getting the > following error message (after copying hander.php): > > "In order to conduct surveys, please include phpESP.first.php in your php > script!!!" > > Does this mean that the survey can only be conducted in the same server as > the phpESP program, and cannot be on another server? I would need to know more about the various servers in play and their functionality, but in general (a) you may conduct the survey on a different server than that running phpESP, but (b) you don't simply pass variables to http://example.com/phpESP/public/handler.php You generally need to wrap phpESP.first.php and handler.php into a single script, such as the one found in phpESP/public/survey.php, in order to (a) set-up connection to the database, etc. and (b) actually show the survey. > If not, could you > explain how we can conduct a PRIVATE survey and what changes is required our > web pages? Again, I would need to know more. However, I would generally say that you should: 1. Create a survey wrapper on the phpESP server that includes phpESP.first.php, handler-prefix.php, and handler.php. Very much like survey.php, just stripped down to the bear minimum. 2. Call that survey wrapper from the phpESP client (your "web pages") via a remote file include (if using PHP), an <object> or <iframe> HTML container, or by writing your own <form> that posts to that survey wrapper. Regards, bishop > On Fri, Sep 26, 2008 at 7:58 PM, Bishop Bettini <ph...@id...> wrote: > >> Charles, >> >> Thanks for your response. Per my earlier email, this has been fixed in the >> latest released version: >> >> https://sourceforge.net/tracker/index.php?func=detail&aid=2035113&group_id=8956&atid=108956 >> >> Please download version 2.1.2 and use that: >> https://sourceforge.net/project/showfiles.php?group_id=8956 >> >> You can also get the latest code from SVN, if 2.1.2 fails to work for you: >> http://phpesp.svn.sourceforge.net/viewvc/phpesp/trunk/ >> (Click download GNU tarball) >> >> Regards, >> bishop >> >> >> Quoting Charles Toh <cha...@gm...>: >> >> Dear Bishop >>> >>> I did not activate the survey, go into test and then acitivate >>> again.PHPesp >>> version is 2.1.1, which I dowloaded only a few days ago. >>> >>> For more information about the error, you can test at >>> http://www.ua-solutions.com/survey. username and password remains as >>> "root" >>> and "esp" respectively. >>> >>> Thanks for your advice. >>> >>> With regards >>> Charles >>> >>> On Thu, Sep 25, 2008 at 9:49 PM, Bishop Bettini <ph...@id...> wrote: >>> >>> Charles, >>>> >>>> Did you activate this survey, then go into test, then activate again? >>>> What >>>> version of PHPESP are you running? >>>> >>>> >>>> Team, >>>> The survey status is 9, which I think can only mean the survey has been >>>> activated (0x00 | 0x01 = 0x01), put into test (0x08 | 0x01 = 0x09), and >>>> then >>>> activated again (error). >>>> >>>> But admin/include/where/status.inc:45 prevents an active survey from >>>> going >>>> into test. >>>> >>>> Thoughts? >>>> >>>> bishop >>>> >>>> ----- Forwarded message from cha...@us... ----- >>>> Date: Thu, 25 Sep 2008 08:41:12 +0000 >>>> From: Charles Charles <cha...@us...> >>>> Reply-To: Charles Charles <cha...@us...> >>>> Subject: phpesp error >>>> To: bi...@us... >>>> Cc: cha...@us... >>>> >>>> >>>> >>>> Message body follows: >>>> >>>> I recently install phpesp on my server. Everything looks to >>>> be working well. >>>> >>>> EXCEPT when I tried to change the status from "test" >>>> to "active" at "change status of survey", I get the >>>> following error message: >>>> >>>> Can not set survey status. [ Status: 9 ] >>>> >>>> Could you assist on how I can resolve this? >>>> >>>> -- >>>> This message has been sent to you, a registered SourceForge.net user, >>>> by another site user, through the SourceForge.net site. This message >>>> has been delivered to your SourceForge.net mail alias. You may reply >>>> to this message using the "Reply" feature of your email client, or >>>> using the messaging facility of SourceForge.net at: >>>> https://sourceforge.net/sendmessage.php?touser=2227450 >>>> >>>> >>>> ----- End forwarded message ----- >>>> >>>> >>>> -- >>>> Bishop Bettini >>>> ideacode, Inc. >>>> (main) +1 919 341 5170 / (fax) +1 919 521 4100 >>>> >>>> Visit us on the web at: >>>> ideacode.com Professional software research and development >>>> reviewmysoftware.com Improve sales! Review your software before you >>>> release >>>> bytejar.com Solutions to those annoying development problems >>>> >>>> >>>> >>> >> >> >> -- >> Bishop Bettini >> ideacode, Inc. >> (main) +1 919 341 5170 / (fax) +1 919 521 4100 >> >> Visit us on the web at: >> ideacode.com Professional software research and development >> reviewmysoftware.com Improve sales! Review your software before you >> release >> bytejar.com Solutions to those annoying development problems >> >> > -- Bishop Bettini ideacode, Inc. (main) +1 919 341 5170 / (fax) +1 919 521 4100 Visit us on the web at: ideacode.com Professional software research and development reviewmysoftware.com Improve sales! Review your software before you release bytejar.com Solutions to those annoying development problems |