echo '<b>Fatal error:</b> Could not get the path of the this script. The server variable \'SCRIPT_FILENAME\' and \'PATH_TRANSLATED\' are not set.';
echo '<br /><br />Correct this and refresh this page. If you are not able to correct this try the manual installation described in the file \'INSTALL\'';
print_foot();
exit();
}
//the root_path of Group-Office is the path of this script without install.php
//check ifconfig exists and if the config file is writable
$config_exists = file_exists('Group-Office.php');
if ($config_exists && !is_writable('Group-Office.php'))
{
print_head();
echo 'The configuration file Group-Office.php exists in '.$root_path.' but is not writable. If you wish to make changes then you have to make Group-Office.php writable during the configuration process.';
echo '<br /><br />Correct this and refresh this page.';
Group-Office has detected a previous installation of Group-Office. Do you wish to keep the existing data and perform an upgrade?
<?php
if (!$db_version)
{
echo '<br /><br />Group-Office was unable to detect your old Group-Office version. The installer needs you old version number to determine updates that might apply.<br />';
echo 'Please enter the version number below if you wish to perform an upgrade.';
Group-Office needs a place to store temporarily data such as session data or file uploads. Create a writable path for this purpose now and enter it in the box below.<br />
You can select if you want to use the Group-Office database or an LDAP directory server as authentication source.<br />
Please note that if Group-Office fails to authenticate the user at the LDAP or mail server it will fall back on the Group-Office database.<br />
If you are going to use authentication on a mail server you will have to specify the mail servers Group-Office is allowed to use in the file 'auth_mail_servers.inc'.
When this option is selected a system user will be created identical to the Group-Office users.<br />
If you wish to enable this you need <a href="http://www.courtesan.com/sudo/" target="_blank">Sudo</a> to be installed and enter the data from 'lib/sudoers' into '/etc/sudoers'.<br />
Keep in mind that if you do this the webserver can now:
<ul>
<li>add/remove users</li>
<li>change passwords</li>
<li>reboot and halt the machine</li>
</ul>
So this is genaraly a BAD idea on a public webserver
With system accounts enabled Group-Office can create automatically add accounts if local IMAP or POP3 is enabled. <br />
The local hostname is the name of this machine and optionally you can add the same options as you can add to the PHP imap_open function like /notls for a Redhat bug.<br />
Leave blank if you wish to disable automatic email creation.
You may want to edit /etc/php.ini to configure file uploads.<br />
When you are done log in to Group-Office with the administrator account.<br />
<ul>
<li>Navigate to the menu: administrator -> configuration -> modules, select the modules you wish to use and click at the 'save' button</li>
<li>Navigate to the menu: administrator -> configuration -> menu's, select the menu's you wish to use and click at the 'save' button</li>
<li>Navigate to the menu: administrator -> users and add new users.</li>
</ul>
<br />
<br />
For further troubleshooting please consult the <a target="_blank" href="FAQ">FAQ</a> included with the package. If that doesn't help post on the <a target="_blank" href="http://sourceforge.net/forum/?group_id=76359">forums</a>.<br />
Developers should take a look at modules/example/index.php
<br /><br />
<a href="<?php echo $GO_CONFIG->host; ?>">Click here to start Group-Office!</a>