the howto file is obviously intended for advanced users which i am not ... can anyone help me getting this to work on my websever? i have php/mysql running on my apache server .... the help I need is with the initial database setup. Also I use phpMyadmin ... willing to grant access for help with setup ... thanks
It may not be the versions of your system. It could be the version of authlib you are using. The old version has tables named login and data etc. But the new one has authlib_login and authlib_data. Check to make sure that the lines in backend.php which reference mysql_query (like in line 108) point to the correct names in the database. Or you could rename the tables in your database to fit the backend.php file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the howto file is obviously intended for advanced users which i am not ... can anyone help me getting this to work on my websever? i have php/mysql running on my apache server .... the help I need is with the initial database setup. Also I use phpMyadmin ... willing to grant access for help with setup ... thanks
mysql_connect($this->server, $this->db_user, $this->db_pass);
mysql_select_db($this->database);
Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/members/backend.php on line 91
Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/members/backend.php on line 102
Error : Unknown database failure, please try later
Hi!
I have got the same problem. It would be nice, if you could send me a solution to it, if you find one.
Thanx.
spindi
hi,
well the problem is that you've not created the tables, this new release has a script that automates the task!
actually I am experiencing the same problems:
Warning: Supplied argument is not a valid MySQL result resource in backend.php on line 98
Warning: Supplied argument is not a valid MySQL result resource in backend.php on line 109
Error : Unknown database failure, please try later.
REgardless whether I create the tables in the database via phpMyAdmin or letting the script create it...the ERROR shown above REMAINS the same!
The funny thing...trying version 1.92 several month ago..everything went fine! :-)
what versions do you have of the following?
OS
Webserver
MySql
PHP
It may not be the versions of your system. It could be the version of authlib you are using. The old version has tables named login and data etc. But the new one has authlib_login and authlib_data. Check to make sure that the lines in backend.php which reference mysql_query (like in line 108) point to the correct names in the database. Or you could rename the tables in your database to fit the backend.php file.