From: boardtc <bo...@gm...> - 2005-07-08 15:12:54
|
The last wizard page says : To insert this survey into your web page, copy the text below, and paste it into the HTML of your page. <?php $sid=3D1; include("c:\program files\easyphp\www\phpesp//public/handler.php");?> Once activated you can also access the survey directly from the following U= RL. http://ntserver/phpESP/public/survey.php?name=3Dtest So i created test.php : <html> <head> <title>PHP Test</title> </head> <body> <?php $sid=3D1; include("c:\program files\easyphp\www\phpesp//public/handler.php");?> <a href=3D"http://ntserver/phpESP/public/survey.php?name=3Dtest">survey</a> </body> </html> going to this page gives : [ Error processing survey: Survey is not active. ] survey I then tried=20 <?php $sid=3D1; include("//Ntserver/EasyPHP/www/phpESP/public/handler.php")= ;?> instead of the above <?php and this gives : Warning: main(//Ntserver/EasyPHP/www/phpESP/public/handler.php): failed to open stream: Permission denied in c:\program files\easyphp\www\phpesp\test.php on line 2 Warning: main(): Failed opening '//Ntserver/EasyPHP/www/phpESP/public/handler.php' for inclusion (include_path=3D'.;C:\Program Files\EasyPHP\php\pear\') in c:\program files\easyphp\www\phpesp\test.php on line 2 I could not find anything in the faq. sorry for the newbie question. Thanks a lot, . Cheers, Tom. |
From: Matthew G. <gr...@mu...> - 2005-07-08 15:19:35
|
Unless you really need to embed the survey in another page, just use the auto-publish url listed. On Fri, 2005-07-08 at 16:12 +0100, boardtc wrote: > The last wizard page says : > > To insert this survey into your web page, copy the text below, and > paste it into the HTML of your page. > <?php $sid=1; include("c:\program > files\easyphp\www\phpesp//public/handler.php");?> > Once activated you can also access the survey directly from the following URL. > http://ntserver/phpESP/public/survey.php?name=test > > > So i created test.php : > > <html> > <head> > <title>PHP Test</title> > </head> > <body> > <?php $sid=1; include("c:\program > files\easyphp\www\phpesp//public/handler.php");?> > <a href="http://ntserver/phpESP/public/survey.php?name=test">survey</a> > </body> > </html> > > going to this page gives : > [ Error processing survey: Survey is not active. ] survey > > I then tried > > <?php $sid=1; include("//Ntserver/EasyPHP/www/phpESP/public/handler.php");?> > > instead of the above <?php and this gives : > > Warning: main(//Ntserver/EasyPHP/www/phpESP/public/handler.php): > failed to open stream: Permission denied in c:\program > files\easyphp\www\phpesp\test.php on line 2 > > Warning: main(): Failed opening > '//Ntserver/EasyPHP/www/phpESP/public/handler.php' for inclusion > (include_path='.;C:\Program Files\EasyPHP\php\pear\') in c:\program > files\easyphp\www\phpesp\test.php on line 2 > > I could not find anything in the faq. sorry for the newbie question. > > Thanks a lot, > -- mcg ------------------------------------- The IT Lab (http://www.itlab.musc.edu) |
From: boardtc <bo...@gm...> - 2005-07-08 16:15:27
|
On 7/8/05, Matthew Gregg <gr...@mu...> wrote: > Unless you really need to embed the survey in another page, just use the > auto-publish url listed. Thanks for the quick response. I can only assume you mean http://ntserver/phpESP/public/survey.php?name=3Dtest when I go to that url I get=20 [ Error processing survey: Survey is not active. ] How can I make it active without doing the above? Thanks, Tom. |
From: Matthew G. <gr...@mu...> - 2005-07-08 16:20:03
|
Change status pages in the admin interfaces. On Fri, 2005-07-08 at 17:06 +0100, boardtc wrote: > On 7/8/05, Matthew Gregg <gr...@mu...> wrote: > > Unless you really need to embed the survey in another page, just use the > > auto-publish url listed. > > Thanks for the quick response. I can only assume you mean > http://ntserver/phpESP/public/survey.php?name=test > when I go to that url I get > [ Error processing survey: Survey is not active. ] > How can I make it active without doing the above? > > Thanks, Tom. > > -- mcg ------------------------------------- The IT Lab (http://www.itlab.musc.edu) |
From: boardtc <bo...@gm...> - 2005-07-08 16:41:31
|
Thanks once more for the quick help. On 7/8/05, Matthew Gregg <gr...@mu...> wrote: > Change status pages in the admin interfaces. > > [ Error processing survey: Survey is not active. ] > > How can I make it active without doing the above? Ok. I am missing something here. In the edit survey oprioin I cannot see any admin option and on the Management Interface page you can Change the Status of a Survey but I cannot find that option/. Is it in a configuiration file? I'll keep digging, Thanks, Tom. |
From: boardtc <bo...@gm...> - 2005-08-13 10:14:57
|
On 7/8/05, boardtc <bo...@gm...> wrote: > On 7/8/05, Matthew Gregg <gr...@mu...> wrote: > > Change status pages in the admin interfaces. > > > [ Error processing survey: Survey is not active. ] > > > How can I make it active without doing the above? >=20 > Ok. I am missing something here. In the edit survey oprioin I cannot > see any admin option and on the Management Interface page you can > Change the Status of a Survey but I cannot find that option/. Is it in > a configuiration file? I'll keep digging, Figure out thanks. When I created te survey I mad the owener auto rather than super (did not know what the owner was for). How it appears in the make active & test lists but not for the edit existing surveys. How can I make it appear in the edit durvey list? Thanks a lot, Tom. |