When Running

package LSweb::Application::LSone; use strict; use warnings; use base qw(LSweb::Base); use Apache::Reload; use CGI; use LSweb::Database::Page_Intro; use LSweb::Database::Page_Content; use LSweb::Database::LSone; sub setup { my $self = shift; $self->start_mode('lsone'); $self->run_modes([qw/lsone/]);} sub _submenu { return LSRfm::Database::SubMenus->search(menu => "lson +e", { order_by=>'position ASC'});} sub lsone { my $self = shift; my $html_template = $self->param('main_template'); my @lsone = LSweb::Database::LSone->retrieve_all; my @pageintro = LSweb::Database::Page_Intro->search(page => "lsone") +; my @pagecontent = LSweb::Database::Page_Content->search(page => "lso +ne", { order_by=>'contentorder ASC'}); my $output; $html_template->process('template', {wrapper => $self->wrapper(), submenu => \&_submenu, submenuon => "lsone", pageintro => \@pageintro, pagecontent => \@pagecontent, boxtype => "half", box => "right", lsone => \@lsone, }, \$output) || die $html_template->error; return $output; } sub article { my $self = shift; my $html_template = $self->param('main_template'); my $cgi = CGI->new; my $id = $cgi->param('article'); my @lsone = LSweb::Database::LSone->search(id => $id); my @pageintro = LSweb::Database::Page_Intro->search(page => "lsone") +; my @pagecontent = LSweb::Database::Page_Content->search(page => "lso +ne", { order_by=>'contentorder ASC'}); my $output; $html_template->process('template', {wrapper => $self->wrapper(), submenu => \&_submenu, submenuon => "lsone", pageintro => \@pageintro, pagecontent => \@pagecontent, boxtype => "half", lsone => \@lsone, }, \$output) || die $html_template->error; return $output; } 1;

I get the following errors:

Apache::Reload: Can't locate /home/lsweb/public_html/perllib/LSweb/Adm +in/Modules.pm [Mon May 8 14:05:19 2006] [error] Can't locate ApacheReadConfig.pm in + @INC (@INC contains: /home/lsweb/public_html/perllib /home/lsweb/per +llib /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/lib/pe +rl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/li +b/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5 +/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_p +erl . /usr/local/apache/ /usr/local/apache/lib/perl) at /usr/lib/perl +5/site_perl/5.8.6/Apache/Reload.pm line 132.\n

Modules.pm is not called ANYWHERE in any of the scripts i use

all Database:: Modules are custom builds, which are just table and column declartions for the database (mysql 4.x)

Does anyone have any suggestions?

Barry Carlyon barry@barrycarlyon.co.uk

In reply to What is Apachereadconfig, what does it do, and why am i calling it, when im not specifically doing it in my code? by barrycarlyon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.