{startExpandCollapse} Doesn't Work After Upgrade

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
montedavis
Forum Members
Forum Members
Posts: 64
Joined: Wed Jul 03, 2013 7:44 pm

{startExpandCollapse} Doesn't Work After Upgrade

Post by montedavis »

Hello,

I recently upgraded from 1.11.13 to 1.12.2. then to 2.2.15. On the original site I had collapsible menus working using {startExpandCollapse} and {stopExandCollapse}

I also had the following in the template:
{cms_jquery exclude='jquery-ui.min.js,jquery.ui.nestedSortable.js,jquery.json.min.js' append='uploads/simplex/js/functions.min.js'}

After the upgrades I receive a blank page.

I'm stuck as I can't seem to find a way to get the collapsible menus to show again.

My hunch is that there is a conflict between one of the .js files and the functions.min.js file

I tried "excluding" I tried "excluding" .js files like: jquery.mjs.nestedSortable.js that are added by the {cms_jquery} tag but the exclusing did not work.

The following are the .js files showing in my parsed code where the {cms_jquery} tag is:

<__script__ type="text/javascript" src="/lib/jquery/js/jquery-1.11.1.min.js"></__script>
<__script__ type="text/javascript" src="/lib/jquery/js/jquery.mjs.nestedSortable.js"></__script>
<__script__ type="text/javascript" src="/lib/jquery/js/jquery.json-2.4.min.js"></__script>
<__script__ type="text/javascript" src="/lib/jquery/js/jquery-migrate-1.2.1.min.js"></__script>
<__script__ type="text/javascript" src="uploads/simplex/js/functions.min.js"></__script>

Thank you!

Monte


System info below:

CMSMS Version 2.2.15

Installed Modules
AdminSearch 1.0.5
CGCalendar 2.6.2
CGExtensions 1.65.2
CGSimpleSmarty 2.2.1
CMSContentManager 1.1.9
CMSMailer 6.2.14
CmsJobManager 0.1.3
DesignManager 1.1.9
FileManager 1.6.12
FilePicker 1.0.5
FormBuilder 1.1.1
MenuManager 1.50.3
MicroTiny 2.2.5
ModuleManager 2.1.8
Navigator 1.0.9
News 2.51.11
Search 1.52
ThemeManager 1.1.8
TinyMCE 3.3.2

CMS Made Simple Config Settings
php_memory_limit
max_upload_size 256000000
url_rewriting none
page_extension
query_var page
auto_alias_content true
locale
set_names true
timezone America/New_York
permissive_smarty false
debug false
root_url https://hamiltoncountypd.org
ssl_url https://hamiltoncountypd.org
root_path Success /home/customer/www/hamiltoncountypd.org/public_html (0755)
uploads_path Success /home/customer/www/hamiltoncountypd.org/public_html/uploads (0755)
uploads_url https://hamiltoncountypd.org/uploads
image_uploads_path Success /home/customer/www/hamiltoncountypd.org/public_html/uploads/images (0755)
image_uploads_url https://hamiltoncountypd.org/uploads/images
ssl_uploads_url https://hamiltoncountypd.org/uploads

Performance and Tuning Information (recommended settings, but not required)
Allow Browser to Cache Pages Caution Off (False)
Allowing browsers to cache pages will improve performance by not requiring your system to serve the page on repeated visits to a page.
Browser Cache Expiry Period (minutes) Success 60
PHP 5.5+ Opcode Cache Success On (True)
Enable Smarty Caching Caution Off (False)
Enabling Smarty caching can have serious performance benefits for most websites.
Do a Compilation Check Success Off (False)
Remove cache files that are older than the specified number of days Caution Off (False)
The system should be configured to destroy old temporary files after a reasonable time to improve performance and minimize disk space requirements

PHP Information
Current PHP Version (phpversion) Success 7.4.27
md5 function (md5_function) Success On (True)
JSON functions (json_function) Success On (True)
GD version (gd_version) Success 2
tempnam function (tempnam_function) Success On (True)
Magic quotes in runtime (magic_quotes_runtime) Success Off (False)
Is E_ALL enabled in error_reporting (E_ALL) Success
Is E_STRICT disabled in error_reporting (E_STRICT) Success
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Caution E_DEPRECATED is enabled
Testing for time difference in the file system (test_file_timedifference) Success No time difference found
Testing for time difference in the database (test_db_timedifference) Success No time difference found
Checking if the HTTPD process can create a file inside of a directory it created (create_dir_and_file) Success 1
PHP Effective Memory Limit (memory_limit) Success 768M
Maximum Execution Time (max_execution_time) Success 120
PHP register_globals (register_globals) Success Off (False)
PHP output_buffering (output_buffering) Caution 0 ?
disable_functions in PHP (disable_functions) Success
PHP Open Basedir (open_basedir) Success
Test for remote URL (test_remote_url) Success Success
fsockopen: Connection ok! Success
fopen: Connection ok! Success
File uploads (file_uploads) Success On (True)
Maximum Post Size (post_max_size) Success 256M
Maximum Upload Size (upload_max_filesize) Success 256M
Session Save Path (session_save_path) Success /tmp (1777)
Sessions are allowed to use Cookies (session_use_cookies) Success On (True)
Basic XML (expat) support (xml_function) Success On (True)
Checking for the XMLReader class (xmlreader_class) Success On (True)
Test ini_set (check_ini_set) Success On (True)
Test for the curl library (curl) Success On
Test curl version (curlversion) Success version 7.66.0, minimum recommended version is 7.19.7

Server Information
Server Software (server_software) apache
Server API (server_api) cgi-fcgi
Server Operating System (server_os) linux 3.12.18-clouder0 on x86_64
Server Database (server_db_type) mysql (mysqli)
Server Database Version (server_db_version) Success 5.7.32
Check database access levels (server_db_grants) Success found a "grant all" statement that appears to be suitable

Permission Information
tmp Success /home/customer/www/hamiltoncountypd.org/public_html/tmp (0755)
tmp_cache Success /home/customer/www/hamiltoncountypd.org/public_html/tmp/cache (0755)
templates_c Success /home/customer/www/hamiltoncountypd.org/public_html/tmp/templates_c (0755)
modules Success /home/customer/www/hamiltoncountypd.org/public_html/modules (0755)
uploads Success /home/customer/www/hamiltoncountypd.org/public_html/uploads (0755)
File Creation Mask (umask) Success /home/customer/www/hamiltoncountypd.org/public_html/tmp/cache (0755)
config_file Success 0444
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: {startExpandCollapse} Doesn't Work After Upgrade

Post by DIGI3 »

Those plugins haven't been part of the core for quite some time. These days that's a pretty inefficient way to build a menu, and most people would just add a line or to of css/js rather than use Smarty plugins for it.

A blank page means there will be an error in your php error log, so I would start there if you want to troubleshoot it. My guess is those plugins were removed in the upgrade.
Not getting the answer you need? CMSMS support options
montedavis
Forum Members
Forum Members
Posts: 64
Joined: Wed Jul 03, 2013 7:44 pm

Re: {startExpandCollapse} Doesn't Work After Upgrade

Post by montedavis »

Thank you DIGI3, I appreciate the info. I'll check the error log.
Post Reply

Return to “CMSMS Core”