You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.
Hi, I`m try to create and automatic set a current folder based on year/month. When user open kcfinder, year/month (2019/03) folder automatic open and show images. If images, images/2019/03 if files files/2019/03.
in config.php add directive after theme to show/hide folders base on year/month: 'theme' => "default", 'uploads_use_yearmonth_folders' => true,
The problem is in the session, even being correct with the folder, the files are not loaded, and thus generates an error in js/50.init.js, because there is no return of the data in json.
Opening the core/class/browse.php file, init function, when I use print_r in the $data array, has data for files and folders, but it`s not passed to javascript to view the files, causing unknow error in 50.init.js.
If you do not have this year / month setting everything works ok. If I click on any folder, it also works ok.
Any idea what I can do to solve it?
The text was updated successfully, but these errors were encountered:
Hi, I`m try to create and automatic set a current folder based on year/month. When user open kcfinder, year/month (2019/03) folder automatic open and show images. If images, images/2019/03 if files files/2019/03.
in config.php add directive after theme to show/hide folders base on year/month:
'theme' => "default", 'uploads_use_yearmonth_folders' => true,
in core/class/browser.php, action function:
`
public function action() {
The problem is in the session, even being correct with the folder, the files are not loaded, and thus generates an error in js/50.init.js, because there is no return of the data in json.
Opening the core/class/browse.php file, init function, when I use print_r in the $data array, has data for files and folders, but it`s not passed to javascript to view the files, causing unknow error in 50.init.js.
If you do not have this year / month setting everything works ok. If I click on any folder, it also works ok.
Any idea what I can do to solve it?
The text was updated successfully, but these errors were encountered: