Jump to content

Recommended Posts

Posted

If you'll add this to the script that gets executed, it will create an error.txt file with the errors.

 

BEGIN { 
use CGI::Carp qw(carpout); 
use diagnostics;
open(LOG, ">errors.txt"); 
carpout(LOG);
close(LOG);
}

 

Posted

The only other log file you can access would be the Error log file at your cpanel. Did you try that code I posted to you? It will give you a better explanation of your errors than your Error log file.

 

Guest Geoff
Posted

"my" variable $bytes masks earlier declaration in same scope at dslogs.pl line
    180 (#1)
    (W misc) A "my" or "our" variable has been redeclared in the current
    scope or statement, effectively eliminating all access to the previous
    instance.  This is almost always a typographical error.  Note that the
    earlier variable will still exist until the end of the scope or until
    all closure referents to it are destroyed.
    
[Thu Mar 17 09:24:07 2011] dslogs.pl: "my" variable $bytes masks earlier declaration in same scope at dslogs.pl line 180.
Uncaught exception from user code:
    [Thu Mar 17 09:24:07 2011] dslogs.pl: 
[Thu Mar 17 09:24:07 2011] dslogs.pl: dslogs.pl [options] log1, log2, ..
[Thu Mar 17 09:24:07 2011] dslogs.pl: 
[Thu Mar 17 09:24:07 2011] dslogs.pl: where:
[Thu Mar 17 09:24:07 2011] dslogs.pl: --domain      the domain name of the site (as in mydomain.com)
[Thu Mar 17 09:24:07 2011] dslogs.pl: --history     the file to store the date cursors for logs
[Thu Mar 17 09:24:07 2011] dslogs.pl: --ignore      a |-separated list of extensions to ignore (i.e gif|jpg)
[Thu Mar 17 09:24:07 2011] dslogs.pl: --index       the default index filename      
[Thu Mar 17 09:24:07 2011] dslogs.pl: --intref      if present internal referrers will not be ignored
[Thu Mar 17 09:24:07 2011] dslogs.pl: --modified    the file to store the list of modified summaries
[Thu Mar 17 09:24:07 2011] dslogs.pl: --reports     the root of the directory tree for the reports
[Thu Mar 17 09:24:07 2011] dslogs.pl: --overwrite   overwrite old summaries (do not update incrementally)
[Thu Mar 17 09:24:07 2011] dslogs.pl: --zip         the program to use for compression
[Thu Mar 17 09:24:07 2011] dslogs.pl: --unzip       the program to use for decompression
at /usr/local/lib/perl5/5.8.8/CGI/Carp.pm line 379
    CGI::Carp::realdie('[Thu Mar 17 09:24:07 2011] dslogs.pl: \x{a}[Thu Mar 17 09:24:07 2...') called at /usr/local/lib/perl5/5.8.8/CGI/Carp.pm line 475
    CGI::Carp::die('\x{a}dslogs.pl [options] log1, log2, ..\x{a}\x{a}where:\x{a}--domain      the...') called at dslogs.pl line 89

 

 

Maybe you should try looking at line 180.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...