I'm trying to configure the ajaxAutoSave plugin to work on a site I'm developing, but I'm having a bit of trouble getting it all set up. I've included the files and modified both the toolbar and my fckconfig.js to include the plugin, but when it saves it returns an X. I've modified the included PHP files, correcting their paths and db settings. When I access saveAdapter.php directly from my browser it just returns blank xml. I've also set up the drafts table in mysql. Any ideas as to what I'm overlooking?
Tue, 06/19/2007 - 06:22
#1
RE: ajaxAutoSave failing on backend
Try to see what ajax response you get. Download firebug (http://www.getfirebug.com/) and after using the ajaxPost plugin open the Console, then check the response by clicking the line 'POST <a href="http://.../editor/plugins/ajaxPost/saveAdapter.php" target="_blank">http://.../editor/plugins/ajaxPost/saveAdapter.php</a> (###ms)'. It should read '<?xml version="1.0" encoding="UTF-8"?><adapter command="save" ><result message="success" /></adapter>', but I guess you'll see some PHP warnings/errors... If so, that would give you the info you need to debug.
RE: ajaxAutoSave failing on backend
Wow, that's cool! I got it working, it was actually really trivial, my path was wrong
Anyway, Thanks for your help, and much more thanks for the excellent plugins and support you offer. This was my first time using FCKeditor, but it surely won't be the last. I love your site too, really nice design.