Starting consistancy check...
Server beta.gilaupload.com (DELL) (ID=2)
++++
Found & fixed bad files1: 0
Reverse test: Error:
Software error:
syntax error at /var/www/cgi-bin/api.cgi line 115, near "Push @nofiles"
Global symbol "@nofiles" requires explicit package name at /var/www/cgi-bin/api.cgi line 117.
syntax error at /var/www/cgi-bin/api.cgi line 118, near "}"
Execution of /var/www/cgi-bin/api.cgi aborted due to compilation errors.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.
Server Download2(xeon) (ID=16)
++++++++
my api.cgi in beta.gilaupload.com
Code: Select all
sub CheckFiles <-- line 106
{
my $list = $q->param('list');
&Send('OK') unless $list;
my @arr = split(/:/,$list);
my @nofiles;
for my $x (@arr)
{
my ($file_id,$file_code)=split('-',$x);
my $dx = sprintf("%05d",$file_id/$c->{files_per_folder});
Push @nofiles,$file_code unless -f "$c->{upload_dir}/$dx/$file_code";
}
&Send("OK:".join ',',@nofiles ); <-- line 118
}