[MKDoc-users] Server error loading .admin.userlist (v1.8)

Charlie Garrison garrison at zeta.org.au
Fri Sep 24 07:47:52 BST 2004


Good afternoon,

I did a test install of MKDoc 1.6 earlier this week and was impressed
with it. I'm pretty sure I want to use it for my next project. So I
decided to grab 1.8 since I expected I would need to make a few
additions for my needs. But I can't get 1.8 to run.

I am getting an 'error 500' (followed by 'doc not found') response when
loading /.admin.userlist for the 'users' virt host. Other locations
seem to be working fine.

The error log contains:

invalid comment token: <!--
[PETAL ERROR] Global symbol "$res" requires explicit package name at (eval 282) line 17.
Global symbol "$res" requires explicit package name at (eval 282) line 18.
Global symbol "$hash" requires explicit package name at (eval 282) line 19.
Global symbol "$res" requires explicit package name at (eval 282) line 22.
Global symbol "$hash" requires explicit package name at (eval 282) line 24.
Global symbol "$res" requires explicit package name at (eval 282) line 26.
Global symbol "$res" requires explicit package name at (eval 282) line 29.
Global symbol "$hash" requires explicit package name at (eval 282) line 31.
Global symbol "$res" requires explicit package name at (eval 282) line 33.
Global symbol "$res" requires explicit package name at (eval 282) line 36.
Global symbol "$res" requires explicit package name at (eval 282) line 37.
Global symbol "$hash" requires explicit package name at (eval 282) line 38.
Global symbol "$res" requires explicit package name at (eval 282) line 41.
Global symbol "$res" requires explicit package name at (eval 282) line 42.
Global symbol "$hash" requires explicit package name at (eval 282) line 44.
Global symbol "$res" requires explicit package name at (eval 282) line 51.
Global symbol "$hash" requires explicit package name at (eval 282) line 52.
Global symbol "$res" requires explicit package name at (eval 282) line 53.
Global symbol "$res" requires explicit package name at (eval 282) line 55.
Global symbol "$res" requires explicit package name at (eval 282) line 56.
Unmatched right curly bracket at (eval 282) line 57, at end of line
(eval 282) has too many errors.

 1. $VAR1 = sub {
 2.     my $hash = shift;
 3.     my $res = "";
 4.     local $^W = 0;
 5.     $res .= "\<head\>\
 6. \ \ \<script\ type\=\"text\/javascript\"\ src\=\"\/\.resources\/xeditor\.js\"\>\<\/script\>\
 7. \ \ ";
 8.     if ($hash->get ('true: self')) {
 9.         $res .= "";
10.         if ($hash->get ('true: self/components -- at /System/Library/Perl/5.8.1/CGI/Carp.pm line 314.


I"m not sure where to start looking for the cause of this one. I can
see that it's failing when processing a template with PETAL
(mkd/resources/templates/fragments/head_admin/en.html), but I don't
have enough experience with MKDoc (yet) to know which code is being
called. 

Any guidance would be appreciated.


Charlie

-- 
   Charlie Garrison  <garrison at zeta.org.au>
   PO Box 141, Windsor, NSW 2756, Australia


More information about the MKDoc-users mailing list