ActiveCollab Windows Server 2003 IIS6

We are trying out ActiveCollab @ Karova instead of Basecamp. There was quite a few problems to get it working though. Mainly as it was PHP on IIS methinks. The first error was that none of the class files were not being loaded by autoloader as it didn’t know where to look so I had to tell it ->

[code lang=”php”]
private $parse_directories = array(’%ABSOLUTEPATHTOWEBSITEDIRECTORY%’);
[/code]

in environment\classes\AutoLoader.class.php Line 36

The second error was that emails were not being sent. I reckon this was either our SMTP or PHP on windows not liking the format of the email addresses (”Philip Roche”<phil @philroche.net>)
[code lang=”php”]
function toString() {
if(trim($this->getName()) == ‘’) {
return trim($this->getEmail());
} else {
//return trim($this->getName()) . ‘ < ' . trim($this->getEmail()) . ‘>’;
return trim($this->getEmail());
} // if
} // toString
[/code]

in environment\library\simplemail\MailAddress.class.php Line 49

and finally, I could not upload public files as the isPrivate method was returning blank instead of 0.
[code lang=”php”]
static function setIsPrivateForObject(ProjectDataObject $object) {
$isPrivateVar = $object->isPrivate();
if($isPrivateVar!=1)
{
$isPrivateVar = 0;
}
return DB::execute(’UPDATE ‘ . ApplicationLogs::instance()->getTableName(true) .
‘ SET `is_private` = ? WHERE `object_id` = ? AND `object_manager_class` = ?’,
$isPrivateVar, $object->getObjectId(), get_class($object->manager())
); // execute
} // setIsPrivateForObject
[/code]

in application\models\application_logs\ApplicationLogs.class.php line 61

It’s all sorted now and running and actually I am finding it alot nicer than basecamp and as it’s on our own server - a hell of a lot quicker.

5 Comments

  1. Posted August 26, 2006 at 8:22 pm | Permalink

    Phil, you are a genius.

    It feels a lot nicer than Basecamp, I’m particularly liking the fact that I can tag everything - it’s making searching for specific items far easier than Basecamp. It’s still got the odd thing missing which it needs (administering other users isn’t very comprehensive, for example), but for a 0.6 release, it’s very workable.

  2. Posted August 29, 2006 at 10:57 am | Permalink

    hey Phil…glad your liking ActiveCollab, Im sure if you ran ActiveCollab under Apache rather than IIS it would run a bit better…eg less errors as it was coded to be ran on Apache rather than IIS.

    Ive had this problem with other bits of PHP code.

    Gareth

  3. Posted August 31, 2006 at 4:46 am | Permalink

    Thank you for posting these quick solutions. I was having the same issues on my IIS 6 install. The product seems to fit our requirements almost perfectly. Have never used BaseCamp, however. Do you think they’ll eventually modify the code so it runs efficiently on IIS installed? We are a total Microsoft shop and do not have any Apache servers available. I’d rather not install Apache if I don’t have to. I’d be curious to hear your thoughts. Thanks again!

  4. Posted August 31, 2006 at 2:10 pm | Permalink

    If I ever get some time, I’ll post them as proper bug reports and I’m sure they will be addressed. We’ve been testing the system for the last week, with these changes and all seems to be working well.

  5. Posted September 4, 2006 at 9:58 pm | Permalink

    Hi,

    I’ve introduced a set of changes that should greatly improve stability of activeCollab on IIS. For instance, there is a config option that will let you fix the problem activeCollab has with Exchange (something I named Exchange compatibly mode, it’s a simple switch but it works). Also, more strict permission checking is introduced so activeCollab will not tell you that folder is writable if it is not (that is PHP bug).

    activeCollab 0.7 beta that includes this changes has been released just yesterday:
    http://www.activecollab.com/blog/14/activecollab-0.7-beta/

    I could really use a help from experienced IIS because my experience with IIS is - 0.

    Thanks and sorry for my poor English

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*