View Single Post
Posts: 239 | Thanked: 194 times | Joined on Jul 2010 @ Amsterdam
#73
Originally Posted by judhaz View Post
Thanks for updating the zip file!

I see that the web interface has changed, and it seems it supports a dropdown list of available lists. However, the dropdown is always empty for me, even though I seemingly manage to create a new list in the web interface, as I get "List test4 saved." when I press the Save button.

However, when I check the mysql database, the list is not saved.

I have updated dbconnection.php with the mysql username and password and database name.

I use lighttpd, and have noticed the following errors/warnings after updating the .php files:
Code:
2012-06-09 18:28:03: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Notice:  Undefined index: username in /var/www/easylist/loginFunctions.php
 on line 19
PHP Notice:  Undefined index: password in /var/www/easylist/loginFunctions.php on line 20
and

Code:
2012-06-09 18:24:17: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/easylist/listFunctions.php on line 40
PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /var/www/easylist/index.php on line 88
which is a bit strange, 'cause the syntax seems correct.

Any suggestions on how to proceed on this highly appreciated!
You could ignore the NOTICES, but they may cause problems if it's indeed not possible to set the session variables.
I suggest you test if the session variables are being set, properly by logging the values.

I've looked at the SQL file in the zip file in the first post and noticed there was a column missing when compared to my active database. I've now updated that file as well. I hope that fixes the errors. And if it does I apologize for the inconvenience I've caused.
__________________
Please give or donate your 2 cents to help me keep on going.