I added a bunch of dependencies (AxKit::XSP::Util, Perform, ...) and now I get this (sorry about the huge size):

[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] fast handler called for /projects/ict/wiki/view
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] Content Provider Override: Apache::AxKit::Provider::File
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] [req] File Provider given $r: /data/sites/simonwoodside.com/projects/ict/wiki/view
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] checking if we process this resource
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] media: screen, preferred style: #default
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] Cache: key = d436c3ff2b938b40fdf044e0069d3a73
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] Can't create cache directory '/data/sites/simonwoodside.com/projects/ict/wiki/.xmlstyle_cache': Permission denied
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] Can't create cache directory '/data/sites/simonwoodside.com/projects/ict/wiki/.xmlstyle_cache/d4': No such file or directory
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] Can't create cache directory '/data/sites/simonwoodside.com/projects/ict/wiki/.xmlstyle_cache/d4/ 36': No such file or directory
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] getting styles and external entities from the XML
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] styles not cached - calling $provider->get_styles()
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] using XS get_styles (libxml2)
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] calling xs_get_styles_fh()
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] calling xs_get_styles_str()
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] xs_get_styles returned: , , xspwiki
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] Calling GetMatchingProcessors with (screen, , , , xspwiki)
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] get_styles: loading style modules
[Mon Jan 20 13:45:00 2003] [warn] [client 65.93.180.152] [AxKit] get_styles: looking for mapping for style type: 'application/x-xsp'
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] get_styles: looking for mapping for style type: 'text/xsl'
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] cache doesn't exist
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] some condition failed. recreating output
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] styles: Apache::AxKit::Language::XSP(NULL)
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] styles: Apache::AxKit::Language::Sablot(wiki.xsl)
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] Style Provider Override: Apache::AxKit::Provider::File
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] [uri] File Provider looking up uri NULL
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] [uri] File Provider set filename to /data/sites/simonwoodside.com/projects/ict/wiki/NULL
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] about to execute: Apache::AxKit::Language::XSP::handler
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] XSP: parsing fh
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] Recompiling XSP script
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] package Apache::AxKit::Language::XSP::ROOT::data::sites::simonwoodside_2ecom::pr ojects::ict::wiki::view; @Apache::AxKit::Language::XSP::ROOT::data::sites::simonwoodside_2ecom::p rojects::ict::wiki::view::ISA = ('Apache::AxKit::Language::XSP::Page');
use Apache;
use Apache::Constants qw(:common);
use XML::LibXML;#initialize xsp namespace
#initialize xsp namespace
sub handler {
my ($r, $cgi, $document) = @_;
my ($parent);

{ my $elem = $document->createElement(q|xspwiki|);$document- >setDocumentElement($elem); $parent = $elem; }
$parent->setAttribute(q|wiki|,q|http://axkit.org/NS/xsp/wiki/1|);
$parent->setAttribute(q|xsp|,q|http://apache.org/xsp/core/v1|);

my $path_info = $r->path_info;

my $dbroot = $r->dir_config('WikiDBRoot') || die "No DB root specified!";
my $default_db = $r->dir_config( 'WikiDB' ) || 'AxKit';
my $default_page = $r->dir_config( 'DefaultPage' ) || 'DefaultPage';
my $uri = $r->uri;

my ($db, $page) = AxKit::XSP::Wiki::extract_page_info($path_info);

if (!$db) {
$r->header_out(Location => "$uri/$default_db/$default_page");
return 302;
}
if (!$page) {
$r->header_out(Location => "$uri/$db/$default_page");
return 302;
}

my $action = $cgi->param('action') || 'view';
$action = 'preview' if $cgi->param('preview');
my $id = $cgi->param('id');
if ($id !~ /^\d*$/) {
die "Invalid id format";
}

if ($action eq 'save') {
my $ip = $r->get_remote_host();
AxKit::XSP::Wiki::save_page(
$dbroot, $db, $page, $cgi->param('text'), $cgi->param('texttype'), $ip,
);
$r->header_out(Location => "$uri/$db/$page");
return 302;
}
elsif ($action eq 'restore') {
my $ip = $r->get_remote_host();
AxKit::XSP::Wiki::restore_page(
$dbroot, $db, $page, $ip, $id,
);
$r->header_out(Location => "$uri/$db/$page");
return 302;
}
elsif ($action eq 'preview') {
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}
{ my $elem = $document->createElement(q|page|);$parent->appendChild($elem); $parent = $elem; }
{
my $text = $document->createTextNode("".do {
$page}); # non xsp tag
$parent->appendChild($text);
}
$parent = $parent->getParentNode;
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}
{ my $elem = $document->createElement(q|db|);$parent->appendChild($elem); $parent = $elem; }
{
my $text = $document->createTextNode("".do {
$db}); # non xsp tag
$parent->appendChild($text);
}
$parent = $parent->getParentNode;
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}
$_args{preview_page} = ""
$_args{dbpath} = ""
.. do {$dbroot};
$_args{db} = ""
.. do {$db};
$_args{page} = ""
.. do {$page};
$_args{text} = ""
.. do {$cgi->param('text')};
$_args{texttype} = ""
.. do {$cgi->param('texttype')};
;
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}

}
else {
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}
{ my $elem = $document->createElement(q|page|);$parent->appendChild($elem); $parent = $elem; }
{
my $text = $document->createTextNode("".do {
$page}); # non xsp tag
$parent->appendChild($text);
}
$parent = $parent->getParentNode;
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}
{ my $elem = $document->createElement(q|db|);$parent->appendChild($elem); $parent = $elem; }
{
my $text = $document->createTextNode("".do {
$db}); # non xsp tag
$parent->appendChild($text);
}
$parent = $parent->getParentNode;
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}
{
my $text = $document->createTextNode("".do {
{ my %_args = ();
$_args{dbpath} = ""
.. do {$dbroot};

$_args{db} = ""
.. do {$db};

$_args{page} = ""
.. do {$page};

$_args{action} = ""
.. do {$action};

$_args{id} = ""
.. do {$id};

; die 'Required arg "dbpath" for tag display-page is missing' if not defined $_args{dbpath};
die 'Required arg "db" for tag display-page is missing' if not defined $_args{db};
die 'Required arg "page" for tag display-page is missing' if not defined $_args{page};
die 'Required arg "action" for tag display-page is missing' if not defined $_args{action};
Apache::AxKit::Language::XSP::TaglibHelper::handle_result('display_page( $dbpath,$db,$page,$action):as_xml=1', undef(), 0, $document, $parent, AxKit::XSP::Wiki::display_page($_args{dbpath},$_args{db},$_args{page},$_ args{action},));}
}); # xsp tag
$parent->appendChild($text);
}
{
my $text = $document->createTextNode(q|
|);
$parent->appendChild($text);
}

}

