Page 1 of 1

FilePicker workaround?

Posted: Sat Sep 19, 2020 11:25 am
by andrewvideouk
Hi guys

The filepicker crashes in Edit Content >> options When enter Path for the {page_image} tag in Settings - Global Settings.

I tried

/images/ , images , uploads/images , /uploads/images/, /uploads/images

The path is uploads/images for everyrhing.

The bug is kown for awhile
http://dev.cmsmadesimple.org/bug/view/11440

I am using {cms_module module=FilePicker profile="Images"} and works great for MicroTiny.

Code: Select all

Fatal error: Uncaught LogicException: Invalid topdir passed to FilePicker\PathAssistant::__construct in /home/backdrop/public_html/modules/FilePicker/lib/class.PathAssistant.php:11 Stack trace: #0 /home/backdrop/public_html/modules/FilePicker/action.filepicker.php(73): FilePicker\PathAssistant->__construct(Object(cms_config), '/home/backdrop/...') #1 /home/backdrop/public_html/lib/classes/class.CMSModule.php(1403): include('/home/backdrop/...') #2 /home/backdrop/public_html/lib/classes/class.CMSModule.php(1479): CMSModule->DoAction('filepicker', 'm1_', Array, '') #3 /home/backdrop/public_html/admin/moduleinterface.php(106): CMSModule->DoActionBase('filepicker', 'm1_', Array, '', Object(Smarty_CMS)) #4 {main} thrown in /home/backdrop/public_html/modules/FilePicker/lib/class.PathAssistant.php on line 11
Thank you

Re: FilePicker workaround?

Posted: Sat Sep 19, 2020 11:30 am
by velden
What about just leaving it empty if the default path is the one you need?