barrycarlyon has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What is Apachereadconfig, what does it do, and why am i calling it, when im not specifically doing it in my code?
by Herkum (Parson) on May 08, 2006 at 14:04 UTC | |
by barrycarlyon (Beadle) on May 08, 2006 at 14:19 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |