You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by raptor <ra...@unacs.bg> on 2001/10/05 13:19:25 UTC

ASP->Loader()

hi,

I'm getting alot of errors when use ASP->Loader() in httpd.conf .... It is
not a big deal isn't it ?!
=====
iVAN
raptor@unacs.bg
=====


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: ASP->Loader()

Posted by Joshua Chamas <jo...@chamas.com>.
cc'd list for archival, specified Loader() errors here ...

raptor wrote:
> 
> here is it :") ... this is on prod-server (still not online), the
> interesting thing that it doesn't give me errors anymore on my dev machine..
> :")
> May be some minor error which I possibly corrected on the way...
> And  this =FatalError()= is from the other developer... can such things as
> predeclaration 'cause me trouble !!
> 

There's different types of errors here:

> cheers
> 
> Stopping httpd: [  OK  ]
> Starting httpd: [Mon Oct 08 10:27:51 2001] [error] [asp] [16025] [WARN]
> redefinition of subroutine
> Apache::ASP::Compiles::_arh_sites_vf_cgi_bin_members___global_asa::FatalErro
> r() at
> Apache::ASP::Compiles::_arh_sites_vf_cgi_bin_members___global_asa::__ASP__ar
> h_sites_vf_cgi_bin_members_do_repay_aspxINL, originally defined at
> Apache::ASP::Compiles::_arh_sites_vf_cgi_bin_members___global_asa::__ASP__ar
> h_sites_vf_cgi_bin_members_edit_prsinfo_aspxINL

This warning tells it as is ... if you redeclare a subroutine in 
multiple scripts, they will redefine each other.  If you are using
something like PerlSetVar UniquePackages, you need to set this as a Loader()
argument too, otherwise, move FatalError() to global.asa.

> Apache::ASP::Compiles::_arh_sites_vf_cgi_bin_members___global_asa::__ASP__ar
> h_sites_vf_cgi_bin_members_do_change_pass_aspxINL, originally defined at
> Apache::ASP::Compiles::_arh_sites_vf_cgi_bin_members___global_asa::__ASP__ar
> h_sites_vf_cgi_bin_members_do_edit_account_aspxINL
> [ASP WARN] String found where operator expected at doadd_item.asp line 40,
> near "dbiError "Nothing added : $@""
> [ASP WARN] (Do you need to predeclare dbiError?)
> [ASP WARN] String found where operator expected at doadd_item.asp line 41,
> near "debug "Item added to the DB ($itemID)""
...
> [Mon Oct 08 10:27:51 2001] [error] [asp] [16025] [error] syntax error at
> doadd_item.asp line 40, near "dbiError "Nothing added : $@"" <--> syntax
> error at doadd_item.asp line 41, near "debug "Item added to the DB
> ($itemID)"" <--> syntax error at doadd_item.asp line 55, near "debug "U
> didn't specified correct file upload name"" <--> syntax error at
> doadd_item.asp line 70, near "error "U didn't specify image"" <--> syntax
> error at doadd_item.asp line 79, near "debug "U didn't specified correct
> file upload name"" <--> syntax error at doadd_item.asp line 89, near "debug
> "U can't upload more images for one item"" <--> syntax error at
> doadd_item.asp line 91, near "debug "U probably opened Delete with
> right-click and refreshed this page, which isn't correct"" <--> BEGIN not
> safe after errors--compilation aborted at doadd_item.asp line 143. <--> ,
> /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 2054

There is something wrong with the doadd_item.asp script... it will likely
error under normal compilation at runtime as well.

> [Mon Oct 08 10:27:51 2001] [error] [asp] [16025] [error] syntax error at
> details.asp line 37, near "debug "This item doesn't exists"" <--> BEGIN not
> safe after errors--compilation aborted at details.asp line 49. <--> ,
> /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 2054

details.asp has a problem too.

> [ASP WARN] String found where operator expected at preview_item.asp line 34,
> near "debug "This item doesn't exists""

as does preview_item.asp.  Seems similar.

> [Mon Oct 08 10:27:51 2001] [error] [asp] [16025] [error] syntax error at
> dosearch.asp line 87, near "debug "No results matching your query"" <-->
> BEGIN not safe after errors--compilation aborted at dosearch.asp line 97.
> <--> , /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 2054

As does dosearch.asp ... these all seem to be similar types of 
syntax.  Maybe the same perl syntax error is being made on all of them.

... some others skipped here ...

> /arh/sites/vf/cgi-bin/accessories/edit_images.asp while loading at
> /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 329.
> [Mon Oct 08 10:27:52 2001] [error] [asp] 16025 (re)compiled 116 scripts of
> 130 loaded

Maybe there were 14 scripts that didn't compiled correctly might be
what this is telling you, but I didn't count 14 errors, there were
certainly a lot.  I would be very worried about a site like this
going into production.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: ASP->Loader()

Posted by Joshua Chamas <jo...@chamas.com>.
raptor wrote:
> 
> hi,
> 
> I'm getting alot of errors when use ASP->Loader() in httpd.conf .... It is
> not a big deal isn't it ?!

What kinds of errors?  Seeing the output from starting apache 
might be nice here.

--Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org