[Owncloud] help for debugging needed

Frank Karlitschek frank at owncloud.org
Fri May 18 10:11:18 UTC 2012


On 18.05.2012, at 12:08, Georg Ehrke <ownclouddev at georgswebsite.de> wrote:

> 
> Am 18.05.2012 um 12:07 schrieb Frank Karlitschek:
> 
>> 
>> On 18.05.2012, at 11:57, Georg Ehrke <ownclouddev at georgswebsite.de> 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?
> I meant OC.linkTo,
> It's fixed (https://gitorious.org/owncloud/owncloud/commit/73a72054a3e08b62e4f28c9c622f98b4737efeff)


Works now!
Thanks :-)



>> 
>> 
>> 
>>> 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
>>>> Owncloud at kde.org
>>>> https://mail.kde.org/mailman/listinfo/owncloud
> 




More information about the Owncloud mailing list