wownotown
Forum Replies Created
-
Thanks Tobias!
That worked perfect and everything is now showing properly.
Jeff
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareI would still love to troubleshoot this to see if we can make your plugin work, but I just had one of our internal developers take a look at it and he was able to get it working writing a custom script. He said the reason it didn’t work was because PHP cannot pull the information from a remote server, only on a local server. He performed a hack to get it to work similar to DirectoryIndex that Apache uses, but obviously it doesn’t look or work as nice as your plugin with local directories.
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareI wonder is this has anything to do with the way the code detects directories? I installed a php program called dirList just to see and it shows up like this. The test directory is the one that is mounted as a cifs share.
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareMade the change but still get a blank template page without any php errors.
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB sharePutting this code in a file called scan_dir.php results in a listing of the files and directories which can be downloaded, but it doesn’t tie into WordPress and the directories don’t works without allowing Apache to do DirectoryIndexing.
<?php
$files = scandir(‘/www/leugardens/wp-content/test’);
sort($files); // this does the sorting
foreach($files as $file){
echo’‘.$file.’
‘;
}
?>Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareThanks for helping. That didn’t seem to make a change. We are no longer getting any php errors when running the plugin, but it still just shows a blank template page without any file or directory listings.
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareI deleted my php_errors.log so it would start with a new one after adding recursive=”true” and now php is no longer logging the errors to the file. I will have to fix this first and then I will let you know. Adding recurive=”true” still shows a blank page though, instead of a file listing.
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareI installed the most recent and still get the following errors and a blank page when the files exist on a cifs share.
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filemtime(): stat failed for wp-content/test/xcenda in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 203
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filesize(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 201
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filemtime(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 201
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filemtime(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 202
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filemtime(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 203
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filemtime(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 203Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareI will update the version. The shortcode is simply
[fileaway]
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareAlso, what is filesize then? The plugin also complains about that.
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filesize(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 201
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareWhat is filemtime then? That is what the plugin complains about.
[09-Oct-2014 11:48:48 America/New_York] PHP Warning: filemtime(): stat failed for wp-content/test/xcendavpn in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/file-away.php on line 203
Forum: Plugins
In reply to: [File Away] Plugin does not list files that are mounted on a SMB shareThat works just fine. This was the output of the cifs filesystem that is mounted.
Array ( [0] => . [1] => .. [2] => Forklift [3] => NG [4] => OutlookProfileConfigTool.exe [5] => UrlRewriter.config [6] => VPNProfiles [7] => adrian [8] => alj [9] => atp [10] => baaqmd [11] => berckmans_place [12] => bryan.quilty [13] => cheesecake-factory [14] => dubaidf [15] => edurent [16] => globalme [17] => indianwells [18] => jmi [19] => jop [20] => lightmaker-investment-manager [21] => lightmakerusa [22] => lmtennis [23] => lpga [24] => mayoclinic [25] => mcafee_partner_plugins [26] => mobileTesting [27] => nationalgrid [28] => orlandohealth [29] => robots.txt [30] => sonos [31] => tt [32] => usga [33] => v3 [34] => wta [35] => xcenda [36] => xcendavpn ) Array ( [0] => xcendavpn [1] => xcenda [2] => wta [3] => v3 [4] => usga [5] => tt [6] => sonos [7] => robots.txt [8] => orlandohealth [9] => nationalgrid [10] => mobileTesting [11] => mcafee_partner_plugins [12] => mayoclinic [13] => lpga [14] => lmtennis [15] => lightmakerusa [16] => lightmaker-investment-manager [17] => jop [18] => jmi [19] => indianwells [20] => globalme [21] => edurent [22] => dubaidf [23] => cheesecake-factory [24] => bryan.quilty [25] => berckmans_place [26] => baaqmd [27] => atp [28] => alj [29] => adrian [30] => VPNProfiles [31] => UrlRewriter.config [32] => OutlookProfileConfigTool.exe [33] => NG [34] => Forklift [35] => .. [36] => . )
Forum: Plugins
In reply to: [File Away] Installed plugin, but it says nothing found in directoryDo you need access to the WordPress site or the Linux box?
Send me your e-mail and I can send you credentials.
Jeff
Forum: Plugins
In reply to: [File Away] Installed plugin, but it says nothing found in directoryI did and have the same problem. Either a blank page or a Debug page if I enable debug. These were the php_error.log messages I see on the server.
[08-Aug-2014 18:05:25 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/reference-functions.php on line 14
[08-Aug-2014 14:05:25 America/New_York] PHP Notice: Undefined index: ssfa_playback_script in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/fileaplay.php on line 11
[08-Aug-2014 18:06:04 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/reference-functions.php on line 14
[08-Aug-2014 18:06:05 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/reference-functions.php on line 14
[08-Aug-2014 18:06:23 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/reference-functions.php on line 14
[08-Aug-2014 18:06:24 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/leugardens/wp-content/plugins/file-away/includes/reference-functions.php on line 14Forum: Plugins
In reply to: [File Away] Installed plugin, but it says nothing found in directory