[dokuwiki] Re: Error in current devel Release?
- From: "Kirbach Uwe" <U.Kirbach@xxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 10:54:55 +0200
Hello,
I also saw this problem after i installed patch:
22 Jun 16:41 Michael Klier added DOKUWIKI_INIT event
--> I reverted the patch (running again "patch -p1 < patch-file") and all
seems ok.
Uwe Kirbach
---------------------------------------------------------------
Sun Jun 22 16:41:54 CEST 2008 Michael Klier <chi@xxxxxxxxxxx>
* added DOKUWIKI_INIT event
This patch adds a new event DOKUWIKI_INIT to the event system. The
event is
triggered in inc/init.php right after DOKU_INC has been defined and
allows
action plugins to interfere with DokuWiki s init process.
diff -rN -u old-dokuwiki-1/inc/init.php new-dokuwiki/inc/init.php
--- old-dokuwiki-1/inc/init.php 2008-06-23 21:37:03.000000000 +0200
+++ new-dokuwiki/inc/init.php 2008-06-23 21:37:04.000000000 +0200
@@ -13,6 +13,11 @@
// define the include path
if(!defined('DOKU_INC'))
define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/');
+ // trigger DOKUWIKI_INIT event to allow action plugins to overwrite
constants
+ // load events.php, external scripts can just include inc/init.php
+ require_once(DOKU_INC.'inc/events.php');
+ trigger_event('DOKUWIKI_INIT', $tmp=array());
+
// define config path (packagers may want to change this to
/etc/dokuwiki/)
if(!defined('DOKU_CONF')) define('DOKU_CONF',DOKU_INC.'conf/');
---------------------------------------------------------------
-----Original Message-----
From: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx]
On Behalf Of Gerry Weißbach
Sent: Friday, June 27, 2008 8:26 AM
To: dokuwiki@xxxxxxxxxxxxx
Subject: [dokuwiki] Re: Error in current devel Release?
Me again,
I didn't solve the problem yet - but it is nothing out of DW directly. It
looks like one or more plugins of my installation break the system ...
Gerry.
Am 27.6.2008 schrieb "Gerry Weißbach" <gerry.w@xxxxxxxxxxxxxxxxxx>:
>
>Hi List,
>
>I tried the yesterdays and todays version of the develrelease - copied
>over my conf, tpl and plugins and made no other changes to the code -
>but I am getting the error:
>
>
>Warning: require_once(DOKU_CONFdokuwiki.php) [function.require-once]:
>failed to open stream: No such file or directory in
>/var/www/public_html/inc/common.php on line 10
>
>Fatal error: require_once() [function.require]: Failed opening required
>'DOKU_CONFdokuwiki.php'
>(include_path='.:/usr/share/php:/usr/share/pear') in
>/var/www/public_html/inc/common.php on line 10
>
>
>It looks like Doku_Conf is not defined - has anybody an idea on that?
>
>Sinc.
>Gerry.
>--
>DokuWiki mailing list - more info at
>http://wiki.splitbrain.org/wiki:mailinglist
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Re: Error in current devel Release?
- From: Gerry Weißbach
Other related posts:
- » [dokuwiki] Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- » [dokuwiki] Re: Error in current devel Release?
- [dokuwiki] Re: Error in current devel Release?
- From: Gerry Weißbach