Strange Error

2010-04-19 Thread Mike Blezien
Hello, I'm getting a strange error and for the life of me can't figure out what causing it. All that's in the error log is the following: [Mon Apr 19 13:01:37 2010] index.cgi: Invalid offset: 1 Would anyone have any ideas what to look for that would cause this type of error message ? Thanks

Re: Strange Error

2010-04-19 Thread Jim Gibson
On 4/19/10 Mon Apr 19, 2010 11:07 AM, Mike Blezien mick...@frontiernet.net scribbled: Hello, I'm getting a strange error and for the life of me can't figure out what causing it. All that's in the error log is the following: [Mon Apr 19 13:01:37 2010] index.cgi: Invalid offset: 1

Re: Strange Error

2010-04-19 Thread Mike Blezien
- From: Jim Gibson jimsgib...@gmail.com To: Perl List beginners@perl.org Sent: Monday, April 19, 2010 4:14 PM Subject: Re: Strange Error On 4/19/10 Mon Apr 19, 2010 11:07 AM, Mike Blezien mick...@frontiernet.net scribbled: Hello, I'm getting a strange error and for the life of me can't

Re: problem runing code | strange Error

2007-10-24 Thread Matthew Whipple
Juan B wrote: Ok I did it and know I get another error :-( here goes the error: Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 284. I don't have that module and therefore have no idea what line 284 is or to what it applies, but here are a couple suggestions. this is the

problem runing code | strange Error

2007-10-23 Thread Juan B
-Hi, Im trying to run this code: (im getting this error message): Can't use string (From) as a HASH ref while strict refs in use at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 320. The code: use strict; use warnings; use Mail::Mailer; my @lines = (); open (INFO, /var/log/messages) or

Re: problem runing code | strange Error

2007-10-23 Thread Paul Lalli
On Oct 23, 9:57 am, [EMAIL PROTECTED] (Juan B) wrote: -Hi, Im trying to run this code: (im getting this error message): Can't use string (From) as a HASH ref while strict refs in use at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 320. The code: use strict; use warnings; use

Re: problem runing code | strange Error

2007-10-23 Thread Juan B
Hi, I did it and know I get another error: syntax error at logcheck line 25, near 'PiX Detected Attack } ' ) Missing right curly or square bracket at logcheck line 28, at end of line Execution of logcheck aborted due to compilation errors. This is the code: use strict; use warnings; use

Re: problem runing code | strange Error

2007-10-23 Thread Jenda Krynicky
From: Juan B [EMAIL PROTECTED] use Mail::Mailer; snipped my $mailer = Mail::Mailer-new(smtp, 10.83.27.71); $mailer-open( 'From' = 'Syslog [EMAIL PROTECTED]', 'To' = 'gabriela pinado [EMAIL PROTECTED]', 'Subject' = 'PiX Detected Attack ' );

Re: problem runing code | strange Error

