kumarsivarajan / mollify

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

Mollify WebDAV 2.4.4 module broken, htaccess missing #507

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems the WebDAV module does not work after upgrading to 2.4.4.
PHP error log says:
PHP Warning:  mkdir(): Permission denied in 
C:\PATH_TO_MOLLIFY\MOLLIFY\backend\dav\lib\Sabre\DAV\TemporaryFileFilterPlugin.p
hp on line 75

My Mollify WebDAV config is as follows, with other settings, it did not work at 
all:

    $ENABLE_LOCKING = TRUE;
    $ENABLE_BROWSER = FALSE;
    $ENABLE_TEMPORARY_FILE_FILTER = FALSE;
    $BASIC_AUTH = TRUE;

Original issue reported on code.google.com by Logic...@gmail.com on 4 Feb 2014 at 1:18

GoogleCodeExporter commented 8 years ago
Little confused, at issue 505 
(https://code.google.com/p/mollify/issues/detail?id=505) you say it worked, and 
now again not? The DAV plugin released with 2.4.4 
(https://bintray.com/samuli-jarvela/mollify/Mollify) should be the same as 
attached in issue 505.

Like I said, the error comes from the SabreDAV plugin. Don't know why the 
$ENABLE_TEMPORARY_FILE_FILTER don't work for you, but you could just edit the 
mollify_dav.php and comment out line 260.

Original comment by samuli.j...@gmail.com on 4 Feb 2014 at 2:05

GoogleCodeExporter commented 8 years ago
I actually said:
"it seems it does not matter if i set the temporaryfilefilter to TRUE or FALSE, 
it works both ways now, after using the changes you made in the 2 files."
which means that the option was broken for me already, meaning both ways worked 
fine. Something must have changed as it was working before and now it's not.

I'll try to compare the 2 files with my previous backups and see if they are 
similar or not.

Original comment by Logic...@gmail.com on 4 Feb 2014 at 2:13

GoogleCodeExporter commented 8 years ago
Found out the problem:
In your new WebDAV Module release, you have not included, for whatever reasons, 
.htaccess file with the following content:

RewriteEngine on 
RewriteRule ^(.+) index.php [L]

I Simply copied that file and placed it where it was with the old installation 
and everything works now.

Original comment by Logic...@gmail.com on 4 Feb 2014 at 2:23

GoogleCodeExporter commented 8 years ago
OK, that's due to the new build tool, Grunt. For some reason recursive copy 
does not include "hidden" files like .htaccess, I'll fix that.

Original comment by samuli.j...@gmail.com on 4 Feb 2014 at 2:46

GoogleCodeExporter commented 8 years ago
Fixed in http://dl.bintray.com/samuli-jarvela/mollify/mollify_webdav_2.4.6.zip

Original comment by samuli.j...@gmail.com on 19 Feb 2014 at 3:44

GoogleCodeExporter commented 8 years ago
For me it's still not fixed.
After downloading the webdav module, the .htaccess file is still not present in 
it.

Original comment by Logic...@gmail.com on 20 Feb 2014 at 2:22

GoogleCodeExporter commented 8 years ago
It's weird, I explicitly added the .htaccess file in the grunt build tool, and 
made sure it is copied in the dist package, but it did not make into zip 
package. Had to add it there as well.

Original comment by samuli.j...@gmail.com on 20 Feb 2014 at 6:16