Menu

HMINFO Plug. Problems

Help
2005-02-24
2012-11-30
  • Michael Belt

    Michael Belt - 2005-02-24

    Help!  I'm trying to install HMINFO & have run into what I believe is a glitch.  After Install I try & follow the instruction & go into the "Install Maintenance" area.  I receive the error "Plugin table SITE_HMINFO does not exist."  It is correct, this table doesn't exist, because my site is setup with a table prefix of "opendb_" on every table.  Therefore the correct table name is "opendb_site_hminfo".  I believe it is dis-regarding the prefix setup in the config.php.  Can someone confirm?

    Thanks,
    Michael

     
    • Jason Pell

      Jason Pell - 2005-02-24

      Hi,

      I will confirm it for you.  I don't test the prefixing support as much as I should, and for some stupid reason, I actually specifically disabled in in the hminfo plugin.  For now, you can fix it yourself by modifying site/hminfo.class.php..

      Look for:

      $result = run_opendb_query($query, FALSE);

      Replace with:

      $result = run_opendb_query($query);

      Cheers
      Jason

       
      • absoblogginlutely

        I'm getting this problem with version .87 too.
        I've checked the htminfo.class.php and there are not occurances of FALSE at the end of the opendb_query functions.

         
    • Michael Belt

      Michael Belt - 2005-02-25

      Well, I gave it a whirl with no luck.  I'm in no hurry for this plug, so I'll just yank it.

       
    • Jason Pell

      Jason Pell - 2005-02-26

      Hi,

      Try the same thing in the patch/site/hminfo.install.class.php
      as well.

      I will try and get a patch to this site plugin out soon.

      Cheers
      Jason

       
    • Jason Pell

      Jason Pell - 2005-02-26

      Hi,

      hminfo-0.81p7 should hopefully fix your problem.

      You can download it here:
      http://opendb.i-am-vegan.net/site-plugins.php

      Cheers
      Jason

       
    • Jason Pell

      Jason Pell - 2005-08-03

      what is your exact issue, as if you have installed 0.81p7 version of the plugin, then you should not have an issue.

      Cheers
      Jason

       
    • absoblogginlutely

      I get "Plugin table SITE_HMINFO does not exist" when clicking on the maintenance button. It doesn't as i have prefixed everything with opendb_

      The file I downloaded is http://heanet.dl.sourceforge.net/sourceforge/opendb/hminfo-0.81p7.zip

      If I then go to phpadmin and rename the table to SITE_HMINFO i then get prompted for the csv file.
      After clicking import and waiting ages (i should have truncated the file first I guess) I get loads of lines as below:-

      2    Insert Failed    Table 'opendb.opendb_site_hminfo' doesn't exist
      3    Insert Failed    Table 'opendb.opendb_site_hminfo' doesn't exist
      4    Insert Failed    Table 'opendb.opendb_site_hminfo' doesn't exist
      5    Insert Failed    Table 'opendb.opendb_site_hminfo' doesn't exist

       
    • Jason Pell

      Jason Pell - 2005-08-04

      Hi,

      Another bug in 0.81p11 that you can fix manually yourself now, but I am considering releasing a p12 with cumulated fixes included.

      The fix is to:
      ./admin/s_site_plugin/index.php

      Line 1596:

      Change:
      if(check_opendb_table($installPlugin->getInstallTable(), FALSE))

      To:
      if(check_opendb_table($installPlugin->getInstallTable()))

      Cheers
      Jason

       
      • absoblogginlutely

        Thanks - that worked great.

         
    • Jason Pell

      Jason Pell - 2005-08-04

      this fix has been made available in 0.81p12