From: Christopher K. <ck...@im...> - 2007-06-19 15:28:13
|
Hello. I am running 1.8.2 and have been running phpESP for years and years. I recently (as in the last week) started seeing this error -- it shows up when the system is trying to store results, but I also get similar messages when I try to export or view results. Any thoughts? I am running under php 5.2.2 and mysql 5.x. Thanks, --chris Message when submitting results: >Notice: Only variable references should be returned by reference in >/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php >on line 860 > >Notice: Trying to get property of non-object in >/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >on line 421 > >Notice: Trying to get property of non-object in >/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc >on line 49 > >Warning: array_shift() [function.array-shift]: The argument should >be an array in >/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >on line 424 > >Warning: Cannot use a scalar value as an array in >/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >on line 430 > >Fatal error: Call to a member function MoveNext() on a non-object in >/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >on line 433 System says 111 responses stored for this survey, this is what is returned when I try to download results. ><br /> ><b>Notice</b>: Only variable references should be returned by >reference in ><b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php</b> >on line <b>860</b><br /> ><br /> ><b>Notice</b>: Trying to get property of non-object in ><b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >on line <b>421</b><br /> ><br /> ><b>Notice</b>: Trying to get property of non-object in ><b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc</b> >on line <b>49</b><br /> ><br /> ><b>Warning</b>: array_shift() [<a >href='function.array-shift'>function.array-shift</a>]: The argument >should be an array in ><b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >on line <b>424</b><br /> ><br /> ><b>Warning</b>: Cannot use a scalar value as an array in ><b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >on line <b>430</b><br /> ><br /> ><b>Fatal error</b>: Call to a member function MoveNext() on a >non-object in ><b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >on line <b>433</b><br /> /////\\\\\/////\\\\\ Christopher G. Kolar Coordinator of Research and Evaluation Illinois Mathematics and Science Academy ck...@im... -- <http://staff.imsa.edu/~ckolar>staff.imsa.edu/~ckolar -- PGP Public Key ID: 0x43879C9B |
From: Franky V. L. <lie...@te...> - 2007-06-20 10:39:31
|
Hi, the adodb lib included in phpsurvey is for php4 only. What you can do to solve the problem is this: - install the adodb libs for your platform using your favorite package manager - change in phpESP.ini.php the variable $ESPCONFIG['adodb_path'] to point to your adodb installation instead of the included libs. Btw, I have continued to develop phpESP, so maybe you can take a look at the current version (has lots of fixes and extra functionality): http://www.e-dynamics.be/index.php?section=programs&lang=en With friendly regards, Franky Van Liedekerke On 6/19/07, Christopher Kolar <ck...@im...> wrote: > > Hello. I am running 1.8.2 and have been running phpESP for years and > years. I recently (as in the last week) started seeing this error -- it > shows up when the system is trying to store results, but I also get similar > messages when I try to export or view results. Any thoughts? I am running > under php 5.2.2 and mysql 5.x. Thanks, > > --chris > > Message when submitting results: > > Notice: Only variable references should be returned by reference in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php > on line 860 > > Notice: Trying to get property of non-object in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc on > line 421 > > Notice: Trying to get property of non-object in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc on > line 49 > > Warning: array_shift() [function.array-shift]: The argument should be an > array in /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc > on line 424 > > Warning: Cannot use a scalar value as an array in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc on > line 430 > > Fatal error: Call to a member function MoveNext() on a non-object in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc on > line 433 > > > System says 111 responses stored for this survey, this is what is returned > when I try to download results. > > <br /> > <b>Notice</b>: Only variable references should be returned by reference > in <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php</b> > on line <b>860</b><br /> > <br /> > <b>Notice</b>: Trying to get property of non-object in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>421</b><br /> > <br /> > <b>Notice</b>: Trying to get property of non-object in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc</b> > on line <b>49</b><br /> > <br /> > <b>Warning</b>: array_shift() [<a href='function.array-shift'> > function.array-shift</a>]: The argument should be an array in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>424</b><br /> > <br /> > <b>Warning</b>: Cannot use a scalar value as an array in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>430</b><br /> > <br /> > <b>Fatal error</b>: Call to a member function MoveNext() on a non-object > in <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>433</b><br /> > > > > > > > /////\\\\\/////\\\\\ > Christopher G. Kolar > Coordinator of Research and Evaluation > Illinois Mathematics and Science Academy > ck...@im... -- staff.imsa.edu/~ckolar<http://staff.imsa.edu/%7Eckolar>-- PGP Public Key ID: 0x43879C9B > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > |
From: Matthew <mat...@gm...> - 2007-06-22 01:16:39
|
Please don't take this the wrong way, but I'd think it's probably best if you change the name of the phpESP version that you're distributing. I would love to see the changes you've done rolled back into phpESP, but since it's been months without any commits of your changes/enhancements it looks more like you're forking. If you do intend to fork, which is perfectly fine since ESP is BSD licensed, your fork should not be called phpESP. On 6/20/07, Franky Van Liedekerke <lie...@te...> wrote: > Hi, > > the adodb lib included in phpsurvey is for php4 only. What you can do to > solve the problem is this: > > - install the adodb libs for your platform using your favorite package > manager > - change in phpESP.ini.php the variable $ESPCONFIG['adodb_path'] to point to > your adodb installation instead of the included libs. > > Btw, I have continued to develop phpESP, so maybe you can take a look at the > current version (has lots of fixes and extra functionality): > http://www.e-dynamics.be/index.php?section=programs&lang=en > > With friendly regards, > > Franky Van Liedekerke > > > On 6/19/07, Christopher Kolar <ck...@im...> wrote: > > > > > > Hello. I am running 1.8.2 and have been running phpESP for years and > years. I recently (as in the last week) started seeing this error -- it > shows up when the system is trying to store results, but I also get similar > messages when I try to export or view results. Any thoughts? I am running > under php 5.2.2 and mysql 5.x. Thanks, > > > > --chris > > > > Message when submitting results: > > > > > > Notice: Only variable references should be returned by reference in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php > on line 860 > > > > Notice: Trying to get property of non-object in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc > on line 421 > > > > Notice: Trying to get property of non-object in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc > on line 49 > > > > Warning: array_shift() [function.array-shift]: The argument should be an > array in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc > on line 424 > > > > Warning: Cannot use a scalar value as an array in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc > on line 430 > > > > Fatal error: Call to a member function MoveNext() on a non-object in > /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc > on line 433 > > System says 111 responses stored for this survey, this is what is returned > when I try to download results. > > > > > > <br /> > > <b>Notice</b>: Only variable references should be returned by reference > in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php</b> > on line <b>860</b><br /> > > <br /> > > <b>Notice</b>: Trying to get property of non-object in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>421</b><br /> > > <br /> > > <b>Notice</b>: Trying to get property of non-object in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc</b> > on line <b>49</b><br /> > > <br /> > > <b>Warning</b>: array_shift() [<a > href='function.array-shift'>function.array-shift</a>]: The argument should > be an array in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>424</b><br /> > > <br /> > > <b>Warning</b>: Cannot use a scalar value as an array in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>430</b><br /> > > <br /> > > <b>Fatal error</b>: Call to a member function MoveNext() on a non-object > in > <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> > on line <b>433</b><br /> > > > > > > > > > > > > > > /////\\\\\/////\\\\\ > > Christopher G. Kolar > > Coordinator of Research and Evaluation > > Illinois Mathematics and Science Academy > > ck...@im... -- staff.imsa.edu/~ckolar -- PGP Public Key ID: > 0x43879C9B > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > phpESP-general mailing list > > php...@li... > > > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > -- D'oh! |
From: Franky V. L. <lie...@te...> - 2007-06-22 07:07:01
|
Hi, I'm not forking at all :-) Just giving back my changes, but last time I checked there were some CVS problems (several times) and since then, the code return just slipped my mind ... Franky Matthew wrote: > Please don't take this the wrong way, but I'd think it's probably best > if you change the name of the phpESP version that you're distributing. > I would love to see the changes you've done rolled back into phpESP, > but since it's been months without any commits of your > changes/enhancements it looks more like you're forking. If you do > intend to fork, which is perfectly fine since ESP is BSD licensed, > your fork should not be called phpESP. > > > On 6/20/07, Franky Van Liedekerke <lie...@te...> wrote: >> Hi, >> >> the adodb lib included in phpsurvey is for php4 only. What you can do to >> solve the problem is this: >> >> - install the adodb libs for your platform using your favorite package >> manager >> - change in phpESP.ini.php the variable $ESPCONFIG['adodb_path'] to >> point to >> your adodb installation instead of the included libs. >> >> Btw, I have continued to develop phpESP, so maybe you can take a look >> at the >> current version (has lots of fixes and extra functionality): >> http://www.e-dynamics.be/index.php?section=programs&lang=en >> >> With friendly regards, >> >> Franky Van Liedekerke >> >> >> On 6/19/07, Christopher Kolar <ck...@im...> wrote: >> > >> > >> > Hello. I am running 1.8.2 and have been running phpESP for years and >> years. I recently (as in the last week) started seeing this error -- it >> shows up when the system is trying to store results, but I also get >> similar >> messages when I try to export or view results. Any thoughts? I am >> running >> under php 5.2.2 and mysql 5.x. Thanks, >> > >> > --chris >> > >> > Message when submitting results: >> > >> > >> > Notice: Only variable references should be returned by reference in >> /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php >> >> on line 860 >> > >> > Notice: Trying to get property of non-object in >> /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >> on line 421 >> > >> > Notice: Trying to get property of non-object in >> /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc >> on line 49 >> > >> > Warning: array_shift() [function.array-shift]: The argument should >> be an >> array in >> /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >> on line 424 >> > >> > Warning: Cannot use a scalar value as an array in >> /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >> on line 430 >> > >> > Fatal error: Call to a member function MoveNext() on a non-object in >> /home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc >> on line 433 >> > System says 111 responses stored for this survey, this is what is >> returned >> when I try to download results. >> > >> > >> > <br /> >> > <b>Notice</b>: Only variable references should be returned by >> reference >> in >> <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/adodb/adodb.inc.php</b> >> >> on line <b>860</b><br /> >> > <br /> >> > <b>Notice</b>: Trying to get property of non-object in >> <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >> >> on line <b>421</b><br /> >> > <br /> >> > <b>Notice</b>: Trying to get property of non-object in >> <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espdatalib.inc</b> >> >> on line <b>49</b><br /> >> > <br /> >> > <b>Warning</b>: array_shift() [<a >> href='function.array-shift'>function.array-shift</a>]: The argument >> should >> be an array in >> <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >> >> on line <b>424</b><br /> >> > <br /> >> > <b>Warning</b>: Cannot use a scalar value as an array in >> <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >> >> on line <b>430</b><br /> >> > <br /> >> > <b>Fatal error</b>: Call to a member function MoveNext() on a >> non-object >> in >> <b>/home/HOMEDIR/imsaresearch.org/survey/admin/include/lib/espresponse.inc</b> >> >> on line <b>433</b><br /> >> > >> > >> > >> > >> > >> > >> > /////\\\\\/////\\\\\ >> > Christopher G. Kolar >> > Coordinator of Research and Evaluation >> > Illinois Mathematics and Science Academy >> > ck...@im... -- staff.imsa.edu/~ckolar -- PGP Public Key ID: >> 0x43879C9B >> > >> ------------------------------------------------------------------------- >> > This SF.net email is sponsored by DB2 Express >> > Download DB2 Express C - the FREE version of DB2 express and take >> > control of your XML. No limits. Just data. Click to get it now. >> > http://sourceforge.net/powerbar/db2/ >> > _______________________________________________ >> > phpESP-general mailing list >> > php...@li... >> > >> https://lists.sourceforge.net/lists/listinfo/phpesp-general >> > >> > >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> phpESP-general mailing list >> php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpesp-general >> >> > > |