Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-25, 08:34:00

Author Topic: Zip file with spaces causes white page when trying to unpack  (Read 1816 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Please see.

« Last Edit: 2015-01-26, 13:59:33 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Yes, need modified '/usr/local/lxlabs/kloxo/httpdocs/driver/pserver/ffile__commonlib.php':

from:
Code: [Select]
if ($this->main->ttype === "zip") {
$cmd = "/usr/bin/unzip -oq $fullpath";
} else {
$cmd = "/bin/tar -xzf $fullpath";
}

to:
Code: [Select]
if ($this->main->ttype === "zip") {
$cmd = "/usr/bin/unzip -oq '$fullpath'";
} else {
$cmd = "/bin/tar -xzf '$fullpath'";
}
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.026 seconds with 18 queries.

web stats analysis