Errors Output
- error executing code for include /var/www/HDD2/mc.arhcity.ru/inc/rss_blog.asp: Can't locate object method "new" via package "XML::RSS" (perhaps you forgot to load "XML::RSS"?) at /var/www/HDD2/mc.arhcity.ru/inc/rss_blog.asp line 7.
; compiled to SCALAR(0x55979523e780) at /usr/local/share/perl5/Apache/ASP/Response.pm line 848.
, /usr/local/share/perl5/Apache/ASP.pm line 1522
Debug Output
- error executing code for include /var/www/HDD2/mc.arhcity.ru/inc/rss_blog.asp: Can't locate object method "new" via package "XML::RSS" (perhaps you forgot to load "XML::RSS"?) at /var/www/HDD2/mc.arhcity.ru/inc/rss_blog.asp line 7.
; compiled to SCALAR(0x55979523e780) at /usr/local/share/perl5/Apache/ASP/Response.pm line 848.
, /usr/local/share/perl5/Apache/ASP.pm line 1522
ASP to Perl Script
-: use strict;;;use vars qw($Application $Session $Response $Server $Request);;
-: #line 1 /var/www/HDD2/mc.arhcity.ru/asp/rss.asp
1: ;;
2:
3: my ($sid, $sectype, $plug_view, $rss_body) = (0, 0, 0, '');
4:
5: my %rss_handler = (
6: 'asp_news.asp' => 'rss_news.asp',
7: 'asp_doclist.asp' => 'rss_doclist.asp',
8: 'asp_blog.asp' => 'rss_blog.asp',
9: );
10:
11: $sid = $1 if ($QUERY->{sid} =~ m/^(\d+)$/);
12:
13: if ($sid == 0) {
14: $sectype = 'asp';
15: $plug_view = 'asp_news.asp';
16: } else {
17: ($sectype,$plug_view) = getonerec("select sectype,plug_view from section where sid = $sid");
18: }
19:
20: if ((!$localnet) && (exist_in_indexgroup("nopublic", $sid))) {
21: $sectype = 'asp';
22: $plug_view = '';
23: }
24:
25: if ($sectype eq 'table') {
26: $rss_body = ${$Response->TrapInclude('rss_default.asp', $sid)};
27: } elsif ($sectype eq 'asp') {
28: if ($rss_handler{$plug_view}) {
29: $rss_body = ${$Response->TrapInclude($rss_handler{$plug_view}, $sid)};
30: } else {
31: $rss_body = ${$Response->TrapInclude('rss_empty.asp', $sid)};
32: }
33: }
34:
35: $Response->{Charset} = "UTF-8";
36: $Response->{ContentType} = "application/xml";
37: $Response->{Expires} = 0;
38:
39: print $rss_body;
40:
41: ;
An error has occured with the Apache::ASP script just run.
If you are the developer working on this script, and cannot work
through this problem, please try researching it at the
Apache::ASP web site,
specifically the FAQ section.
Failing that, check out your
support options, and
if necessary include this debug output with any query.