Re: Rookie Teething Woes (Saving docs..)
Christian Stocker <[email protected]> Tue, 01 Jun 2004 18:55:54 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
On 1.6.2004 18:53 Uhr, David Farrell wrote: > The PHP script really helped. > > Using the script I can now do a save to file - which is a good step in the > right direction. > > One tip for anyone who is using the loadsave.php file - if you haven't set > up an error log, you may get an error when saving. I was recieving a "XML > not parsed" error when I first used the script. > > After a bit of fiddling I realised that the problem was coming from the > "error_log()" lines. Because I hadn't set up an error log, the php script > was spitting the output to the default output - which meant that the XML > that BXE was receiving also contained two random strings (base dir and xml > file paths) - and thus, was not receiving fully formed XML. > > If you are in this situation, just comment out those two lines: > > //error_log($basedir); > //error_log($xmlfile); > > and your sorted. > > > Cheers for the pointers. thanks for the hint ;) They shouldn't be there, that was just for my testing. I removed them now chregu -- bx-editor-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users