patchphpGroupWare - Patches: patch #5437, Wiki requires '.' in php include


You are not allowed to post comments on this tracker with your current authentification level.

patch #5437: Wiki requires '.' in php include

Submitted by:  Steve Price <steep>
Submitted on:  Mon 02 Oct 2006 09:28:45 AM UTC  
Votes:  100  
Category: NonePriority: 3 - Low
Item Group: SVN trunk (dev code)Status: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 14 Jan 2008 06:46:50 PM UTC, comment #2:

The error disappears if I modify the function set_root() in /phpgroupware/phpgwapi/ to look like this:

function set_root($root)
//if (!is_dir($root))
// $this->halt("set_root: $root is not a directory.");
// return false;
$this->root = $root;
return true;

(basically just commented out the check... but it works)
Now the wiki is displayed correctly and works as far as I have tested it.

Florian Staudacher <raven24>
Mon 14 Jan 2008 05:41:49 PM UTC, comment #1:

This patch fixes the include-problem. But now there is this error message:
"Template Error: set_root: is not a directory.
I'll try to fix it and submit a patch...

Florian Staudacher <raven24>
Mon 02 Oct 2006 09:28:45 AM UTC, original submission:

Target Branch: HEAD
Wiki expects '.' to be in the PHP include path. This patch just adds '.' to the path.
Format: cvs rcs || diff
Affected file/s:

Steve Price <steep>


Attached Files
file #10881:  wiki.diff added by steep (499B - application/octet-stream - run 'patch -p1 < wiki.diff' under phpgroupware dir)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by raven24 (Posted a comment)
  • -unavailable- added by raven24 (Voted in favor of this item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Jan 2008 05:36:35 PM UTCraven24Carbon-Copy-=>Added raven24
    Mon 02 Oct 2006 09:28:45 AM UTCsteepAttached File-=>Added wiki.diff, #10881

    Back to the top

    Powered by Savane 3.1-cleanup