Praveen,

The error message suggests that there is
 
  my $CGI::revision ...

at CGI.pm line 20 that is screwing up the 
compilation of your global.asa file, which
probably starts with "use CGI;" ?

I think its odd that CGI.pm would have any 
errors, as that module tends to be fairly
error free.  Try taking out the "my" on that
line and see what happens.

Note that in my dev CGI.pm, there is no my:

$CGI::revision = '$Id: CGI.pm,v 1.18 1999/06/09 14:52:45 lstein Exp $';
$CGI::VERSION='2.53';

Good Luck.

Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NODEWORKS >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

praveen wrote:
> 
> Sir,
> 
> This message is comming when be run our site, we have declare the
> variables "my". Sometime it is running but sometimes it does not work
> but it works when be refresh the page. The code is working in one server
> but the same code is not wroking in the other server.
>                  Thanks
> Praveen
> My E-mail address  :- [EMAIL PROTECTED]
> 
> Errors Output
> 
> can't use file upload without CGI.pm: "my" variable $CGI::revision can't
> be in a package at /usr/lib/perl5/5.00503/CGI.pm line 20.
> BEGIN failed--compilation aborted at (eval 566) line 1.
> , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 2077
> 
> Debug Output
> 
> STARTING ASP HANDLER (v0.16) for file
> /web/htdocs/cs/base/auction/auction2.html
> GlobalASA package Apache::ASP::Compiles::_web_tmp_global_asa
> can't use file upload without CGI.pm: "my" variable $CGI::revision can't
> be in a package at /usr/lib/perl5/5.00503/CGI.pm line 20.
> BEGIN failed--compilation aborted at (eval 566) line 1.
> , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 2077
> ASP object created - Application: ; GlobalASA:
> Apache::ASP::GlobalASA=HASH(0x88fbbb0); Internal: ; Request:
> Apache::ASP::Request=HASH(0x88fbcac); Response:
> Apache::ASP::Response=HASH(0x887ebc0); Server:
> Apache::ASP::Server=HASH(0x888a604); Session: ; allow_application_state:
> 1; app_start: 0; basename: auction2.html; buffering_on: 1; cgi_do_self:
> 0; cgi_headers: ; clean: 0; command_line: ; compile_error: ;
> compile_includes: ; cookie_path: /; debug: 2; debugs_output:
> ARRAY(0x8893cd4); dirname: /web/htdocs/cs/base/auction; errors: 1;
> errors_output: ARRAY(0x88cc25c); filehandle: ; filename:
> /web/htdocs/cs/base/auction/auction2.html; filter: 0; global: /web/tmp;
> global_package: ; group_refresh: 900; groups_refresh: 900; id:
> _web_htdocs_cs_base_auction_auction2_html____INLINE; includes_dir: ;
> init_packages: ARRAY(0x8893e84); mail_alert_period: 20; mail_alert_to: ;
> mail_errors_to: ; mail_host: ; mtime: 940575918; no_cache: ; no_headers:
> 0; no_session: ; no_state: ; package:
> Apache::ASP::Compiles::_web_tmp_global_asa; paranoid_session: 0;
> pod_comments: 1; r: Apache=SCALAR(0x8878564); remote_ip: 192.168.2.8;
> script_timeout: 90; secure_session: ; session_serialize: ;
> session_timeout: 9000; soft_redirect: ; stat_inc: 1; stat_inc_match: ;
> state_cache: ; state_db: SDBM_File; state_dir: /web/tmp/.state;
> state_manager: 10; ua: Mozilla/4.08 [en] (Win98; I); unique_packages: 0;
> 
> ASP to Perl Program

Reply via email to