anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Automatic configuration check #433

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. upload a file in mollify
2. download it

What is the expected output? What do you see instead?

Same file with a newline (0a) at the begining of the file and the last byte is 
lost

  The file on the server is correct. And if I download as a zip file, it works.

What version of the product are you using? On what operating system?

mollify_1.8.9.3.zip
Scientific Linux 6.3 

Original issue reported on code.google.com by bidou.bi...@free.fr on 22 Jan 2013 at 3:07

GoogleCodeExporter commented 9 years ago
Sounds like 
http://code.google.com/p/mollify/wiki/Troubleshooting#Downloaded_files_are_corru
pted

Original comment by samuli.j...@gmail.com on 23 Jan 2013 at 1:46

GoogleCodeExporter commented 9 years ago
Exact. There was a new line at the end of backend/configuration.php
My fault.

As improvment I suggest mollify check configuration.php for characters outside 
<?php ?>

Original comment by bidou.bi...@free.fr on 23 Jan 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Actually there is check.php that does this, but not automatically. Doing it 
automatically on every request is not an option, but basically 
installer/updater could do it.

Original comment by samuli.j...@gmail.com on 1 Feb 2013 at 2:15