Menu

PHP warning about $DBParams[dsn] fix

Anonymous
2003-03-04
2012-10-11
  • Anonymous

    Anonymous - 2003-03-04

    Hi,

    to fix a warning I was being shown at the foot of each phpwiki page about the dsn index in $DBParams not being found, I changed line 400 to:

    if ($DBParams['dbtype'] == 'SQL' and ALLOW_USER_LOGIN and empty($DBAuthParams['auth_dsn']) and empty($DBAuthParams['auth_user_file']))

    Hope this helps someone ;-)

     
    • Anonymous

      Anonymous - 2003-03-04

      dang.  that should read line 400 of lib/config.php

      sorry :-(

       

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.