Menu

Bug? (viewing a bug)

Help
Anonymous
2002-03-13
2002-03-13
  • Anonymous

    Anonymous - 2002-03-13

    Hi, I just did a fresh install of .7 and when I try to view a bug I get the following error:

    Database error: Invalid SQL: select count(*) from phpbt_bug_vote where bug_id = 1 and user_id = 1
    MySQL Error: 1146 (Table 'phpbt.phpbt_bug_vote' doesn't exist)
    Session halted.

    I checked the database w/ phpMyAdmin and the name of the table is phpbt_bug_VOTE not phpbt_vub_vote... I'm not real sure how to fix this problem w/o going to the source files and changing it everywhere...

    Thoughts?

    Thanks...

    -drak0

     
    • Benjamin Curtis

      Benjamin Curtis - 2002-03-13

      Crud, this is a bug with the installation code.  You can edit config.php (line 47) where it defines the value for TBL_BUG_VOTE.  You can either change the value there to match the table, or rename the table to match the definition.  You don't have to edit all the code, as this constant is used for determining the table name.

       
      • Nobody/Anonymous

        I c... that worked just fine... I changed the config.php file.

        Thanks for the quick response...

        I really like the UI of this program...  Now off to play more :)

        -drak0

         

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.