hickersonj
Forum Replies Created
-
Forum: Plugins
In reply to: [File Away] Filename caseMany thanks!! I never anticipate mods to be done quickly when it is free work, this is a hobby I understand. 🙂 Looking forward to it.
Forum: Plugins
In reply to: [File Away] Filename caseOh ok awesome thanks!!
Forum: Plugins
In reply to: [File Away] Filename caseHmm, I have a number of new files that are automatic uploads to my server. Renaming them manually during these uploads would be quite tedious. So just to be clear there is no option to display the filename as is on the server?
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayIt works thanks!! Got tied up yesterday and today but yes verified it works for the old directories listing I have as well as the larger files. Though if someone wants to see size and modification information for today it won’t be there for the larger files.
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayThis is the version:
[builder@csbuild ~]$ php --version PHP 5.5.15 (cli) (built: Jul 24 2014 12:51:59)Is your server a 64bit OS? If so I’d expect it to work since integers on that platform are 64bit which allow 2GB+ size by default.
I just got back too haha.
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayI got it to work with a couple of changes, but looking through the code I can see there will be other changes for filesize etc i.e. where filemtime is called etc.
Here is some debug output:Warning: filemtime(): stat failed for fedora/09.pdf in /var/www/html/changelog/wp-content/plugins/file-away/lib/inc/inc.file-array.php on line 21 Warning: filemtime(): stat failed for fedora/Fedora-10-i386-DVD.iso in /var/www/html/changelog/wp-content/plugins/file-away/lib/inc/inc.file-array.php on line 21 Warning: filemtime(): stat failed for fedora/Fedora-11-i386-DVD.iso in /var/www/html/changelog/wp-content/plugins/file-away/lib/inc/inc.file-array.php on line 21 Warning: filemtime(): stat failed for fedora/Fedora-12-i386-DVD.iso in /var/www/html/changelog/wp-content/plugins/file-away/lib/inc/inc.file-array.php on line 21 Warning: filemtime(): stat failed for fedora/Fedora-13-i386-DVD.iso in /var/www/html/changelog/wp-content/plugins/file-away/lib/inc/inc.file-array.php on line 21 Warning: filemtime(): stat failed for fedora/Fedora-14-i386-DVD.iso in /var/www/html/changelog/wp-content/plugins/file-away/lib/inc/inc.file-array.php on line 21So the couple of modifications were in:
inc.file-array.php line 12:
if(!$excluded && is_readable($dir.'/'.$slices['basename']))
and
class.fileaway.php line 112:
if(!$dynamiclink && (is_dir($dir.'/'.$file) || $thename == '')) continue;This is using shortcode directories=”on”, I didn’t update your recursive directory function I was a bit lazy for debugging 🙂
Thanks for taking the time to look into this!
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayHmm maybe I’m drilling down to the problem:
http://php.net/manual/en/function.is-file.phpAnd in the recursefile function from the class.fileaway_utility.php it checks if the file really is a file then adds it, if I’m not mistaken (line 355):
foreach($files_array as $file) { if(<strong>is_file</strong>($file)) $files[] = $file; }Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayOh it’s too bad you can’t just dd the file directly on your server.
I just hope it’s not some OS library issue, it is a 32bit Fedora 20 distro, but file scans should still show they are > 2GB. Especially since apache is doing it fine, just not sure how php handles this…
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayHere is the output when refreshing the page with the shortcode:
[10-Oct-2014 20:44:02 UTC] PHP Notice: get_bloginfo was called with an argument that is <strong>deprecated</strong> since version 2.2! The <code>home</code> option is deprecated for the family of <code>bloginfo()</code> functions. Use the <code>url</code> option instead. in /var/www/html/changelog/wp-includes/functions.php on line 3318 [10-Oct-2014 20:44:02 UTC] PHP Notice: get_settings is <strong>deprecated</strong> since version 2.1! Use get_option() instead. in /var/www/html/changelog/wp-includes/functions.php on line 3201Forum: Plugins
In reply to: [File Away] New Window option not opening a new windowYes that worked! Thanks! Been busy so I’ll try the debug for the other issue soon too.
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayI can look into how to, I haven’t done that before though.
Forum: Plugins
In reply to: [File Away] New Window option not opening a new windowYes I do have statistics enabled, but I haven’t received an email (it hasn’t been a week). And thanks I will clean up the shortcode even more.
Forum: Plugins
In reply to: [File Away] Large files > 2 GB do not displayMaybe through some php or other configuration? If I simply use the server directory listing (using apache) these files show up, just not with File Away, which of course has a way better looking interface and options 🙂
Forum: Plugins
In reply to: [File Away] New Window option not opening a new windowGood question, I was playing around with flightbox but took that out, forgot to take out the boxtheme. After updating/removing boxtheme it didn’t make a difference.
Forum: Plugins
In reply to: [File Away] New Window option not opening a new windowWow such a quick response that’s awesome didn’t expect that.
Here is my shortcode:
[fileaway directories="on" recursive="on" sortfirst="mod-desc" width="50" textalign="left" paginate="on" pagesize="8" images="none" boxtheme="silver-bullet" theme="silver-bullet" color="red" hcolor="green" accent="green" iconcolor="silver"]