Forum: help
Monitor Forum | Start New ThreadBy: Franck Villaume on 2016-10-13 06:32 | [forum:967] |
Hi, both links result to garbaged files. however mime-types look ok. Franck |
By: T Hing on 2016-10-13 00:55 | [forum:965] |
Hi Franck, Thanks for your help. Can you take a look at these links and confirm that it might be a mimetype issue or some other issue. I'm considering upgrading viewvc 1.0 to the latest, but wanted to attempt to fix the problem with the current version first. The first link is to a powerpoint file and it contains garbage when I download and then open. https://simtk.org/scm/viewvc.php/*checkout*/doc/presentations/IMAG_Status_Update_06022015.pptx?root=cpms https://simtk.org/scm/viewvc.php/*checkout*/doc/img/cpms_logo.png?root=cpms Thanks, Tod |
By: T Hing on 2016-09-21 18:11 | [forum:959] |
okay thanks Franck. I've tried svn_ignore_mimetype = 0, but can't confirm the svn:mime-type property is set on the file. Another person suggested that I upgrade from ViewVC 1.0.0 to 1.1.25. I will probably try that since I am not having any luck with the mimetypes. |
By: Franck Villaume on 2016-09-21 15:32 | [forum:958] |
http://www.viewvc.org/faq.html#mime-type-determination svn:mime-type property may be a solution. |
By: T Hing on 2016-09-21 06:59 | [forum:957] |
The powerpoint and excel files are okay when I use svn from command line to check out files. The issue is when I used ViewVC to download the powerpoint and excel files. |
By: Franck Villaume on 2016-09-21 06:49 | [forum:956] |
svn property is purely subversion command. http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html |
By: T Hing on 2016-09-20 22:19 | [forum:955] |
I don't believe I am. Should I place that in my /etc/mime.types file? What exactly is the format? I did a google search and didn't see a good example. Thanks. |
By: Franck Villaume on 2016-09-20 21:52 | [forum:954] |
hi, i was refering to svn:mime-type property. Are you using it? |
By: T Hing on 2016-09-20 21:49 | [forum:953] |
yes I have these entries in my /etc/mime.types file: application/vnd.openxmlformats-officedocument.presentationml.presentation pptx application/vnd.openxmlformats-officedocument.presentationml.slide sldx application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx application/vnd.openxmlformats-officedocument.presentationml.template potx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx application/vnd.openxmlformats-officedocument.wordprocessingml.document docx application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx |
By: Franck Villaume on 2016-09-20 07:00 | [forum:952] |
questions: did you looked at http://www.viewvc.org/faq.html#openxml-downloads ? Did you set the svn:mime-type? |
By: T Hing on 2016-09-19 20:57 | [forum:951] |
When using ViewVC 1.0.0 to download a powerpoint presentation or excel file, and then opening the file I only see garbage or raw data in the file. I checked my /etc/mime.types file and the corresponding pptx and xlsx types are there. I also increased the memory limit in my php.ini as suggested in another post. I used an svn client to checkout the file, and was able to open the pptx and xlsx files cleanly. Is there a way to confirm that the ViewVC is reading my /etc/mime.types files correctly? Any other suggestions would be helpful in resolving this issues. Thanks, Tod |