Menu

getting authlib to work

Help
Mark Silva
2001-04-19
2001-06-07
  • Mark Silva

    Mark Silva - 2001-04-19

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

     
    • Mark Silva

      Mark Silva - 2001-04-19

      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

       
    • Michael

      Michael - 2001-04-19

      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

       
    • Mukul Sabharwal

      Mukul Sabharwal - 2001-04-19

      hi,

      well the problem is that you've not created the tables, this new release has a script that automates the task!

       
    • Anonymous

      Anonymous - 2001-04-26

      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! :-)

       
      • Mark Silva

        Mark Silva - 2001-04-27

        what versions do you have of the following?
        OS
        Webserver
        MySql
        PHP

         
    • Jae Jones

      Jae Jones - 2001-06-07

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.