<![CDATA[ Ajax postback in Manager? - My Forums]]> https://forums.modx.com/thread/?thread=81318 <![CDATA[Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-448199
I'm surprised that so many of the /manager operations are not ajaxified. Save a resource or perform another action and the whole screen refreshes. Is there a setting to ajaxify this environment or is that just the way it works? I know this CMS has roots going back quite a long time, but that page-at-a-time posting mechanism is a bit "last decade". wink

Thanks!]]>
captainstarbuck Dec 24, 2012, 05:58 PM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-448199
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451401
Anything else that needs to be changed to get back to the baseline?

Thanks again.]]>
captainstarbuck Jan 21, 2013, 02:12 PM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451401
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451394
AjaxManager is beta because of modx patch. But there is another problem - bad third-party extras. Devs will not fix extras until AjaxManager is used, and AjaxManager will not be used until it works with extras. So, AjaxManager will never be used by regular modx users ) . So, I need feedback from testers. I send patches to extra devs to get AM working with must-have extras when MODX 2.3 is released.
]]>
danya_postfactum Jan 21, 2013, 01:28 PM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451394
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451390
It seems safe to assume that I can replace the default and modext folders with those backups? Do you agree?

Spacibo.]]>
captainstarbuck Jan 21, 2013, 12:54 PM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451390
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451381 danya_postfactum Jan 21, 2013, 11:43 AM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451381 <![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451380
As described in this post on optimization, I cleared server and client cache many times.

In a recent post here you did say
To remove AjaxManager, don't press Remove Package! Use Uninstall button, and select Restore radio, otherwise you get broken Manager. Anyway, if you get it broken, just reupload manager folder form distro.
Indeed you provided a warning which I missed, and I had a broken manager. But restore the whole thing from distro!?

No plugin should be as destructive as this was to the environment. What possible reason would you have to delete the entire managers/controllers/default tree, and managers/assets/modext? What else got wiped out that I might not know yet?

Do I need to reinstall and reconfigure the CMS and other addons (site data separate of course)? I have no idea yet how I would install other addons and get them to use existing settings. And at this point I don't remember what minor code tweaks I made that I was hoping to contribute back here.]]>
captainstarbuck Jan 21, 2013, 11:25 AM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451380
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451377
Installation Instructions

Important: You have to update your modx to 2.2.6-pl !

Important: This package will modify your manager assets and controllers. Make sure your manager folder is writable !

Important: Check Restore radio in Uninstall dialog if you will have to uninstall AjaxManager!

Install via Package Browser, clear MODX cache, set the list of your working correctly components in ajaxmanager.compatible_namespaces system setting.

You probably had to clear browser cache by Ctrl+F5 or enable/disable compress_js

I'm waiting for MODX 2.3 to commit my patches, but I don't think this happens soon.

I'm using AjaxManager on all my sites and have no problem, really. But I know, problems are possible in some cases (wrong chmod, MODX or browser cache, some extras etc)]]>
danya_postfactum Jan 21, 2013, 11:05 AM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451377
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451331
The browser came back with:
Could not find action file at: /home/fatcat/modx.nebula-rnd.com/manager/controllers/default/workspaces.php

Couldn't find it? I went to the site and sure enough, there is no longer anything under manager/controllers. The whole thing got blown away. I restored the default tree under that from a backup that's now a couple weeks old. There's no workspaces.php anywhere in there either.

Now it's back to where it was, always a menu, occasionally a dashboard, no resources, and no functionality.

I went back into the database and turned off all of the individual cache and compress settings. I ran CacheClear and refreshed the browser. No joy. I tried using the manager menu option to clear locks. It said Access Denied. Hmmm. I tried to access my user, Denied. Logout, Denied. Flush all sessions, Denied. I don't know if the access controls in the database are messed up or if my local cache is holding. I'm getting the same results with FF and IE. Need to clear cookies on both for this domain.

I renamed the cache directory and created a new one with 775 permissions. Refreshed browser. Still no good.
I manually deleted the cookies for this site. Finally, got logged out. Tried to log back in.
Firebug reports none of the modext scripts are available. Sure enough, manager/assets/modext is gone too. Restore from backup.

FINALLY got the manager back. It's slow as hell (average page load 20+ seconds) but I can deal with that for now.

My summary:
1) DO NOT INSTALL AJAX MANAGER!
2) IF YOU HAVE AJAX MANAGER, DO NOT UNINSTALL IT!
]]>
captainstarbuck Jan 21, 2013, 02:18 AM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-451331
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-449959 Quote from: danya_postfactum at Jan 10, 2013, 06:54 AM
Mark Hamstra, the $modx object is not available while installing package, so I can't check MODx version.

Tried $object->xpdo as well? I think that should work but haven't tried.]]>
markh Jan 10, 2013, 03:11 AM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-449959
<![CDATA[Re: Ajax postback in Manager?]]> https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-449947 Mark Hamstra, the $modx object is not available while installing package, so I can't check MODx version.]]> danya_postfactum Jan 10, 2013, 12:54 AM https://forums.modx.com/thread/81318/ajax-postback-in-manager?page=2#dis-post-449947