Hi.
I would hope that this post is also short-lived and solved. But until then, here goes:
I was working on my wiki today when, upon a page load, the latest security notification appeared. I went and read the notification, and opted to manually update my wikis to 2009-12-25c via the downloading of the plugin-acl.tgz from
http://www.dokuwiki.org/_media/plugin:acl-plugin.tgz, and extracting it in lib/plugins.
Before blindly moving forward, however, I did move my existing lib/plugins/acl directory to a backed up location, in case I needed to regress the update for whatever reason.
So, I went and extracted the updated acl plugin, updated permissions so everything would be happy. Then updated conf/msg to 25, and resumed my activities.
Only, I was immediately stopped when next I tried to access the admin functionality. The following message appears and halts any additional page rendering:
Fatal error: Cannot redeclare class admin_plugin_acl in /var/www/lib/plugins/acl/admin.php on line 785
I thought maybe some old values were kicking around from my session, potentially confusing it, so I logged out and logged back in.
No change.
I reverted the change back (to what would have existed in 2009-12-25b), and got:
Fatal error: Cannot redeclare class admin_plugin_acl in /var/www/lib/plugins/acl/admin.php on line 781
Obviously, whatever started this problem is persisting, regardless of what dokuwiki is doing.
I logged out/back in again. No change.
I emptied my browser's cache, nothing. I tried an entirely different browser, logging in... nothing.
I touched conf/local.php to instigate a cache flush. I appended ?purge=true to various pages. Nothing.
I stopped, then started my web server process. Nothing.
I rebooted the web server, just for good measure. No change.
I am not going through any proxies.
I suspect this might be outside of the changes to dokuwiki. But what? Why would a change to the ACL plugin cause this confusion, and still be unhappy when the original code is restored? What might be causing it unhappiness?
Some google searches on "Fatal error: Cannot redeclare class" seems to be sporadic and experienced across a wide spectrum of projects utilizing PHP. One comment on one of the pages suggested:
"It seems to be an internal PHP caching problem with no regular occurrences as described at
http://bugs.php.net/bug.php?id=30075 "
Although that seems to be Windows/IIS related (and I'm running Linux/Apache), it does lead one to wonder.
At any rate, has anyone experienced this problem? And if so, any suggestions on how to go about fixing it?
Thanks.
-Matthew