[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian Woody und phpGroupWare



Hallo,

ich versuche mich an Debian Woody und php-Groupware. Als SQL-Datenbank
habe ich PortgreSQL installiert.

Die Fragen bei der Installation vom phpgroupware habe ich entsprechend
beantwortet, also Postgres als Datenbank, Apache als Wabserver, die
Passwörter entsprechend gesetzt.

Apache habe ich konfiguriert, daß er mit PHP  umgehen kann: 

,----
| niehaus@toxic:~$ grep -i php /etc/apache/httpd.conf | grep -v "#" 
| LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
|     DirectoryIndex index.html index.php3 index.php index.htm index.shtml index.cgi
|     AddType application/x-httpd-php3 .php
|     AddType application/x-httpd-php3-source .phps
| Include /etc/phpgroupware/apache.conf
| niehaus@toxic:~$ 
`----

Nun soll ich auf die URL http://toxic/phpgroupware/setup/ gehen und
den Rest der Konfiguration per Web-Interface machen. Nach Eingeben der
URL erscheint eine Seite



,---- 
| Setup/Config Admin Login   _____________  [English]   |[Login]|
| 
| 
| Header Admin Login        ______________  |[Login]|
`----

Ich geben bei dem Admin Login das bei der Installation gesetzte
Passwort ein und klicke auf "Login". Das Ergebnis: eine leere Seite,
Seitenquellcode:

| <html><body></body></html>



Wenn das Passwort für den Header Admin eingebe, erscheint eine Seite
mit folgendem Inhalt:


,----
| phpGroupWare version 0.9.13.018 Einrichtung III    Logout
| Edit your existing header.inc.php
| 
| Analysis
| 
| No MySQL support found. Disabling
| No Postgres-DB support found. Disabling
| No Microsoft SQL Server support found. Disabling
| No Oracle-DB support found. Disabling
| 
| did not found any valid DB support !
| 
| try to configure your php to support one of the above mentioned dbs or
| install phpgroupware by hand
`----

Inhalte der Datei /usr/share/phpgroupware/header.inc.php:

,----
| 
|         define('PHPGW_SERVER_ROOT','/usr/share/phpgroupware/');
|         define('PHPGW_INCLUDE_ROOT','/usr/share/phpgroupware/');
|         $GLOBALS['phpgw_info']['server']['header_admin_password'] = 'geheim';
| 
|         $GLOBALS['phpgw_domain']['default'] = array (
|                 'db_host' => 'localhost', 
|                 'db_name' => 'phpgroupware', 
|                 'db_user' => 'phpgroupware', 
|                 'db_pass' => 'geheim', 
|                 // Look at the README file
|                 'db_type' => 'pgsql',
|                 // This will limit who is allowed to make configuration modifcations
|                 'config_passwd' => 'geheim'
|         );
| 
|         $GLOBALS['phpgw_info']['server']['db_persistent'] = false;
| 
|         /*
|         ** phpGroupWare can handle session management using the database, but if
|         ** you are using PHP4 you can usually get better performance by having phpGroupWare
|         ** use the session support built into PHP4. PHP3 users will have to use the database.
|         ** Your choices are 'db' or 'php4'
|         */
|         $GLOBALS['phpgw_info']['server']['sessions_type'] = 'db';
| 
|         /*
|         ** 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 domian support, default domain users can login only using
|         ** there loginid.
|         */
|         $GLOBALS['phpgw_info']['server']['show_domain_selectbox'] = false;
|         /* 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 initilazation 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';
| 
|         /* Uncomment this out and use this for supporting different domains using this single install */
|         /* (ignore if you are only supporting a single domain)*/
| /*
|         $GLOBALS['phpgw_domain']['domain2.com'] = array (
|                 'db_host'       => 'localhost', 
|                 'db_name'       => 'phpgw_domain2', 
|                 'db_user'       => 'phpgroupware', 
|                 'db_pass'       => 'their_password', 
|                 'db_type'       => 'mysql',
|                 'config_passwd' => 'changeme'
|         );
| */
| 
|         /* If you want phpGroupWare to be cached by proxy servers, uncomment the following */
|         /* 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_APP',  False);
|         define('DEBUG_API',  False);
|         define('DEBUG_DATATYPES',  True);
|         define('DEBUG_LEVEL',  3);
| 
| 
|         /**************************************************************************\
|         * 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'];
|         unset($setup_info);
|         $GLOBALS['phpgw_info']['server']['versions']['header'] = '1.20';
|         /* 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');
|         }
| 
|         /* 
|           Leave off the final php closing tag, some editors will add
|           a \n or space after which will mess up cookies later on
|         */
`----


Postgres scheint zu laufen:

,----
| niehaus@toxic:~$ ps aux |grep postg
| postgres 11100  0.0  0.2  8544  180 pts/2    S    Mar14   0:00 /usr/lib/postgresql/bin/postmaster
| postgres 11102  0.0  0.1  9536   92 pts/2    S    Mar14   0:00 postgres: stats buffer process    
| postgres 11103  0.0  0.3  8600  232 pts/2    S    Mar14   0:00 postgres: stats collector process   
| postgres 12238  0.0  1.9  2276 1228 pts/2    S    10:31   0:00 sh
| niehaus  12296  0.0  0.7  1340  472 pts/7    S    11:07   0:00 grep postg
| niehaus@toxic:~$ 
`----


Kann mir jemand weiterhelfen bzw. einen Tipp geben, wo mein Fehler
liegt bzw. wo ich weiter suchen sollte?


Vielen Dank im Voraus,


Sebastian



Reply to: