Menu

Changing DBAUTH_AUTH_DSN Fails

Help
Anonymous
2004-05-27
2012-10-11
  • Anonymous

    Anonymous - 2004-05-27

    I'm trying out 1.3.10 right now and am using DATABASE_DSN to connect to the mysql database and DBAUTH_AUTH_DSN to change the database from which I want to retrieve user information.  The two lines look like this in my config.ini file:

    DATABASE_DSN = "mysql://username:password@localhost/wiki";                   
    DBAUTH_AUTH_DSN = "mysql://username:password@localhost/forums"             

    However, when I do so, I get the following error:

    Fatal PhpWiki Error

    lib/WikiDB/backend/PearDB.php:778: Fatal[256]: wikidb_backend_mysql: fatal database error

        * DB Error: no such table
        * (SELECT page.id as id, page.pagename as pagename, page.hits as hits, page.pagedata as pagedata FROM page WHERE pagename='global_data' [nativecode=1146 ** Table 'forums.page' doesn't exist])

    Notice: Undefined property: _user in /usr/www/aikiweb/wiki/lib/main.php on line 497

     
    • Anonymous

      Anonymous - 2004-05-27

      Hmm...  The previous message seems to have been munged.  I wish there were a way to preview...

      Any way, let's see if I add a space and change the @ sign to [at]:

      DATABASE_DSN = "mysql: //username:password[at]localhost/wiki"              
      DBAUTH_AUTH_DSN = "mysql: //username:password[at]localhost/forums"             

       
    • Reini Urban

      Reini Urban - 2004-05-28

      I could reproduce this bug, accepted and fixed it.
      See Bug #962117 for the patch.

       

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.