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
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
-
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
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
-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
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
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
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 '
);
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 =~
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
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
[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,
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?
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
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),
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?
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.
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
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.
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.
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
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);
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
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
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]
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
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]
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
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:
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
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:
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
: 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
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
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
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
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
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
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
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;
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:
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
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
43 matches
Mail list logo