Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Syntax Not Rendering After Update
Showing The Raw Text of a page after update from [2018-04-22a "Greebo"] to [2018-04-22b "Greebo"]
Avatar
jjensen-ksp #1
Member for 3 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Syntax Not Rendering After Update
After the update from [2018-04-22a "Greebo"] to [2018-04-22b "Greebo"], my pages are displaying the content as raw DW syntax.

My php is logging the error
PHP Warning:  preg_match(): Null byte in regex in ...Dokuwiki\inc\parser\lexer.php on line 118
maybe it's related.

Would anyone have an idea of what might cause this?
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4646 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
It's possibly originating in one of your plugins, if the php error is the cause.  But first try emptying out your data/cache directory.  If that doesn't work, disable all plugins which you have installed, and again empty out the cache.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
jjensen-ksp #3
Member for 3 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: leaning towards permissions issue with iis 8
@turnermm - Thanks for the advice, I think some of the issue was hiding behind an uncleared cache, that made it helpful to see if the changes I made actually effected anything.

I'm starting to feel like my problem is based on the file permissions of the updated pieces. I've followed these instructions (but I'm probably missing something because) it had no effect https://www.dokuwiki.org/install:permissions

There was an urgency to have the Wiki working for this morning, so I loaded up a new site and copied over the content pages. However I'm not sure how to avoid this issue the next time I update.
Avatar
virk #4
Member since Aug 2008 · 609 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
Are you sure you have correct php-versions? 4 years ago I had problems with dokuwiki:

[Wed Nov 11 09:00:13 2015] [error] [client 192.168.1.12] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /Users/Heiner/Sites/colibri/inc/parser/lexer.php on line 118, referer: http://macbook-2gb.local/~heiner/colibri/doku.php/news:201…

Perhaps this was related to an inappropriate php-version.
Avatar
jjensen-ksp #5
Member for 3 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Thanks @virk, The PHP versions are correct. After a fresh install of the wiki, everything works fine.

The next time there's an update I will clone the system before I update, and try first on the clone. If I hit the same problem I'll be under less pressure to urgently recover the wiki. That will give me the time to troubleshoot.

Note: Initially I copied all the files as a backup before I updated. After updating it broke. Then I added back the files, and it was still not rendering the DW syntax. (That's why I'm thinking it's a permissions thing)
Avatar
virk #6
Member since Aug 2008 · 609 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
We are running dokuwiki on macmini late 2014 Sierra server: Something with Greebo is still not working properly here, when I try to update. Result is blank pages
 This is a problem which is related to a "Plugin.php", where the "P" is lower or uppercase. Details I currently do not have available. Just in case something like this occurs with your wiki, too!

Woke up early this morning. Next coffee, please! :-)
Avatar
turnermm (Moderator) #7
Member since Oct 2009 · 4646 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I thought this problem had been solved.  Search the forum for "Plugin.php"; you will probably find an answer.  See one of my posts:
https://forum.dokuwiki.org/post/64458
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-06-25, 22:03:28 (UTC +02:00)