From: Franky V. L. <lie...@te...> - 2007-12-16 08:44:02
|
On Sun, 16 Dec 2007 00:38:54 +0000 Verinote Webmaster <wh...@ve...> wrote: > I installed 2.0.1 as an upgrade to 1.8.2. > I ran the SQL scripts in /scripts/db (mysql_update-1.8.2h-1.8.2i.sql > and mysql_update-1.8.2k-2.0.0.sql) I can view and respond to surveys, > but the results are not posted to the 'response' table. I tried > creating some new surveys, same problem. At one point > in /admin/error_log I had: "[15-Dec-2007 23:30:32] PHP Notice: > Undefined index: userid > in /home/domain/public_html/poll/public/handler.php on line 192" But > that has stopped now. Any ideas? G this is weird ... can you run the script admin/test.php and post the output? Also: search your apache logs for any php errors you might have. It seems very weird to me that this php notice appeared, as on line 192 of public/handler.php there is no line that uses userid ... Are you sure you replaced all old php files by new ones? And another tip: look at examples/survey.php for an example on how to run phpesp with the layout of your site (it changed since 1.8.2: you have to include public/phpESP.first.php first, before any html output starts). Franky |