Not a bug

Error editing shares

manuelpeiro 3 years ago updated by Vlad R 3 years ago 4

When I click on "Share \ With users" option, in the context menu of a folder, a popup window appear with the "Loading..." label, but it get stuck here.

In the browser console I can read:

min.php?v=2019.12.25:4467 Uncaught TypeError: Cannot read property 'update' of undefined
at Object.FR.UI.persistentWindow (min.php?v=2019.12.25:4467)
at Object.shareWithUsers (min.php?v=2019.12.25:5283)
at constructor.config.handler (min.php?v=2019.12.25:1546)
at y.Event.fire (min.php?extjs=1&v=2019.12.25:2)
at e.fireEvent (min.php?extjs=1&v=2019.12.25:2)
at e.onClick (min.php?extjs=1&v=2019.12.25:2)
at e.onClick (min.php?extjs=1&v=2019.12.25:2)
at HTMLUListElement.b (min.php?extjs=1&v=2019.12.25:2)
FR.UI.persistentWindow @ min.php?v=2019.12.25:4467
shareWithUsers @ min.php?v=2019.12.25:5283
config.handler @ min.php?v=2019.12.25:1546
fire @ min.php?extjs=1&v=2019.12.25:2
fireEvent @ min.php?extjs=1&v=2019.12.25:2
onClick @ min.php?extjs=1&v=2019.12.25:2
onClick @ min.php?extjs=1&v=2019.12.25:2
b @ min.php?extjs=1&v=2019.12.25:2


Under review

I recommend checking the PHP error log for FileRun-related entries. I am afraid it's too little information at this point.

Here is the last lines of the log:

[Wed Jun 10 12:07:44.149351 2020] [php7:error] [pid 745] [client] PHP Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/system/data/temp/smarty/wrt5ee0cd102418b3_46688151 <-- \n thrown in /var/www/html/system/classes/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 49, referer: https://XxXxXxX/ - - [10/Jun/2020:12:07:44 +0000] "POST /?module=share&_popup_id=folderShare HTTP/1.1" 500 295 "XxXxXxX" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 OPR/68.0.3618.125"

I have FileRun under Docker.

Thank you.

Not a bug

The folder "/var/www/html/system/data" (wherever you mounted "/var/www/html" from the container to your server) is not writable by PHP. How you set the right permissions for fixing that depends on your configuration.

It works!

Thank you very much!