Content > Pages: Won't Expand or Collapse Hierarchy [SOLVED]
Content > Pages: Won't Expand or Collapse Hierarchy [SOLVED]
CMSMS: 1.11.4
CP Theme: OneEleven
Hi all,
I was recently trying to clean out some of the extra templates and style sheets that CMSMS installs and I think one of the templates or folders may have contained a script (scripts) that allows the Pages view to update without refresh (I assume something Ajax related). When toggling hierarchy branches or even when trying to 'Expand All Sections' or 'Collapse All Section', nothing happens, but if I manually refresh, the change is visible.
Anyone know what or where the missing components are, so I can replace?
Many Thanks!
------
System Info on the Install:
----------------------------------------------
Cms Version: 1.11.4
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
FormBuilder: 0.7.3
Captcha: 0.4.5
Config Information:
php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 16000000
url_rewriting: mod_rewrite
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.5
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 16M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.54
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------
CP Theme: OneEleven
Hi all,
I was recently trying to clean out some of the extra templates and style sheets that CMSMS installs and I think one of the templates or folders may have contained a script (scripts) that allows the Pages view to update without refresh (I assume something Ajax related). When toggling hierarchy branches or even when trying to 'Expand All Sections' or 'Collapse All Section', nothing happens, but if I manually refresh, the change is visible.
Anyone know what or where the missing components are, so I can replace?
Many Thanks!
------
System Info on the Install:
----------------------------------------------
Cms Version: 1.11.4
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.10
Search: 1.7.7
ThemeManager: 1.1.7
FormBuilder: 0.7.3
Captcha: 0.4.5
Config Information:
php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 16000000
url_rewriting: mod_rewrite
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.5
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 16M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.54
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------
Last edited by jsherry on Thu Jan 31, 2013 7:13 pm, edited 4 times in total.
Re: Content > Pages: Won't Expand or Collapse Hierarchy
None of templates or stylesheets that are listed in "Layout -> Templates/Stylesheet" are in any way related to backend.
You might want to check JavaScript error console (for example in Chrome with Developer Tools), could be that something is blocking JS or requests needed for Ajax.
You might want to check JavaScript error console (for example in Chrome with Developer Tools), could be that something is blocking JS or requests needed for Ajax.
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Thanks for the reply. The problem is the same in IE, FF, and Chrome etc. I checked dev tools and no problems in the console.
It shows that it's calling 'listcontent.php' and 'xajaxcore.js'. No errors thrown or missing files listed.
Tried on a couple different computers as well to make sure their wasn't some issue on a machine. Tried different user account in CMSMS. It's the only issue I am having with the install, I have been through everything.
The only thing I have done since this problem began was delete the NCBlue and ngrey templates/css/files to clean up the uploads folder for the user.
Edit > Have tried comparing and replacing from clean files some of the support ajax and jquery scripts. Nothing.
Can I just replace the whole 'admin' and 'lib' directories for a fresh 1.11.4 source without issue? I previously upgraded from 1.10.x but the problem didn't start with that.
It shows that it's calling 'listcontent.php' and 'xajaxcore.js'. No errors thrown or missing files listed.

