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