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 questionmark.gif

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:
  1. <?php
  2. /**************************************************************************
  3. * phpGroupWare  *
  4. * http://www.phpgroupware.org *
  5. * This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
  6. * --------------------------------------------  *
  7. * This program is free software; you can redistribute it and/or modify it *
  8. * under the terms of the GNU General Public License as published by the  *
  9. * Free Software Foundation; either version 2 of the License, or (at your *
  10. * option) any later version. *
  11. **************************************************************************/
  12. /* $Id: header.inc.php.template,v 1.35.2.5.2.2 2003/09/08 01:27:44 skwashd Exp $ */
  13.  
  14. /**************************************************************************
  15. * !!!!!!! EDIT THESE LINES !!!!!!!! *
  16. * This setting allows you to easily move the include directory and the  *
  17. * base of the phpGroupWare install. Simple edit the following 2 lines with * 
  18. * the absolute path to fit your site, and you should be up and running. *
  19. **************************************************************************/
  20.  
  21. define('PHPGW_SERVER_ROOT','/usr/share/phpgroupware/');
  22. define('PHPGW_INCLUDE_ROOT','/usr/share/phpgroupware/');
  23. $GLOBALS['phpgw_info']['server']['header_admin_password'] = 'moje has³o';
  24.  
  25. /* phpGroupWare domain-specific db settings */
  26. $GLOBALS['phpgw_domain']['www.moja-domena.org'] = array (
  27. 'db_host' => 'localhost', 
  28. 'db_name' => 'phpgroupware', 
  29. 'db_user' => 'phpgroupware', 
  30. 'db_pass' => 'moje has³o', 
  31. // Look at the README file
  32. 'db_type' => 'mysql',
  33. // This will limit who is allowed to make configuration modifications
  34. 'config_passwd' => 'moje has³o'
  35. );
  36.  
  37. /*
  38. ** If you want to have your domains in a select box, change to True
  39. ** If not, users will have to login as user@domain
  40. ** Note: This is only for virtual domain support, default domain users can login
     only using
  41. ** there loginid.
  42. */
  43. $GLOBALS['phpgw_info']['server']['show_domain_selectbox'] = True;
  44.  
  45. /*
  46. ** As an alternative to the domain select box, set this option to True
  47. ** to use the domain name from the browser provided hostname ($_SERVER['HTTP_HOST'])
  48. */
  49. $GLOBALS['phpgw_info']['server']['domain_from_host'] = True;
  50.  
  51. $GLOBALS['phpgw_info']['server']['db_persistent'] = True;
  52.  
  53. /*
  54. ** phpGroupWare can handle session management using the database, but if
  55. ** you are using PHP4 you can usually get better performance by having phpGroupW
    are
  56. ** use the session support built into PHP4. PHP3 users will have to use the data
    base.
  57. ** Your choices are 'db' or 'php4'
  58. */
  59. $GLOBALS['phpgw_info']['server']['sessions_type'] = 'php4';
  60.  
  61. /* Select which login template set you want, most people will use default */
  62. $GLOBALS['phpgw_info']['login_template_set'] = 'default';
  63.  
  64. /* This is used to control mcrypt's use */
  65. $GLOBALS['phpgw_info']['server']['mcrypt_enabled'] = False;
  66. /* Set this to 'old' for versions < 2.4, otherwise the exact mcrypt version you use. */
  67. $GLOBALS['phpgw_info']['server']['versions']['mcrypt'] = 'none';
  68.  
  69. /*
  70. ** This is a random string used as the initialization vector for mcrypt
  71. ** feel free to change it when setting up phpgroupware on a clean database,
  72. ** but you must not change it after that point!
  73. ** It should be around 30 bytes in length.
  74. */
  75. $GLOBALS['phpgw_info']['server']['mcrypt_iv'] = 'none';
  76.  
  77. /* If you want phpGroupWare to be cached by proxy servers, uncomment the followin
    g */
  78. /* This is NOT recommended, but phpGroupWare should still work fine. */
  79. if(!isset($GLOBALS['phpgw_info']['flags']['nocachecontrol']) || !$GLOBALS['phpgw_info']['flags']['nocachecontrol'] == True)
  80. {
  81. header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1
  82. header('Pragma: no-cache'); // HTTP/1.0
  83. }
  84.  
  85. /* debugging settings */
  86. define('DEBUG_APP', False);
  87. define('DEBUG_API', False);
  88. define('DEBUG_DATATYPES', True);
  89. define('DEBUG_LEVEL', 3);
  90. define('DEBUG_OUTPUT', 2); /* 1 = screen, 2 = DB (not supported with PHP3). For both use 3. */
  91. define('DEBUG_TIMER', False);
  92.  
  93. function perfgetmicrotime()
  94. {
  95. list($usec, $sec) = explode(' ',microtime());
  96. return ((float)$usec + (float)$sec);
  97. }
  98.  
  99. if (DEBUG_TIMER)
  100. {
  101. $GLOBALS['debug_timer_start'] = perfgetmicrotime();
  102. }
  103.  
  104. /**************************************************************************
  105. * Do not edit these lines *
  106. **************************************************************************/
  107. define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
  108. include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
  109. $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] = $setup_info['phpgwapi']['version'];
  110. $GLOBALS['phpgw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header'];
  111. unset($setup_info);
  112. $GLOBALS['phpgw_info']['server']['versions']['header'] = '1.24';
  113. /* This is a fix for NT */
  114. if(!isset($GLOBALS['phpgw_info']['flags']['noapi']) || $GLOBALS['phpgw_info']['flags']['noapi'] != True)
  115. {
  116. include(PHPGW_API_INC . '/functions.inc.php');
  117. include(PHPGW_API_INC . '/xml_functions.inc.php');
  118. include(PHPGW_API_INC . '/soap_functions.inc.php');
  119. }
  120. ?>


! Pomocy ! Help !