FilePicker workaround? Topic is solved

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
andrewvideouk
Forum Members
Forum Members
Posts: 155
Joined: Thu Aug 20, 2020 10:49 pm

FilePicker workaround?

Post 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
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: FilePicker workaround?

Post by velden »

What about just leaving it empty if the default path is the one you need?
Post Reply

Return to “Modules/Add-Ons”