Menu

Prefix for database tables not globally set?

Help
Anonymous
2004-04-16
2012-10-11
  • Anonymous

    Anonymous - 2004-04-16

    I've set a prefix for all my database tables (wikiwise_) using the settings in index.php but when trying to log in I receive the following error:

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

      DB Error: no such table

      (SELECT prefs FROM pref WHERE userid='axbom' [nativecode=1146 ** Table 'b0294700_innodb1.pref' doesn't exist])

     
    • Reini Urban

      Reini Urban - 2004-04-16

      since you define the prefs table in the DBAuthParam statements, it cannot be automatically prefixed. you have to fix your statements manually.

       
      • Reini Urban

        Reini Urban - 2004-04-18

        I enabled now warnings to remind you.
        And documented it in index.php

         

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.