On 18.05.2012, at 11:57, Georg Ehrke <[email protected]> wrote:

> Hi Frank
> Am 18.05.2012 um 11:46 schrieb Frank Karlitschek:
> 
>> Hi,
>> 
>> I need some help for debugging a strange behavior that I don't understand.
>> Please click on the "All versions"  button on the history dropdown of a file 
>> on current master
>> 
>> The button links to an url similar to this:
>> /owncloud/apps/files_versions/history.php?path=/hfghhggfhgh
> 1.
> On line 28 of versions.js you should take the parameters out of the 
> OC.filePath call. 

Not sure what you mean. There is no OC.filePath in line 28
Can you look into this please?



> 2.
> You use nginx, right?
> There is a RewriteRule 
> (/owncloud/apps/files_versions/history.php?path=/hfghhggfhgh -> 
> /owncloud/?app=files_versions&getfile=history.php&path=/hfghhggfhgh) which 
> (probably) doesn't work with nginx.

No. I use apache.
But we shouldn´t rely on rewrite rules to make this work. rewrite rules don´t 
work always and are not portable
So the best would be to remove them completely so that we can check what breaks.





>> 
>> 
>> unsurprisingly the page shows this error:
>> Fatal error: Class 'OCP\User' not found in 
>> /var/www/owncloud/owncloud/apps/files_versions/history.php on line 24
>> 
>> This makes sense because history.php doesn´t include any of our libraries or 
>> sets any include path.
>> This should only work with the movable apps systematic "?apps=foo&file=bar"
>> 
>> Can someone reproduce this behavior? Because it seems that this is working 
>> for everybody else beside me. ;-)
>> 
>> Thanks for the feedback
>> 
> Cheers,
> Georg
>> 
>> Frank
>> _______________________________________________
>> Owncloud mailing list
>> [email protected]
>> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to