Witam, mam nadzieje że ktoś instalował i konfigurował phpGroupWare
Postepowałem wg manuala ale po zainstalowaniu, gdy chcę obejrzeć wynik mojej pracy pojawia sie nastepujący błąd :
Fatal Error: It appears that you have not created the database tables for phpGroupWare. Click here to run setup.
Nie wiem czy powinny sie utworzyć jakieś przykładowe tabele czy tak nie jest i należy je utwożyć samemu

phpGroupWare version 0.9.16.005
You appear to have MySQL support enabled*
You appear to have Postgres-DB support enabled*
No Microsoft SQL Server support found. Disabling*
No Oracle-DB support found. Disabling*
No ODBC/SAPDB support found. Disabling*
You appear to be using PHP4. Enabling PHP4 sessions support*
You appear to have IMAP support enabled*
Found existing configuration file. Loading settings from the file...*
w bazie MySQL istnieje baza phpgroupware i użytkownik phpgroupware
Poniżej zawartość pliku header.inc.php:
<?php
/**************************************************************************
* phpGroupWare *
* http://www.phpgroupware.org *
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
**************************************************************************/
/* $Id: header.inc.php.template,v 1.35.2.5.2.2 2003/09/08 01:27:44 skwashd Exp $ */
/**************************************************************************
* !!!!!!! EDIT THESE LINES !!!!!!!! *
* This setting allows you to easily move the include directory and the *
* base of the phpGroupWare install. Simple edit the following 2 lines with *
* the absolute path to fit your site, and you should be up and running. *
**************************************************************************/
define('PHPGW_SERVER_ROOT','/usr/share/phpgroupware/'); define('PHPGW_INCLUDE_ROOT','/usr/share/phpgroupware/'); $GLOBALS['phpgw_info']['server']['header_admin_password'] = 'moje hasło';
/* phpGroupWare domain-specific db settings */
$GLOBALS['phpgw_domain']['www.moja-domena.org'] = array ( 'db_host' => 'localhost',
'db_name' => 'phpgroupware',
'db_user' => 'phpgroupware',
'db_pass' => 'moje hasło',
// Look at the README file
'db_type' => 'mysql',
// This will limit who is allowed to make configuration modifications
'config_passwd' => 'moje hasło'
);
/*
** If you want to have your domains in a select box, change to True
** If not, users will have to login as user@domain
** Note: This is only for virtual domain support, default domain users can login
only using
** there loginid.
*/
$GLOBALS['phpgw_info']['server']['show_domain_selectbox'] = True;
/*
** As an alternative to the domain select box, set this option to True
** to use the domain name from the browser provided hostname ($_SERVER['HTTP_HOST'])
*/
$GLOBALS['phpgw_info']['server']['domain_from_host'] = True;
$GLOBALS['phpgw_info']['server']['db_persistent'] = True;
/*
** phpGroupWare can handle session management using the database, but if
** you are using PHP4 you can usually get better performance by having phpGroupW
are
** use the session support built into PHP4. PHP3 users will have to use the data
base.
** Your choices are 'db' or 'php4'
*/
$GLOBALS['phpgw_info']['server']['sessions_type'] = 'php4';
/* Select which login template set you want, most people will use default */
$GLOBALS['phpgw_info']['login_template_set'] = 'default';
/* This is used to control mcrypt's use */
$GLOBALS['phpgw_info']['server']['mcrypt_enabled'] = False;
/* Set this to 'old' for versions < 2.4, otherwise the exact mcrypt version you use. */
$GLOBALS['phpgw_info']['server']['versions']['mcrypt'] = 'none';
/*
** This is a random string used as the initialization vector for mcrypt
** feel free to change it when setting up phpgroupware on a clean database,
** but you must not change it after that point!
** It should be around 30 bytes in length.
*/
$GLOBALS['phpgw_info']['server']['mcrypt_iv'] = 'none';
/* If you want phpGroupWare to be cached by proxy servers, uncomment the followin
g */
/* This is NOT recommended, but phpGroupWare should still work fine. */
if(!isset($GLOBALS['phpgw_info']['flags']['nocachecontrol']) || !$GLOBALS['phpgw_info']['flags']['nocachecontrol'] == True) {
header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1 header('Pragma: no-cache'); // HTTP/1.0 }
/* debugging settings */
define('DEBUG_DATATYPES', True); define('DEBUG_OUTPUT', 2
); /* 1 = screen, 2 = DB (not supported with PHP3). For both use 3. */
function perfgetmicrotime()
{
return ((float)$usec + (float)$sec);
}
if (DEBUG_TIMER)
{
$GLOBALS['debug_timer_start'] = perfgetmicrotime();
}
/**************************************************************************
* Do not edit these lines *
**************************************************************************/
define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT
.'/phpgwapi/inc'); include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
$GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] = $setup_info['phpgwapi']['version'];
$GLOBALS['phpgw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header'];
$GLOBALS['phpgw_info']['server']['versions']['header'] = '1.24';
/* This is a fix for NT */
if(!isset($GLOBALS['phpgw_info']['flags']['noapi']) || $GLOBALS['phpgw_info']['flags']['noapi'] != True) {
include(PHPGW_API_INC . '/functions.inc.php');
include(PHPGW_API_INC . '/xml_functions.inc.php');
include(PHPGW_API_INC . '/soap_functions.inc.php');
}
?>
! Pomocy ! Help !
Ten post edytował nowtom 3.11.2005, 00:46:02