2007-10-23 Thread Juan B
Ok I did it and know I get another error :-( here goes the error: Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 284. this is the code: use strict; use warnings; use Mail::Mailer; my @lines = (); open (INFO, /var/log/messages) or die $!; while (my $line = INFO) { if ($line =~

Re: problem runing code | strange Error

2007-10-23 Thread Jenda Krynicky
From: Juan B [EMAIL PROTECTED] Ok I did it and know I get another error :-( here goes the error: Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 284. That's not a very informative error message. anyway maybe it's time to go read the Mail::Mailer's docs. Search

problem runing code | strange Error

2007-10-23 Thread [EMAIL PROTECTED]
Hi, Im trying to run this code: (im getting this error message): Can't use string (From) as a HASH ref while strict refs in use at / usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 320. The code: use strict; use warnings; use Mail::Mailer; my @lines = (); open (INFO, /var/log/messages) or

Re: problem runing code | strange Error

2007-10-23 Thread Gunnar Hjalmarsson
[EMAIL PROTECTED] wrote: Im trying to run this code: (im getting this error message): Can't use string (From) as a HASH ref while strict refs in use at / usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 320. The code: use strict; use warnings; use Mail::Mailer; my @lines = (); open (INFO,

Re: Strange error

2007-09-26 Thread [EMAIL PROTECTED]
On Sep 24, 9:17 pm, [EMAIL PROTECTED] (Caronte) wrote: Hi everybody. I'm learning Perl and CGI programming using MAMP as web- server on OSX and I can't use the standard CGI module. Look at this (very) simple script: #!/usr/local/bin/perl First obvious question, is that the correct path?

Re: Strange error

2007-09-26 Thread Caronte
On 25 Set, 12:37, [EMAIL PROTECTED] (Matthew Whipple) wrote: Some suggestions: rewrite ':standard'; as qw/:standard/; use warnings; check the web server error log for more verbose debugging information It would be a lot easier to diagnose if you know what file or directory

Strange error

2007-09-25 Thread Caronte
Hi everybody. I'm learning Perl and CGI programming using MAMP as web- server on OSX and I can't use the standard CGI module. Look at this (very) simple script: #!/usr/local/bin/perl use CGI ':standard'; print header(); print start_html(); for $i (param()) { print b, $i, /b: , param($i),

Re: Strange error

2007-09-25 Thread Ken Foskey
500 Server Error [Mon Sep 24 21:00:38 2007] [error] [client ::1] (2)No such file or directory: exec of '/Applications/MAMP/cgi-bin/backatcha-cgi' failed [Mon Sep 24 21:00:38 2007] [error] [client ::1] Premature end of script headers: backatcha-cgi Why is there a hyphen not a dot?

Re: Strange error

2007-09-25 Thread Matthew Whipple
Some suggestions: rewrite ':standard'; as qw/:standard/; use warnings; check the web server error log for more verbose debugging information It would be a lot easier to diagnose if you know what file or directory isn't being found/accessed. Caronte wrote: Hi everybody.

Re: Strange error: PerlRun

2005-09-29 Thread Jeff Peng
too few info u have given. It seems that u have problem at the interface of cgi script to web server. 2005/9/28, Graeme McLaren [EMAIL PROTECTED]: Afternoon all, I have a strange error: [Tue Sep 27 14:43:41 2005] [error] PerlRun: `failed at stage 1: Input/output error at /usr/local/lib/perl5

Re: Strange Error

2004-10-31 Thread Peter Scott
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Mike Blezien) writes: Gunnar Hjalmarsson wrote: Mike Blezien wrote: What does this type of error indicate, I never encountered this type of error before. Modification of a read-only value attempted at /home/www/cgi/somescript.cgi line 151.

Re: Strange Error

2004-10-25 Thread Mike Blezien
Gunnar Hjalmarsson wrote: Mike Blezien wrote: What does this type of error indicate, I never encountered this type of error before. - Modification of a read-only value attempted at /home/www/cgi/somescript.cgi line 151.

Re: Strange Error

2004-10-25 Thread Gunnar Hjalmarsson
Mike Blezien wrote: Gunnar Hjalmarsson wrote: Mike Blezien wrote: foreach $sparam (param()) { ${$sparam} = param($sparam); } # line 151 - Maybe it's that; hard to tell since you don't give more context. But what you are trying to do, i.e. using symbolic

Strange Error

2004-10-24 Thread Mike Blezien
Hello, What does this type of error indicate, I never encountered this type of error before. - Modification of a read-only value attempted at /home/www/cgi/somescript.cgi line 151. - code snip my($sparam);

Re: Strange Error

2004-10-24 Thread Gunnar Hjalmarsson
Mike Blezien wrote: What does this type of error indicate, I never encountered this type of error before. - Modification of a read-only value attempted at /home/www/cgi/somescript.cgi line 151. - code snip

Re: Strange error

2002-09-06 Thread John W. Krahn
Dharmendra rai wrote: Hi Hello, Read Perl regular expressions. Thanks for the advice. Why do you feel that I need to read Perl regular expressions and what is it and where can I find it? John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Strange error

2002-09-06 Thread Dharmendra Rai
man perlregxp __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange error

2002-09-06 Thread Sudarshan Raghavan
On Fri, 6 Sep 2002, Dharmendra Rai wrote: man perlregxp Have you tried this out? I had mentioned to you a few days earlier to not remove relevant parts of the post when replying. You continue in this fashion, people in this list will not know what you are replying too and this can only

Re: Strange error

2002-09-06 Thread John W. Krahn
Dharmendra rai wrote: man perlregxp $ man perlregxp No manual entry for perlregxp John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange error

2002-09-06 Thread Dharmendra Rai
go to www.perldoc.com/perl5.8.0/pod/perl.html and read perlre __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Strange error

2002-09-06 Thread Dharmendra Rai
well perlregxp( perl regular experssion which i wrote clearly) stands for 'perlre. __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail:

Re: Strange error

2002-09-06 Thread John W. Krahn
Dharmendra rai wrote: go to www.perldoc.com/perl5.8.0/pod/perl.html and read perlre Why, when /usr/lib/perl5/5.6.0/pod/perlre.pod and /usr/share/man/man1/perlre.1 are on my hard drive? John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Strange error

2002-09-06 Thread Dharmendra Rai
Then there is no problem :) Thanx __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Strange error

2002-09-05 Thread Lance Prais
All, I am experiencing the most bizarre problem with my perl script. I am running the below script on windows nt, that may be the root of the problem.. The script reads a file and checks to see it the words Sleeping for 10 seconds appears. If it appears four times in a row it sends a text

RE: Strange error

2002-09-05 Thread Lance Prais
: John W. Krahn [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: Re: Strange error Lance Prais wrote: I am experiencing the most bizarre problem with my perl script. I am running the below script on windows nt, that may be the root

strange error message on exiting script

2002-03-18 Thread Chas Owens
I am receiving a strange error on exiting a script: Attempt to free unreferenced scalar during global destruction. It only occurs after I make a DBI connection and run an SQL statement. I am undefing the statement handle and disconnecting the database handle. Does anyone have a clue what

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
I am receiving a strange error on exiting a script: Attempt to free unreferenced scalar during global destruction. It only occurs after I make a DBI connection and run an SQL statement. I am undefing the statement handle and disconnecting the database handle. use DBI; Does anyone have

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
On Mon, 2002-03-18 at 13:05, Jonathan E. Paton wrote: I am receiving a strange error on exiting a script: Attempt to free unreferenced scalar during global destruction. It only occurs after I make a DBI connection and run an SQL statement. I am undefing the statement handle

Re: strange error message on exiting script

2002-03-18 Thread John W. Krahn
Chas Owens wrote: I am receiving a strange error on exiting a script: Attempt to free unreferenced scalar during global destruction. It only occurs after I make a DBI connection and run an SQL statement. I am undefing the statement handle and disconnecting the database handle. Does

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
On Mon, 2002-03-18 at 14:21, John W. Krahn wrote: Chas Owens wrote: I am receiving a strange error on exiting a script: Attempt to free unreferenced scalar during global destruction. It only occurs after I make a DBI connection and run an SQL statement. I am undefing the statement

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
I am undefing the statement handle and disconnecting the database handle. Does anyone have a clue what this might be? perldoc perldiag [snip] Attempt to free unreferenced scalar (W internal) Perl went to decrement the reference count of a scalar to see if it would go to

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
I grepped the source code for undef and only got back these lines. app.pm: $sth = undef; app.pm: $sth = undef; app.pm: local($/) = undef; app.pm: return undef; app.pm: return undef; app.pm: return undef; app.pm: $row = undef;

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
On Mon, 2002-03-18 at 14:41, Jonathan E. Paton wrote: I grepped the source code for undef and only got back these lines. app.pm: $sth = undef; app.pm: $sth = undef; app.pm: local($/) = undef; app.pm: return undef; app.pm: return undef; app.pm:

Re[2]: strange error message on exiting script

2002-03-18 Thread Daniel Gardner
Monday, March 18, 2002, 7:21:51 PM, John W. Krahn wrote: perldoc perldiag [snip] Attempt to free unreferenced scalar (W internal) Perl went to decrement the reference count of a scalar to see if it would go to 0, and disĀ­ covered that it had already gone to 0 earlier, and

RE: strange error message on exiting script

2002-03-18 Thread David Gray
I am receiving a strange error on exiting a script: Attempt to free unreferenced scalar during global destruction. It only occurs after I make a DBI connection and run an SQL statement. I am undefing the statement handle and disconnecting the database handle. Does anyone have a clue