From:
Barrie Slaymaker <barries [at] slaysys.com>
Date:
Tue, 15 Oct 2002 10:23:14 -0400
To:
qpqv <qpqv [at] yahoo.com>
To:
axkit-users [at] axkit.org, dean.l.chang [at] verizon.com
Subject:
Re: axkit image gallery ?
On Sat, Oct 12, 2002 at 11:23:07AM -0700, qpqv wrote:
> Hi All,
>
> I'm getting my feet wet with my first axkit setup and
> I'm having a little trouble with the axkit image
> gallery. I've setup my httpd.conf as described in the
> article. I think I have my axkit installed correctly
> by loading a whole lot of perl packages from CPAN.
> However after I build (h2xs -X -n My::**) the module
> examples such as My::ProofSheet, etc... I'm getting an
> error this error in the apache error_log when I try
> requesting htdocs/04/:
>
> about to execute:
> Apache::AxKit::Language::SAXMachines::handler
> Caughn an exception
> [Error] Can't locate object method "new" via package
> "My::ProofSheetMachine"... at SAXMachines.pm line 37
Make sure you're running the latest CVS version of AxKit, not sure
if that's the issue, but it's what the article was written to, and
I guarantee that you should not be getting this error :).
I'll be putting a source tarball in the next article.
- Barrie
> Also, my other question is regarding My::ProofSheet:
>
> my @images = map $self->file2image( $_, $dirpath ),
> sort {
> $a->{filename} cmp $b->{filename}
> } @{$data->/2002/09/24/axkit.html};
>
> that last line /2002/09/24/axkit.html, is there data
> in that html file?
That looks like a typo. Here's what the article left here looking like:
my @images = map $self->file2image( $_, $dirpath ),
sort {
$a->{filename} cmp $b->{filename}
} @{$data->{file}};
> $data->/2002/09/24/axkit.html ||= [];
Another wacky typo.
$data->{file} ||= [];
> Again, where is this data coming from?
Looks like perl.com's content management system is hiccuping whereever I
have a {file} in the source code. Silly web publishing tricks 101. I
can only apologize for my publisher for that and include a tarball with
the next article.
- Barrie
axkit image gallery ? - qpqv on 12 Oct 2002 18:30:05 -0000
Re: axkit image gallery ? - Barrie Slaymaker on 15 Oct 2002 14:33:11 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index