$parent = $parent->getParentNode;
return OK;
}

Scalar found where operator expected at (eval 16) line 86, near """
$_args"
(Missing operator before
$_args?)
Script:
1 package Apache::AxKit::Language::XSP::ROOT::data::sites::simonwoodside_2ecom::pr ojects::ict::wiki::view; @Apache::AxKit::Language::XSP::ROOT::data::sites::simonwoodside_2ecom::p rojects::ict::wiki::view::ISA = ('Apache::AxKit::Language::XSP::Page');
2 use Apache;
3 use Apache::Constants qw(:common);
4 use XML::LibXML;#initialize xsp namespace
5 #initialize xsp namespace
6 sub handler {
7 my ($r, $cgi, $document) = @_;
8 my ($parent);
9
10 { my $elem = $document->createElement(q|xspwiki|);$document- >setDocumentElement($elem); $parent = $elem; }
11 $parent->setAttribute(q|wiki|,q|http://axkit.org/NS/xsp/wiki/1|);
12 $parent->setAttribute(q|xsp|,q|http://apache.org/xsp/core/v1|);
13
14 my $path_info = $r->path_info;
15
16 my $dbroot = $r->dir_config('WikiDBRoot') || die "No DB root specified!";
17 my $default_db = $r->dir_config( 'WikiDB' ) || 'AxKit';
18 my $default_page = $r->dir_config( 'DefaultPage' ) || 'DefaultPage';
19 my $uri = $r->uri;
20
21 my ($db, $page) = AxKit::XSP::Wiki::extract_page_info($path_info);
22
23 if (!$db) {
24 $r->header_out(Location => "$uri/$default_db/$default_page");
25 return 302;
26 }
27 if (!$page) {
28 $r->header_out(Location => "$uri/$db/$default_page");
29 return 302;
30 }
31
32 my $action = $cgi->param('action') || 'view';
33 $action = 'preview' if $cgi->param('preview');
34 my $id = $cgi->param('id');
35 if ($id !~ /^\d*$/) {
36 die "Invalid id format";
37 }
38
39 if ($action eq 'save') {
40 my $ip = $r->get_remote_host();
41 AxKit::XSP::Wiki::save_page(
42 $dbroot, $db, $page, $cgi->param('text'), $cgi->param('texttype'), $ip,
43 );
44 $r->header_out(Location => "$uri/$db/$page");
45 return 302;
46 }
47 elsif ($action eq 'restore') {
48 my $ip = $r->get_remote_host();
49 AxKit::XSP::Wiki::restore_page(
50 $dbroot, $db, $page, $ip, $id,
51 );
52 $r->header_out(Location => "$uri/$db/$page");
53 return 302;
54 }
55 elsif ($action eq 'preview') {
56 {
57 my $text = $document->createTextNode(q|
58 |);
59 $parent->appendChild($text);
60 }
61 { my $elem = $document->createElement(q|page|);$parent->appendChild($elem); $parent = $elem; }
62 {
63 my $text = $document->createTextNode("".do {
64 $page}); # non xsp tag
65 $parent->appendChild($text);
66 }
67 $parent = $parent->getParentNode;
68 {
69 my $text = $document->createTextNode(q|
70 |);
71 $parent->appendChild($text);
72 }
73 { my $elem = $document->createElement(q|db|);$parent->appendChild($elem); $parent = $elem; }
74 {
75 my $text = $document->createTextNode("".do {
76 $db}); # non xsp tag
77 $parent->appendChild($text);
78 }
79 $parent = $parent->getParentNode;
80 {
81 my $text = $document->createTextNode(q|
82 |);
83 $parent->appendChild($text);
84 }
85 $_args{preview_page} = ""
86 $_args{dbpath} = ""
87 . do {$dbroot};
88 $_args{db} = ""
89 . do {$db};
90 $_args{page} = ""
91 . do {$page};
92 $_args{text} = ""
93 . do {$cgi->param('text')};
94 $_args{texttype} = ""
95 . do {$cgi->param('texttype')};
96 ;
97 {
98 my $text = $document->createTextNode(q|
99 |);
100 $parent->appendChild($text);
101 }
102
103 }
104 else {
105 {
106 my $text = $document->createTextNode(q|
107 |);
108 $parent->appendChild($text);
109 }
110 { my $elem = $document->createElement(q|page|);$parent->appendChild($elem); $parent = $elem; }
111 {
112 my $text = $document->createTextNode("".do {
113 $page}); # non xsp tag
114 $parent->appendChild($text);
115 }
116 $parent = $parent->getParentNode;
117 {
118 my $text = $document->createTextNode(q|
119 |);
120 $parent->appendChild($text);
121 }
122 { my $elem = $document->createElement(q|db|);$parent->appendChild($elem); $parent = $elem; }
123 {
124 my $text = $document->createTextNode("".do {
125 $db}); # non xsp tag
126 $parent->appendChild($text);
127 }
128 $parent = $parent->getParentNode;
129 {
130 my $text = $document->createTextNode(q|
131 |);
132 $parent->appendChild($text);
133 }
134 {
135 my $text = $document->createTextNode("".do {
136 { my %_args = ();
137 $_args{dbpath} = ""
138 . do {$dbroot};
139
140 $_args{db} = ""
141 . do {$db};
142
143 $_args{page} = ""
144 . do {$page};
145
146 $_args{action} = ""
147 . do {$action};
148
149 $_args{id} = ""
150 . do {$id};
151
152 ; die 'Required arg "dbpath" for tag display-page is missing' if not defined $_args{dbpath};
153 die 'Required arg "db" for tag display-page is missing' if not defined $_args{db};
154 die 'Required arg "page" for tag display-page is missing' if not defined $_args{page};
155 die 'Required arg "action" for tag display-page is missing' if not defined $_args{action};
156 Apache::AxKit::Language::XSP::TaglibHelper::handle_result('display_page( $dbpath,$db,$page,$action):as_xml=1', undef(), 0, $document, $parent, AxKit::XSP::Wiki::display_page($_args{dbpath},$_args{db},$_args{page},$_ args{action},));}
157 }); # xsp tag
158 $parent->appendChild($text);
159 }
160 {
161 my $text = $document->createTextNode(q|
162 |);
163 $parent->appendChild($text);
164 }
165
166 }
167
168 $parent = $parent->getParentNode;
169 return OK;
170 }
171
[Mon Jan 20 13:45:01 2003] [warn] [client 65.93.180.152] [AxKit] Caught an exception
[Mon Jan 20 13:45:01 2003] [error] [client 65.93.180.152] [AxKit] [Error] Compilation failed: Global symbol "%_args" requires explicit package name at (eval 16) line 85.
syntax error at (eval 16) line 86, near """
$_args"
Global symbol "%_args" requires explicit package name at (eval 16) line 86.
Global symbol "%_args" requires explicit package name at (eval 16) line 88.
Global symbol "$db" requires explicit package name at (eval 16) line 89.
Global symbol "%_args" requires explicit package name at (eval 16) line 90.
Global symbol "$page" requires explicit package name at (eval 16) line 91.
Global symbol "%_args" requires explicit package name at (eval 16) line 92.
Global symbol "$cgi" requires explicit package name at (eval 16) line 93.
Global symbol "%_args" requires explicit package name at (eval 16) line 94.
Global symbol "$cgi" requires explicit package name at (eval 16) line 95.
Global symbol "$document" requires explicit package name at (eval 16) line 98.
Global symbol "$parent" requires explicit package name at (eval 16) line 100.
syntax error at (eval 16) line 103, near "}

}"
(eval 16) has too many errors.

