Some pages that have displayed properly in the past (with wiki formatting, line breaks, etc.) start rendering as plain text (the raw source content of the page, without line breaks or any formatting).
When I look at the source of an offending page, clicking Preview (always?) renders the page properly. Clicking either Cancel or Save without making any changes doesn't fix the page--it still renders ugly.
What does seem to work is to make sure that there is one, and only one, blank line at the end of the raw source. Once I edit the page to conform to this rule (I haven't it seen documented anywhere) and save it, the page *does* display properly. Having wiki pages that don't end with a blank line or with more than one blank line seem to cause the problem, but I'm certain that it's not deterministic. I.e., there are pages in our wiki that don't have one blank line at the end and yet render properly. In fact, it's safe to say that every page that eventually exhibits the problem originally started out being rendered properly.
We have enabled HTML on our wiki, but not PHP.
Can you please give more particulars of your environment? (server, PHP version, template, plugins, anything different from the initial installation, ...) Perhaps you could switch everything back to the initial installation and see if the problem still persists!?
Here are the particulars:
DokuWiki version: Release 2006-03-05a
PHP version 5.1.2
Changelog is writable
Datadir is writable
Attic is writable
Mediadir is writable
Cachedir is writable
conf/users.auth.php is writable
mb_string extension not available - PHP only replacements will be used
Debugging support is enabled. If you don't need it you should set $conf['allowdebug'] = 0
Your current permission for this page is 255
The current page is writable by the webserver
The current page is writable by you
We're using the stock version of dokuwiki.php. Here's the local.php:
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by config plugin
* Run for user: jbusch
* Date: Tue, 22 Aug 2006 19:45:08 -0400
$conf['start'] = 'QuigoWiki';
$conf['htmlok'] = 1;
$conf['useacl'] = 1;
$conf['superuser'] = '@admins';
$conf['spellchecker'] = 1;
$conf['subscribers'] = 1;
$conf['personal'] = 'quigo-spelling-words-list';
// end auto-generated content
If you still have a "broken" page, copy the corresponding file to a new file inside data/pages and see if it gets displayed properly in the wiki?
Can you please run a test on RC3 version of DokuWiki and report back?
Ringing again reporter: please see comments and report back.
Sorry for the delay in response--I'm working with the server admin to get stuff done.
We upgraded to Release 2006-11-06 and the problem has not occurred since!
If you need any more particulars about our environment, don't hesitate to ask.
OK, thanks for answering, even late :-)