If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Every page throws an error about Template::Plugin::Hook

RESOLVED INVALID

Status

()

Bugzilla
Installation & Upgrading
--
trivial
RESOLVED INVALID
12 years ago
12 years ago

People

(Reporter: Brian, Unassigned)

Tracking

2.18.3
x86
Windows XP

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: 

Bugzilla 2.18.3 
CVS 2.5.02
MS Windows Server 2003 SP 1 Standard Edition
ActivePerl 5.8.7.813
MYSQL Windows (x86)  4.1.14
IIS (I know, i know - Apache is not an option) Version 6.0

Installed packages:
   1. ActivePerl-DocTools     [0.5] Maintain HTML documentation
   2. AppConfig              [1.55] Perl5 module for reading configuration fil~
   3. Archive-Tar            [1.23] Manipulates TAR archives
   4. Archive-Zip            [1.14] Provide an interface to ZIP archive files.
   5. Chart                   [2.3] The Perl module Chart creates png or jpeg ~
   6. Compress-Zlib          [1.34] Interface to zlib compression library
   7. Convert-ASN1           [0.19] Convert between perl data structures and A~
   8. Data-Dump               [1.6] Stringified Perl data structures
   9. DBD-mysql            [3.0002] A MySQL driver for the Perl5 Database Inte~
  10. DBI                    [1.48] Database independent interface for Perl
  11. Digest-HMAC             [1.1] Keyed-Hashing for Message Authentication
  12. Digest-MD2              [2.3] Perl interface to the MD2 algorithm
  13. Digest-MD4          [1.5.0.1] Perl interface to the MD4 algorithm
  14. Digest-SHA1            [2.10] Perl interface to the SHA-1 algorithm
  15. File-CounterFile        [1.4] Persistent counters
  16. Font-AFM               [1.19] Interface to Adobe Font Metrics files
  17. GD                     [2.16] Interface to Gd Graphics Library
  18. GDGraph                [1.43] Produces charts with GD
  19. GDTextUtil             [0.86] text utilities for GD
  20. HTML-Parser            [3.45] Parsing of HTML documents
  21. HTML-Tagset             [3.4] Data tables useful in parsing HTML
  22. HTML-Tree              [3.18] Build and scan parse-trees of HTML
  23. IO-String               [1.6] Emulate file interface for in-core strings
  24. IO-Zlib                 [1.4] IO:: style interface to Compress::Zlib
  25. libwww-perl         [5.803.0~ Web API for Perl
  26. MD5                     [2.3] Deprecated.  Use Digest::MD5 instead.
  27. MIME-Base64-Scripts     [1.0] Scripts to encode/decode base64 and quoted~
  28. Net-LDAP-Express       [0.11] Simplified interface for Net::LDAP
  29. PatchReader           [0.9.5] Utilities to read and manipulate patches a~
  30. perl-ldap              [0.33] LDAP client library
  31. SOAP-Lite           [0.55.0.~ Interface to the Simple Object Access Prot~
  32. Template-Toolkit       [2.13] comprehensive template processing system
  33. Term-ReadLine-Perl  [1.2.3.1] Readline implementation in Perl
  34. TermReadKey            [2.30] Change terminal modes and perform non-bloc~
  35. Text-Autoformat        [1.12] Automatic text wrapping and reformatting
  36. Text-Reform            [1.11] Manual text wrapping and reformatting
  37. TimeDate               [1.16] miscellaneous timezone manipulations routi~
  38. Tk                  [804.27.~ Tk - a Graphical User Interface Toolkit
  39. Unicode-String          [2.7] Unicode abstraction based on UTF-16
  40. URI                    [1.35] Uniform Resource Identifier references (RF~
  41. XML-Parser          [2.34.0.~ Parsing of XML documents
  42. XML-Simple             [2.14] Easy API to maintain XML (esp config files)

Ok, followed the step by step tutorial - I am a total newbie to Perl and these 
more detailed open source projects. Checksetup.pl runs without a hitch (as in - 
no errors), maintainer created, etc. I then go through amodify and the email as 
outlined for IIS servers 
(http://www.bugzilla.org/docs/2.18/html/configuration.html#http-iis). 
everything seems to go hunky dorey. Til I go to access the url 
(http://locallanhost/bugzilla). Then wham. here comes this error:

Bugzilla has suffered an internal error. Please save this page and send it to 
THE MAINTAINER HAS NOT YET BEEN SET with details of what you were doing at the 
time this message appeared. 

URL: http://locallanhost/bugzilla/

Template->process() failed twice.
First error: plugin error - Can't locate object method "load" via 
package "Template::Plugin::Hook" (perhaps you forgot to 
load "Template::Plugin::Hook"?) at c:/Perl/site/lib/Template/Plugins.pm line 
213. 
Second error: plugin error - Can't locate object method "load" via 
package "Template::Plugin::Hook" (perhaps you forgot to 
load "Template::Plugin::Hook"?) at c:/Perl/site/lib/Template/Plugins.pm line 
213. 

Runtests.pl works successfully. testserver.pl runs without complaint. I'm 
green. I know. HELP prease!!!!

Reproducible: Always

Steps to Reproduce:
1.see above
2.
3.

Actual Results:  
see above

Expected Results:  
see above

see above

Comment 1

12 years ago
Strange, Bugzilla started but reported an error about
Bugzilla/Template/Plugin/Hook.pm. Could you check that this file is available?

glob, any idea of what is going here?
(Reporter)

Comment 2

12 years ago
That file exists (hook.pm) 1.11.2004, 3k in size. 

And oh.. I've tried it with and without LDAP support, and given blanket access 
to everyone in IIS, the perl directory, and the bugzilla directory. Doesnt seem 
to be a security issue. 
> And oh.. I've tried it with and without LDAP support, and given blanket access 
> to everyone in IIS, the perl directory, and the bugzilla directory. Doesnt seem 
> to be a security issue. 

including granting IUSR_* access to the bugzilla directory?
(Reporter)

Comment 4

12 years ago
Including IUSR_*. I even walked the directory chain in explorer to ensure the 
permissions cascaded properly.
(Reporter)

Comment 5

12 years ago
Is there any way to trace down which module it's not 'hooking' with? Or is that 
even an issue?
(Reporter)

Comment 6

12 years ago
Just went through and completely wiped out the bugzilla install. I suspected 
something was awry with the pathing - but after deletion and reinstallation of 
the bugzilla directory, it's working no. Dunno if this should be left open as 
an open issue - I did follow the 'easy installation guide' to the 't'  so 
perhaps this is an order of installation issue? Dunno. It works. Im content =) 
thanks guys for the input. 

Updated

12 years ago
Severity: blocker → critical
Summary: BUGZilla fails to starts → Every page throws an error about Template::Plugin::Hook
Version: unspecified → 2.18.3

Comment 7

12 years ago
OK. Sounds like it was just a problem with some local patch, then, or some such
thing.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID
Severity: critical → trivial
You need to log in before you can comment on or make changes to this bug.