perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <jos...@chamas.com>
Subject Re: ASP->Loader()
Date Mon, 08 Oct 2001 08:15:50 GMT
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


Mime
View raw message