#1776 Comment_User.php on line 244

phpws1.x
closed-fixed
7
2007-07-19
2007-06-20
Burboo AB
No

phpWebsite version: Core 1.5.2 / Comments 0.6.3

Error displayed:
setdirectory() in ../mod/comments/class/Comment_User.php on line 244

Verification of error: http://phpwsforums.com/showthread.php?t=4679

Discussion

  • Burboo AB

    Burboo AB - 2007-06-21
    • priority: 5 --> 7
     
  • Anonymous - 2007-07-19

    Logged In: YES
    user_id=400519
    Originator: NO

    I think File_Common.php was missing a setDirectory function for a little while.

    Added here:
    http://blackfoot.appstate.edu/viewsvn/trunk/mod/filecabinet/class/File_Common.php?r1=4546&r2=4816&rev=4816&root=1.x

    There will be a new release of File Cabinet soon.

    If you need a fix now, you _could_ download the above file but I'd back up the original. If it causes more problems than before, restore your backup File_Common.php file and plug the following function into your file.

    function setDirectory($directory)
    {
    if (!preg_match('@/$@', $directory)) {
    $directory .= '/';
    }
    $this->file_directory = $directory;
    }

     
  • Anonymous - 2007-07-19
    • milestone: 103127 --> phpws1.x
    • assigned_to: nobody --> stardog
    • status: open --> closed-fixed
     

Log in to post a comment.