Tried on a couple different computers as well to make sure their wasn't some issue on a machine. Tried different user account in CMSMS. It's the only issue I am having with the install, I have been through everything.
The only thing I have done since this problem began was delete the NCBlue and ngrey templates/css/files to clean up the uploads folder for the user.
Edit > Have tried comparing and replacing from clean files some of the support ajax and jquery scripts. Nothing.
Can I just replace the whole 'admin' and 'lib' directories for a fresh 1.11.4 source without issue? I previously upgraded from 1.10.x but the problem didn't start with that.
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Alright, so I switched from Chrome to FF/Firebug and have been able to see a couple issues with that reporting:
When I try to expand or collapse all, or just a branch, Firebug throws:
I have replaced that js with one from a new 1.11.4 download on the site and nothing.
When I try to expand or collapse all, or just a branch, Firebug throws:
Code: Select all
uncaught exception: [object Object]
xajax_core.js (line 395)
Line 395: xajax._internalSend=function(oRequest){oRequest.request.send(oRequest.requestData);}
I have replaced that js with one from a new 1.11.4 download on the site and nothing.
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Alllrriigghhht. No luck getting developer support on this issue then. Have not been able to resolve this little issue. Rather than keep trying to fix it, should I just do a full re-install of 1.11.4?
What the process on re-installing the same version over itself? Same as if I was upgrading?
Or do I have to remove it all and install fresh and then overwrite the DB with a previous backup?
Thanks!
What the process on re-installing the same version over itself? Same as if I was upgrading?
Or do I have to remove it all and install fresh and then overwrite the DB with a previous backup?
Thanks!
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Did you try re uploading "admin" folder?
You do not have to re install it, DB values should not affect any JavaScript functionality.
All i can think of is that you might have file permission issues.
You do not have to re install it, DB values should not affect any JavaScript functionality.
All i can think of is that you might have file permission issues.
-
- Forum Members
- Posts: 54
- Joined: Sun Dec 21, 2008 4:01 am
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Also try do a checksum to verify there is no partial files and that all files are in tact. I have deleted all default cmsmadesimple site templates and styles, let me assure you that admin theme is not related to the site template/stylesheets
Try the advice above or reupload OneEleven under admin/themes
Try the advice above or reupload OneEleven under admin/themes
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Thanks for the replies. I replaced the entire 'admin' folder, also the 'lib' folder from both a copy I had and a fresh download of 1.11.4. It's really odd.
It's all ajax calls on that specific page (listcontent.php), not just opening and closing branches, but checking and unchecking a page to make it active etc. the functions themselves are working, as the status is changed, or branch open/closed if I manually refresh the page.
I have no issue with similar functionality anywhere else in the control panel. The News module for example, I can check and uncheck to make a post active or not, and it updates itself properly.
As mentioned above, have checked in different browsers and on different machines to rule out local issue.
Edit > I did compare against a checksum and the only complaints I got were the missing template files for the themes (front-end themes).
It's all ajax calls on that specific page (listcontent.php), not just opening and closing branches, but checking and unchecking a page to make it active etc. the functions themselves are working, as the status is changed, or branch open/closed if I manually refresh the page.
I have no issue with similar functionality anywhere else in the control panel. The News module for example, I can check and uncheck to make a post active or not, and it updates itself properly.
As mentioned above, have checked in different browsers and on different machines to rule out local issue.
Edit > I did compare against a checksum and the only complaints I got were the missing template files for the themes (front-end themes).
-
- Forum Members
- Posts: 54
- Joined: Sun Dec 21, 2008 4:01 am
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Try removing site cache, and disable Smarty caching to see if its a problem
Before you do that actually change to another admin theme, and clear your own browser cache to double check
Before you do that actually change to another admin theme, and clear your own browser cache to double check
Re: Content > Pages: Won't Expand or Collapse Hierarchy
It happens with both admin panel themes. Smarty cache was never enabled.
This is driving me crazy. How does it suddenly just happen after 6 months? I have control over the box, so it's not some odd host change either.
Despite replacing the admin files from clean download, firebug still says there is an exception with xajax_core.js : line 395:
I just noticed another thing. I get an empty error dialogue box appear when I go to 'apply' a change to a page or template, rather than submit. The changes still go through the empty red box drops down from the top and I have to close it. I checked the dialogue box code in firebug, in case the text is being obscured and there is no text.
edit > just noticed another one. Can't preview a page. Another uncaught exception. 'editcontent.php' and xajax again.
Permissions on these files are confirmed as 644. Should I just backup the db remove cmsms and reinstall, re-download the same few addons, then restore the db on top? My biggest concern are my formbuilder forms, as I have a very in-depth and complicated one I wouldn't want to rebuild (sorry I shouldn't ask about 3rd party in this forum section).
This is driving me crazy. How does it suddenly just happen after 6 months? I have control over the box, so it's not some odd host change either.
Despite replacing the admin files from clean download, firebug still says there is an exception with xajax_core.js : line 395:
Code: Select all
xajax._internalSend=function(oRequest){oRequest.request.send(oRequest.requestData);}
edit > just noticed another one. Can't preview a page. Another uncaught exception. 'editcontent.php' and xajax again.
Code: Select all
/* <![CDATA[ */
try { if (undefined == xajax.config) xajax.config = {}; } catch (e) { xajax = {}; xajax.config = {}; };
xajax.config.requestURI = "/admin/editcontent.php?_sx_=b79f3e31&content_id=15";
Re: Content > Pages: Won't Expand or Collapse Hierarchy
Sorry to add another post, but I have been racking my brain to know what could have changed when I realized the same day it started I updated to the latest menumanager, 1.8.5. Could that be related, affect this somehow?
EDIT > Well I gave up. I backed up the db. Nuked the install, started fresh, reinstalled the same 3rd party modules and then restored the db. Works great. Mystery not solved, but problem is. I'll come back and mark the thread solved if no one has anything to add.
EDIT > Well I gave up. I backed up the db. Nuked the install, started fresh, reinstalled the same 3rd party modules and then restored the db. Works great. Mystery not solved, but problem is. I'll come back and mark the thread solved if no one has anything to add.
Re: Content > Pages: Won't Expand or Collapse Hierarchy
I haven't heard anyone suggest that you check to make sure your browsers don't have some kind of adblocking thingy...
-
- New Member
- Posts: 7
- Joined: Mon May 21, 2012 4:22 pm
Re: Content > Pages: Won't Expand or Collapse Hierarchy [SOL
Hello,
I have the same problem but found the reason why:
I have a module_custom folder for language customization, if some of the modules have the en_US.php file, then i get the collape/expand problem in the administration area.
Can someone check how to solve this?
I have the same problem but found the reason why:
I have a module_custom folder for language customization, if some of the modules have the en_US.php file, then i get the collape/expand problem in the administration area.
Can someone check how to solve this?