|
2012-06-08
, 17:14
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#62
|
I guess I need to do some slight modifications to the .php files, like changing these lines:
Do you have a simple step-by-step guide to what I need to do?Code:$_SESSION['dbUsername'] = <USERNAME>; $_SESSION['dbPassword'] = <PASSWORD>;
$_SESSION['dbUsername'] = 'judhaz'; $_SESSION['dbPassword'] = 'easilyguessablepassword';
The Following User Says Thank You to ajalkane For This Useful Post: | ||
|
2012-06-08
, 18:14
|
Posts: 22 |
Thanked: 3 times |
Joined on Jun 2010
|
#63
|
Put there the username and password of the database you use for EasyList:
|
2012-06-08
, 18:38
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#64
|
I think these entries are more like username and password for the mysql database, not easylist passwords.
I guess I need to create a mysql database and grant access for a username with password and put in those values. I'll send an update if I succeed.
|
2012-06-08
, 23:07
|
Posts: 22 |
Thanked: 3 times |
Joined on Jun 2010
|
#65
|
Umm... I think that's exactly what I said.
I'm sorry if I wrote it unclearly.
# mysql -u root -p create database easylistdb; create user 'easylist'@'%' identified by 'easylist'; create user 'easylist'@'localhost' identified by 'easylist'; set password for 'easylist'@'%' = password('easylist'); set password for 'easylist'@'localhost' = password('easylist'); connect easylistdb; grant all privileges on *.* to 'easylist'@'%' with grant option; grant all privileges on *.* to 'easylist'@'localhost' with grant option; flush privileges; exit;
# mysql -u root -p mysql> connect easylistdb; mysql> source /tmp/willemliu_ezlist.sql;
|
2012-06-09
, 08:20
|
Posts: 22 |
Thanked: 3 times |
Joined on Jun 2010
|
#66
|
/easylist/getList.php?username=USERNAME&password=SOMEHASH&xml=v2
|
2012-06-09
, 11:23
|
Posts: 239 |
Thanked: 194 times |
Joined on Jul 2010
@ Amsterdam
|
#67
|
|
2012-06-09
, 11:26
|
Posts: 239 |
Thanked: 194 times |
Joined on Jul 2010
@ Amsterdam
|
#68
|
If I paste that very same adress into my browser, I do get the list as XML in return.
|
2012-06-09
, 11:28
|
Posts: 239 |
Thanked: 194 times |
Joined on Jul 2010
@ Amsterdam
|
#69
|
Maybe there is something I don't quite understand with "syncing" with the online list. What will be the name of this list? I have created a list called "Test" in the app, and try to sync from within that list. On the web interface I have created a few items, but don't really know the name of that list.
|
2012-06-09
, 16:57
|
Posts: 22 |
Thanked: 3 times |
Joined on Jun 2010
|
#70
|
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
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
On my first try, I got the following error when accessing index.php:
PS: Where can I donate to you?