View Single Post
  #1  
Old 04-27-2021, 09:01 PM
Mokugsm2
Fire Beetle
 
Join Date: Jun 2014
Posts: 1
Default Installer Error: Line 2132

Hi All,

I ran into some trouble trying to set up a windows server using the guide.

When I run the installer, I get the following error: read error at eqemu_server.pl line 2132.

In looking at line 2132: its the following script:

{
$archive_to_unzip = $_[0];
$dest_folder = $_[1];

if ($OS eq "Windows") {
eval "use Archive::Zip qw( :ERROR_CODES :CONSTANTS )";
my $zip = Archive::Zip->new();
unless ($zip->read($archive_to_unzip) == AZ_OK) {
die 'read error';
}
print "[Unzip] Extracting...\n";
$zip->extractTree('', $dest_folder);
}
if ($OS eq "Linux") {
print `unzip -o -q "$archive_to_unzip" -d "$dest_folder"`;
}
}


Is anyone able to assist with this problem? I appreciate any insight you may have.

Thanks
Reply With Quote