From: Kon A. <ang...@ip...> - 2002-03-28 10:47:20
|
Hi James, Just after you made the changes to fix the global variable conflict on $tmp (phpESP.ini v1.24) I downloaded the latest devel CVS and tested. I get the following error when trying to log into the management interface: Parse error, expecting `'('' in /../../../../admin/phpESP.ini on line 38 Fatal error: Call to underfined function: esp_where() in /../../../../admin/manage.php on line 83. I just commented out line 38 ( unset $tmp_lang; ) so that I can keep testing and found another bug: When trying to download a file I keep getting the following error: [ Invalid survey ID. ] I put in an echo statement in download.inc to see what is returned from: $sid = intval($_REQUEST['sid']); and it always returns 0. Kon |
From: Matthew G. <gr...@mu...> - 2002-03-28 14:32:29
|
Fix for this on line 38 in phpESP.ini: - unset $tmp_lang; + unset($tmp_lang); With that fix in place I don't have the "Invalid survey ID" problem. --On Thursday, March 28, 2002 09:44:50 PM +1100 Kon Angelopoulos <ang...@ip...> wrote: > Hi James, > > Just after you made the changes to fix the global variable conflict on > $tmp (phpESP.ini v1.24) I downloaded the latest devel CVS and tested. > > I get the following error when trying to log into the management > interface: Parse error, expecting `'('' in /../../../../admin/phpESP.ini > on line 38 Fatal error: Call to underfined function: esp_where() in > /../../../../admin/manage.php on line 83. > > I just commented out line 38 ( unset $tmp_lang; ) so that I can keep > testing and found another bug: > > When trying to download a file I keep getting the following error: > [ Invalid survey ID. ] > > I put in an echo statement in download.inc to see what is returned from: > $sid = intval($_REQUEST['sid']); and it always returns 0. > > > Kon > > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel > ---- one of the friendly folks in the IT Lab. --------------------------------------\ The IT Lab (http://www.itlab.musc.edu) \____________________ Probably the world's premier software development center. Serving: Programming, Tools, Ice Cream, Seminars |
From: James E. F. <jf...@ac...> - 2002-03-28 14:53:07
|
On Thu, 28 Mar 2002, Matthew Gregg wrote: > Fix for this on line 38 in phpESP.ini: > - unset $tmp_lang; > + unset($tmp_lang); > > With that fix in place I don't have the "Invalid survey ID" problem. Fixed in CVS. -James |
From: Kon A. <ang...@ip...> - 2002-03-30 06:31:09
|
OK, I've made the correction (updated my CVS copy) but still get an "Invalid survey ID" error whenever I try to download any survey results. Any ideas ???? Kon On Fri, 29 Mar 2002 01:53, James E. Flemer wrote: > On Thu, 28 Mar 2002, Matthew Gregg wrote: > > Fix for this on line 38 in phpESP.ini: > > - unset $tmp_lang; > > + unset($tmp_lang); > > > > With that fix in place I don't have the "Invalid survey ID" problem. > > Fixed in CVS. > -James > > > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel |
From: James E. F. <jf...@ac...> - 2002-03-30 15:26:13
|
What version of PHP do you have? I used $_REQUEST[] in the updates for download/export. That is available only in PHP4.1.0 or later. If you have an older version I would suggest upgrading (security holes), though if you cannot. then replace $_REQUEST[] with $GLOBALS['HTTP_GET_VARS'][]. -James On Sat, 30 Mar 2002, Kon Angelopoulos wrote: > OK, > > I've made the correction (updated my CVS copy) but still get an "Invalid > survey ID" error whenever I try to download any survey results. > > Any ideas ???? > Kon |
From: Kon A. <ang...@ip...> - 2002-03-30 21:43:50
|
James, I'm using the latest version - ckecked out from devel cvs yesterday. Kon On Sun, 31 Mar 2002 02:26, James E. Flemer wrote: > What version of PHP do you have? I used $_REQUEST[] in the > updates for download/export. That is available only in > PHP4.1.0 or later. If you have an older version I would > suggest upgrading (security holes), though if you cannot. > then replace $_REQUEST[] with $GLOBALS['HTTP_GET_VARS'][]. > > -James > > On Sat, 30 Mar 2002, Kon Angelopoulos wrote: > > OK, > > > > I've made the correction (updated my CVS copy) but still get an "Invalid > > survey ID" error whenever I try to download any survey results. > > > > Any ideas ???? > > Kon |
From: Kon A. <ang...@ip...> - 2002-03-31 00:58:59
|
Sorry James, I misunderstood your question. I'm in desperate need of a php update. My current version is 4.0.4pl1 which made me realise that the php super global $_REQUEST is not available prior to php4.1.0. I just found the latest source files for php on my box but I've forgotten to update. Kon On Sun, 31 Mar 2002 08:41, Kon Angelopoulos wrote: > James, > > I'm using the latest version - ckecked out from devel cvs yesterday. > > Kon > > On Sun, 31 Mar 2002 02:26, James E. Flemer wrote: > > What version of PHP do you have? I used $_REQUEST[] in the > > updates for download/export. That is available only in > > PHP4.1.0 or later. If you have an older version I would > > suggest upgrading (security holes), though if you cannot. > > then replace $_REQUEST[] with $GLOBALS['HTTP_GET_VARS'][]. > > > > -James > > > > On Sat, 30 Mar 2002, Kon Angelopoulos wrote: > > > OK, > > > > > > I've made the correction (updated my CVS copy) but still get an > > > "Invalid survey ID" error whenever I try to download any survey > > > results. > > > > > > Any ideas ???? > > > Kon |