[Pmwiki-users] Problems with calendar

John Rankin john.rankin
Mon Sep 6 15:52:13 CDT 2004

On Tuesday, 7 September 2004 3:54 AM, Franco Stellin <franco_stellin at hotmail.com> wrote:
>I got this:
>Fatal error: Cannot redeclare wikify() (previously declared in
>C:\Inetpub\maurizio\wiki\local\toc-scripts\freesupport.php:25) in
>C:\Inetpub\maurizio\wiki\local\wikilog\freesupport.php on line

You appear to be loading both the page table of contents and
calendar scripts. These both use the freesupport.php script.

In whichever of toc-config and wikilog-config loads *second*,
comment out the line

    #include_once("local/ ... /freesupport.php");

I should be able to include a test that avoids loading the
same thing twice...

Let me know if this fixes the problem.

>----- Original Message ----- 
>From: "Hochstrasser Benedikt" <bhoc at pentagroup.ch>
>To: <Pmwiki-users at pmichaud.com>
>Sent: Monday, September 06, 2004 4:52 PM
>Subject: RE: [Pmwiki-users] Problems with calendar
>Franco Stellin wrote:
>When I include the: include_once("local/wikilog/wikilog-config.php");
>line in the "local/config.php" file what I get when I access my wiki
>pages is just an *empty* page ?). any ideas of what I may have done
>wrong? TIA. --Franco
>Put the following two lines at the beginning of your local/config.php
>ini_set("display_errors", "1");
>They should tell you when and where something went wrong. (It might be a
>good idea to have them in the config-sample.php, maybe
>commented out)

John Rankin

More information about the pmwiki-users mailing list