jmyeom

fix for filetypes

Sep 5th, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. so... you messed up your normal filetypes?...
  2.  
  3. delete them all, now go to sql query, and run these(do each one separately..., and put your prefix before filetypes if you have one i.e `prefixfiletypes`)
  4.  
  5. INSERT INTO `filetypes` (`id`, `filetype`, `mime`, `image`, `image_w`, `image_h`, `force_thumb`) VALUES ('1', 'jpg', '', '', '0', '0', '0');
  6.  
  7. INSERT INTO `filetypes` (`id`, `filetype`, `mime`, `image`, `image_w`, `image_h`, `force_thumb`) VALUES ('2', 'gif', '', '', '0', '0', '0');
  8.  
  9. INSERT INTO `filetypes` (`id`, `filetype`, `mime`, `image`, `image_w`, `image_h`, `force_thumb`) VALUES ('3', 'png', '', '', '0', '0', '0');
  10.  
  11.  
  12. should now work :)
Advertisement
Add Comment
Please, Sign In to add comment