Menu

[error] Undefined subroutine &HTML::Parser...

Help
2002-02-22
2002-04-15
  • Hĺvard Skrřdahl

    Excited, having installed MetaDot 3.1.3, running the script index.pl works fine.

    Trying to reach MetaDot through the browser, I get:

    Subroutine url redefined at Channel.pm line 585.
    Subroutine html redefined at Channel.pm line 592.
    upload
    [Fri Feb 22 15:14:37 2002] [error] Undefined subroutine &HTML::Parser called at Portal.pm line 4245.

    Bummer!

    Has anyone seen this?
    What can I do?

     
    • Hĺvard Skrřdahl

      The errors are from Apache's error log...

       
    • Hĺvard Skrřdahl

      I added a lot of extra Perl-modules (after running some of the test-scripts), that weren't mentioned in the install doc...

      I added the hostname in metadot.conf.

      Now I get a lot of errors (in my browser) concerning Gizmo.

      (perhaps you forgot to load "Gizmo"?)

      I think I saw some postings about Gizmo, loading, compiling...

      I just have to look-see.

       
    • Hĺvard Skrřdahl

      Here are more errors from my error_log.
      The last line shows up every time, but the others come and go in no recognizable pattern.

      ----------------

      upload
      [Fri Feb 22 16:11:34 2002] [error] Undefined subroutine &HTML::Parser called at Portal.pm line 4245.

      [Fri Feb 22 16:12:15 2002] [error] Can't locate object method "new" via package "Portal" (perhaps you forgot to load "Portal"?) at /home/metadot/metadot/metadot/index.pl line 38.

      [Fri Feb 22 16:12:21 2002] Channel.pm: Subroutine url redefined at Channel.pm line 585.
      [Fri Feb 22 16:12:21 2002] Channel.pm: Subroutine html redefined at Channel.pm line 592.
      upload
      [Fri Feb 22 16:12:22 2002] [error] Undefined subroutine &HTML::Parser called at Portal.pm line 4245.

       
    • Hĺvard Skrřdahl

      I finally found out where to get MetaDot 4.0b.
      It's installed, and works VERY WELL.

      Sorry to be clogging up your forums...

       
    • PotmeHood

      PotmeHood - 2002-04-15

      it is not a major bug ...
      somehow somewhere i got the same in v3.1.3 on suse 7.3
      in portal.pm just insert a new line like:

      use HTML::Parser in the beginning where all the includes are written
      and the problem is gone :)

      enjoy

       

Log in to post a comment.