CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#11440] Invalid path in global settings causes fatal error in FilePicker

avatar
Created By: stephen cooper (scooper)
Date Submitted: Tue Jun 27 07:26:32 -0400 2017

Assigned To:
Version: 2.2.1
CMSMS Version: 2.2.1
Severity: Minor
Resolution: Accepted
State: Open
Summary:
Invalid path in global settings causes fatal error in FilePicker
Detailed Description:
In the admin go to Site Admin -> Settings Global Settings -> Content Editing
Settings and set the value for 'Path for the {page_image} tag:' to a
non-existent directory.

Then open a content page for editing and try and change the page image under the
'Options' tab. The filepicker modal window appears but dies with a fatal erro:

Fatal error: Uncaught exception 'LogicException' with message 'Invalid topdir
passed to FilePicker\PathAssistant ...  FilePicker/lib/class.PathAssistant.php
on line 11


History

Updates

Updated: 2021-10-25 10:27
resolution_id: => 6