Active
Project:
File viewer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2011 at 09:19 UTC
Updated:
13 May 2011 at 07:21 UTC
I used a command line from poppler which is only available in Linux in hook _file_update
I use this way to flush file in my module fileviewer, and if I run it in windows, the database lost most tables.
foreach (db_select('file_managed', 'fid')->fields('fid', array('fid'))->execute()->fetchCol() as $fid){
$file = file_load($fid);
fileviewer_file_update($file);
}
Comments
Comment #1
shenzhuxi commentedHere is my module
http://drupal.org/project/fileviewer
Comment #2
lyricnz commentedLooks like an issue with your module. Come back if you can reproduce, and believe that core is misbehaving.