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: None
Resolution: None
State: Open
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