Le 11/10/2010 20:36, WC Jones a écrit :
It appears that in your code you are trying to assign a reference pointing to your content thing to the $-this->doc property and afaik in PHP you can't use reference to a string (read http://www.php.net/manual/en/language.references.php there is useful information about reference).On Mon, Oct 11, 2010 at 11:30 AM, Chris Tapp<dokuwiki@xxxxxxxxxxxx> wrote:Fatal error: Cannot create references to/from string offsets nor overloaded objectsYou are prolly misplacing a # somewhere -- but I'm not a PHP programmer - yet :P See http://bugs.php.net/bug.php?id=23442&edit=1 HTH/Sx
If you are trying to append content to doc the correct syntax should be $this->doc .= $content_thing (you can even remove the dot if you just want to replace the whole document), in fact I don't even understand why your syntax work under 5.2.6 because I tried it on my server and it failed ...
Etienne -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist