CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#12717] Path names with whitespaces cause fatal error in admin

avatar
Created By: Stephan (10010110)
Date Submitted: Sun May 26 02:53:10 -0400 2024

Assigned To: Fernando Morgado (JoMorg)
Version: 2.2.20
CMSMS Version: 2.2.20
Severity: Minor
Resolution: Won't Fix
State: Closed
Summary:
Path names with whitespaces cause fatal error in admin
Detailed Description:
If the path where the CMS is installed contains whitespaces, there will be a
fatal PHP error if you are using the admin area:

“Fatal error: Uncaught --> Smarty: Plugin 'smarty_cms_function_cms_action_url'
not callable <-- thrown in /path with
whitespace/lib/smarty/sysplugins/smarty_internal_template.php on line 469“

I have reported this issue and done some investigation on the forum at
https://forum.cmsmadesimple.org/viewtopic.php?p=350617#p350617

Apparently whitespaces in paths are removed by the parser which makes them
invalid and therefore cause the system to not find plugins or something like
that.

This is happening on an Apache server on Mac for me.


History

Comments
avatar
Date: 2024-09-04 12:09
Posted By: Chris Taylor (chrisbt)

Hi Stephan, we reviewed this in the Developer Team meeting this morning and
decided that we prefer not to resolve this particular issue. It would require a
mod to Smarty that we would prefer not to support ongoing to solve this edge
case of having a space in the path name. Sorry if this is an issue for you.
Please feel free to DM me on Slack (or other) if you want to continue the
discussion.
Cheers 
Chris
      
Updates

Updated: 2024-09-04 12:09
resolution_id: => 8
severity_id: 12 => 3
state: Open => Closed