Rookie Teething Woes (Saving docs..)
"David Farrell" <[email protected]> Tue, 1 Jun 2004 11:04:44 +0100 (BST)
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <25190.62.173.84.22.1086084284.spork@webmail.farrellconsultancy.com> |
Hi all, I'm new to Bitflux Editor and I'm having a few teething problems, hopefully someone can help! Thanks to the informative post last week that got added to the wiki, I have been able to get 'somewhere' with my Bitflux installation. I'm building a system that will allow users to have inline formatted content (hence Bitflux!). I could do with a couple of pointers... Currently, I have a page that has Bitflux editable content - based on the inlineXHTML example's index.html file. I have stripped away much of the formatting, leaving only the heading and the main body of text. I have 'basic' save ability - when I click save, it does replace the content with the changes the user makes. It saves this into the 'inline.xml' file that I specify via a get-var parameter (?xmlurl=inline.xml) So far, so good. However.. every time I click 'save' I get the following error (inside the 'orange box'): " Document couldn't be saved Something went wrong: 200 <html><body/></html> " Now... firstly... why does this error happen when the document IS saving changes? secondly, I tracked the error declaration to 'bxeFunctions.js' - line 52 - inside function 'callback (e)'. It appears that 'something went wrong: 200' comes from e.statusText how can I debug this? what is a 200 error? Now..... my overall aim is not to have the system save to xml file like this - I need the content to stream to a database. Can anyone point me to some documentation that would help me achieve this? Or, can anyone give me a couple of tips / tricks for doing this? Or, can anyone show me an existing example that I can learn from that does this? I would appreciate any help that anyone could give on all or some of my issues (error or db stuff). Thanks in advance! David -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users