Thanks.
Is WP_DEBUG_DISPLAY
set to true or false? If, true, set to false and try again.
You can get rid of that notice in line 29 of class.fileaway_definitions.php by changing the line to:
$image = !empty($GLOBALS['is_safari']) ? 'b' : '1';
But it shouldn’t be affecting the bulk download stuff.
Otherwise, everything looks fine as far as bulk downloads are concerned, but I am unable to reproduce your error.
To troubleshoot further, open up wp-content/plugins/file-away/lib/cls/class.fileaway_management.php
Find the function: private function bulkdownload()
Find these lines within that function:
if(strpos($file, '..') !== false) continue;
if(strpos($file, '/') === false) continue;
if(stripos($file, '.php') !== false) continue;
if(stripos($file, 'wp-config') !== false) continue;
if(stripos($file, 'wp-admin') !== false) continue;
if(stripos($file, 'wp-includes') !== false) continue;
if(is_file(fileaway_utility::dirname($rootpath.$file).'/wp-config.php')) continue;
if(empty($_POST['loc_nonce']) || !fileaway_utility::verify_location_nonce($_POST['loc_nonce'],$file,array($rootpath,$chosenpath))) continue;
if(!fileaway_utility::realpath(fileaway_utility::dirname($file),$rootpath,$chosenpath)) continue;
Comment them all out, like so:
//if(strpos($file, '..') !== false) continue;
//if(strpos($file, '/') === false) continue;
//if(stripos($file, '.php') !== false) continue;
//if(stripos($file, 'wp-config') !== false) continue;
//if(stripos($file, 'wp-admin') !== false) continue;
//if(stripos($file, 'wp-includes') !== false) continue;
//if(is_file(fileaway_utility::dirname($rootpath.$file).'/wp-config.php')) continue;
//if(empty($_POST['loc_nonce']) || !fileaway_utility::verify_location_nonce($_POST['loc_nonce'],$file,array($rootpath,$chosenpath))) continue;
//if(!fileaway_utility::realpath(fileaway_utility::dirname($file),$rootpath,$chosenpath)) continue;
Save. Then try a bulk download. If it works, uncomment one line at a time, save, retry bulk download, and repeat, until it doesn’t work again. Narrow it down to find out which one (or more) of these lines are preventing the bulk download from working.
It will likely be one of these two:
if(empty($_POST['loc_nonce']) || !fileaway_utility::verify_location_nonce($_POST['loc_nonce'],$file,array($rootpath,$chosenpath))) continue;
if(!fileaway_utility::realpath(fileaway_utility::dirname($file),$rootpath,$chosenpath)) continue;
If that’s the case, we will have further troubleshooting to do. Let me know your results.
Or … if you want me to troubleshoot for you, send an email to [email protected]