[Mon Jan 20 13:45:01 2003] [error] [client 65.93.180.152] [AxKit] From: /usr/share/perl5/Error.pm : 148
[Mon Jan 20 13:45:01 2003] [error] [client 65.93.180.152] [AxKit] [Backtrace] Compilation failed: Global symbol "%_args" requires explicit package name at (eval 16) line 85.
syntax error at (eval 16) line 86, near """
$_args"
Global symbol "%_args" requires explicit package name at (eval 16) line 86.
Global symbol "%_args" requires explicit package name at (eval 16) line 88.
Global symbol "$db" requires explicit package name at (eval 16) line 89.
Global symbol "%_args" requires explicit package name at (eval 16) line 90.
Global symbol "$page" requires explicit package name at (eval 16) line 91.
Global symbol "%_args" requires explicit package name at (eval 16) line 92.
Global symbol "$cgi" requires explicit package name at (eval 16) line 93.
Global symbol "%_args" requires explicit package name at (eval 16) line 94.
Global symbol "$cgi" requires explicit package name at (eval 16) line 95.
Global symbol "$document" requires explicit package name at (eval 16) line 98.
Global symbol "$parent" requires explicit package name at (eval 16) line 100.
syntax error at (eval 16) line 103, near "}

}"
(eval 16) has too many errors.
Error::throw('Apache::AxKit::Exception::Error', '-text', 'Compilation failed: Global symbol "%_args" requires explicit pac...') called at /usr/lib/perl5/Apache/AxKit/Language/XSP.pm line 114
Apache::AxKit::Language::XSP::handler('Apache::AxKit::Language::XSP', 'AxKit::Apache=SCALAR(0x83a758c)', 'Apache::AxKit::Provider::File=HASH(0x83a767c)', 'Apache::AxKit::Provider::File=HASH(0x8234f14)', '') called at /usr/lib/perl5/AxKit.pm line 623
AxKit::process_request('AxKit::Apache=SCALAR(0x83a758c)', 'Apache::AxKit::Provider::File=HASH(0x83a767c)', 'ARRAY(0x833c7c4)') called at /usr/lib/perl5/AxKit.pm line 437
AxKit::run_axkit_engine('AxKit::Apache=SCALAR(0x83a758c)', 'Apache::AxKit::Provider::File=HASH(0x83a767c)') called at /usr/lib/perl5/AxKit.pm line 264
eval {...} called at /usr/lib/perl5/AxKit.pm line 255
AxKit::main_handler('AxKit::Apache=SCALAR(0x83a758c)', 'Apache::AxKit::Provider::File=HASH(0x83a767c)') called at /usr/lib/perl5/AxKit.pm line 172
AxKit::fast_handler('AxKit::Apache=SCALAR(0x83a758c)') called at /dev/null line 0
eval {...} called at /dev/null line 0

[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] handler called for /index.html
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] checking if we process this resource
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] media: screen, preferred style: #default
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] Can't create cache directory '/data/sites/simonwoodside.com/.xmlstyle_cache/e1': Permission denied
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] Can't create cache directory '/data/sites/simonwoodside.com/.xmlstyle_cache/e1/90': No such file or directory
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] getting styles and external entities from the XML
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] using XS get_styles (libxml2)
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] cache doesn't exist
[Mon Jan 20 13:54:20 2003] [warn] [client 66.119.164.97] [AxKit] some condition failed. recreating output
[Mon Jan 20 13:54:21 2003] [error] [client 66.119.164.97] File does not exist: /data/sites/simonwoodside.com/css/rng.css
[Mon Jan 20 13:54:21 2003] [error] [client 66.119.164.97] File does not exist: /data/sites/simonwoodside.com/css/rng.css

---
www.simonwoodside.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to