Windows support

Read important announcements about Group-Office here

Moderator: Developers

mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Windows support

Postby mschering » Wed Apr 25, 2007 2:50 pm

Group-Office 2.17 will be completely compatible with Windows. The Subversion trunk is compatible already at this moment.

I used the XAMPP platform to test this.
Best regards,

Merijn Schering
Intermesh
User avatar
lonesomewalker
Posts: 320
Joined: Wed Sep 15, 2004 9:15 am
Location: everywhere
Contact:

Postby lonesomewalker » Fri Apr 27, 2007 10:08 pm

:shock: :shock: :shock: :shock: :shock: :shock: :shock:

Did i read it right?


THX A LOT!!!

Maybe you can tell me, what is the difference between now and before, beacause i already tried to fix it but run in tooo many problems (so i gave up).
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Postby mschering » Sun Apr 29, 2007 1:12 pm

It was too easy actually. Just made the install script so that it made all paths like:

C:/with/forward/slashes/

Then I changed the config.php class to detect the root path of Group-Office correctly.

And finally the function find_share in classes/filesystem.class.inc had to be changed to work with windows.

Now all works like a charm.

Should have done this years ago but I always thought it would be very hard.
Best regards,



Merijn Schering

Intermesh
barnabas
Posts: 3
Joined: Mon Apr 30, 2007 12:32 pm

Release of GO 2.17

Postby barnabas » Mon Apr 30, 2007 12:48 pm

I started trying out your community version today and am thrilled by its functions and especially its "feel and look". Other FOSS group wares I tried before don't reach GO by far.

Now, I was also struggling to set it up with Windows (XAMPP) and actually still am. Our webserver is running linux, but my laptop is not. And I have to try it out thoroughly before I can suggest it as an intranet solution for our programme.

So I was wondering: Is there any scheduled release date for 2.17 yet?

Thanks in advance, regards

Barnabas
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Postby mschering » Tue May 01, 2007 6:53 am

Next week there will be a first testing release. Then it will take about a month before the stable release will come out.
Best regards,



Merijn Schering

Intermesh
kiwidude
Posts: 3
Joined: Tue May 15, 2007 11:09 pm

Postby kiwidude » Mon May 21, 2007 11:06 am

Hi,

I have been running the 2.17 version in windows environment (IIS, Windows 2000).

It is working really well, except for a couple of glitches.

With PHP 5 (which has support for the is_executable() function), the file manager works well.

However, in PHP 4 (which does not support the is_executable() function) the file manager does not work and there are various "is_executable()" errors.

Currently, I need to run GO with PHP 4, is there a workaround for the "is_executable()" function in PHP 4 on Windows?

Thanks

Dean
User avatar
dkittell
Site Admin
Site Admin
Posts: 808
Joined: Tue May 25, 2004 10:32 pm
Location: Michigan, USA
Contact:

Postby dkittell » Mon May 21, 2007 4:28 pm

According to PHP.net (http://us.php.net/is_executable) on Windows it needs PHP 5

I would think that building a function within the config.php or GroupOffice.php file named is_executable($file) where it looks at the chmod properties would work
David Kittell
Owner / Developer
Kittell.net
User avatar
dkittell
Site Admin
Site Admin
Posts: 808
Joined: Tue May 25, 2004 10:32 pm
Location: Michigan, USA
Contact:

Postby dkittell » Mon May 21, 2007 5:09 pm

Untested on Windows PHP4 but something like this as long as it has execute rights should work

Code: Select all

<?PHP
function check_perms($path,$perm)
{
    clearstatcache();
    $configmod = substr(sprintf('%o', fileperms($path)), -4); 
    $trcss = (($configmod != $perm) ? "background-color:#fd7a7a;" : "background-color:#91f587;");
    echo "<tr style=".$trcss.">"; 
    echo "<td style=\"border:0px;\">". $path ."</td>"; 
    echo "<td style=\"border:0px;\">$perm</td>"; 
    echo "<td style=\"border:0px;\">$configmod</td>"; 
    echo "</tr>";   
}
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="3" style="text-align:center;">
         <tr>
        <th style="border:0px;"><b>File Name</b></th>
        <th style="border:0px;"><b>Needed Chmod</b></th>
        <th style="border:0px;"><b>Current Chmod</b></th>
    </tr>
    <?php
            check_perms("/home/folder/","0777");
        //check_perms("include/keys","0777");
//        check_perms("backup","0777");
//        check_perms("uploads","0777");
//        check_perms("include/template","0777");
//        check_perms("include/user","0777");
//        check_perms("img","0777");
//        check_perms("img/avatars","0777");
    ?>
</table>


Found it online and it works on Unix PHP4
David Kittell
Owner / Developer
Kittell.net
kiwidude
Posts: 3
Joined: Tue May 15, 2007 11:09 pm

Postby kiwidude » Mon May 21, 2007 8:17 pm

Hi David,

Thanks for the reply. but I need a replacement/workaround for a Windows environment ie no chmod checking etc.

I can get the file manager working (mostly) in Windows by commenting out the is_executable() function in the script (only in about 8 places), but of course things that rely on an executable on the server (zip, xml etc) are broken.

Any ideas anyone?

Thanks

Dean
User avatar
dkittell
Site Admin
Site Admin
Posts: 808
Joined: Tue May 25, 2004 10:32 pm
Location: Michigan, USA
Contact:

Postby dkittell » Mon May 21, 2007 8:24 pm

Just installed XAMPP on my server and I'm testing this and another problem
David Kittell
Owner / Developer
Kittell.net
kiwidude
Posts: 3
Joined: Tue May 15, 2007 11:09 pm

Postby kiwidude » Thu May 24, 2007 8:44 am

Any luck David?
User avatar
dkittell
Site Admin
Site Admin
Posts: 808
Joined: Tue May 25, 2004 10:32 pm
Location: Michigan, USA
Contact:

Postby dkittell » Fri Jun 01, 2007 3:23 pm

Apparently I'm having problems getting email from this site again.

To answer your question, I have got it to work but it's not a preferred method. This particular issue though could be partly due to XAMPP.

I'm going to take XAMPP off and install Apache the old fashion way and see how if that changes anything
David Kittell
Owner / Developer
Kittell.net
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Postby mschering » Sun Jun 03, 2007 5:01 pm

Why you have problems with e-mails from this site?
Best regards,



Merijn Schering

Intermesh
User avatar
dkittell
Site Admin
Site Admin
Posts: 808
Joined: Tue May 25, 2004 10:32 pm
Location: Michigan, USA
Contact:

Postby dkittell » Thu Jun 07, 2007 1:45 pm

I have a Anti-Spam appliance that updates on a regular basis and apparently it blocked all .nl extensions for some reaon. but all fixed now
David Kittell
Owner / Developer
Kittell.net
mschering
Site Admin
Site Admin
Posts: 8154
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Postby mschering » Thu Jun 07, 2007 3:32 pm

Oh no, not so nice to block an entire country :)
Best regards,



Merijn Schering

Intermesh

Return to “Announcements”

Who is online

Users browsing this forum: No registered users and 1 guest

cron