Q: Everything went perfect bu i can't log in with root/root. Or: I created a new user but I cannot login with his combination! A: Look into the config: if the variable $login_kurz =0, use the last name (nachname) =1 use the short name (kurz) =2 use the login name (loginname) together with the password. Q: I have downloaded the zip file and extracted but where is this config file? A: Did you already run setup.php? this will install PHProjekt on your system and write the configuration file. Q: After choosing the setup type (installation), language and db type on the first screen, I don't see any words on the next screen! A: The script fails to include the file for the chosen language. Extend the include pathes for the variable 'include_path' in the php.ini. (or leave the value blank) Another hint from an user: the variable magic_quotes_gpc in the php.ini must be set to 'on' Q: The setup is done but it tells me that it still misses the file config.inc.php A: The webserver did not have the right to write this file at the end of the setup routine. chmod 777 for the directory, delete all tables and try again. Q: I want to use the ldap access. What do I have to do? A: First of all you have to have the ldap extensions of PHP activated. Then the checkbox in the setup appears. After this oyu have to: - Activate LDAP by setting the LDAP-field in setup.php to 1. - Edit ldapconf.php according to your needs. (You can create as many ldap-configurations as you want to, you just have to copy the configuration array and increase its index number by one -e. g. change the index to '2' for the 2nd configuration). -Create your new users by choosing 'create user' in the admin module. You have to select one LDAP-configuration and to enter user-data that can't be retrieved via LDAP. The loginname has to be equivalent to the LDAP uid (you can change this in ldapconf.php by changing the 'uid'-field to the field you want to, but this has not been tested). Q: Warning: OCIStmtExecute: ORA-00910: specified length too long for its datatype in lib.inc.php on line 95 A: PHProjekt does not support oracle version 7 or lower. Q: I want to use the full mail client, but I cannot find him! A: You have to have the imap extensions of php activated. Then you get the option to choose the installation of the full mail client in the setup. Q: How can I include own modules? A: This is quite easy: take the folder with all files (including an 'index.php') and place it into the folder 'addons' in the PHProjekt root directory. The name of you folder will appear in the navigation bar. Q: Warning: MySQL Connection Failed: Can't connect to MySQL server on '10.100.1.4' (111) in /www/htdocs/phprojekt/setup.php on line 117 A: Your webserver can't establish a connection to the mysql database Reasons: the database or the connection to it is down or broken, or you have the wrong parameters. Q: Fatal error: Call to undefined function: ocilogon() in /usr/local/httpd/htdocs/phprojekt/setup.php on line 119 A: Your actual PHP does not support oracle. Solution: Linux: compile your PHP --with-oci8, Windows: get php_oci8.dll - and don't forget to uncomment the respective line in the php.ini Q: After the login screen I get several screens, each with the login dialog :-( (also named: 'four login screens') A: Because of security reasons You have to enable cookies. Q: Does PHProjekt work with PHP3? A: No way, sorry :-( Q: Warning: crypt() is not supported in this PHP build in lib.inc.php on line 174 A: You have a windows PHP version which does not support the command crypt. -> take PHP version 4.0.4 or higher, but not 4.0.5 Q: Warning: Wrong parameter count for session_register() in lib.inc.php on line 114 A: That's a bug in early PHP4 versions. -> use a PHP4 version 4.0.2 or higher Q: Setup will always show me the first screen, I can't continue! A: Have a look into the php.ini: the variables 'register_globals' and 'allow_call_time_pass_reference' must be set to 'on'. Q: I have installed PHProjekt, but how do I get the lanugages set? A: Go to the admin page to the 'modify user' screen: you can choose the language in the last select box. Q: Warning: open(/tmp\sess_8e3f13497b89881b4f71e6beecadd6d3, O_RDWR) failed: m (2) in c:/phproject/admin.php on line 1 A: The path where your sessions are stored is not set properly. Edit the variable session.save_path in the php.ini Q: I cannot up- and download files! The system tells me: SAFE MODE Restriction in effect. The script whose uid is 911 is not allowed to access /var/tmp/gfd8sa owned by uid 3 in /www/htdocs/phprojekt/dateien.inc.php on line 25 A: Your system does not allow that the webserver copies files from the tmp directory to the file dreictory specified in the config. -> ask your provider to turn off the safe_mode. Q: My chat doesn't work! A: The reason could be that your webserver does not have the privilege to write files in this folder. Try 'chmod -R 777 'your phprojekt directory'. Do it only if you know what you are doing, or rather best contact your sysadmin or provider to fix this. Q: At the installation appear the following error messages: user@linux:~/phprojekt-2.4 > setup.php ./setup.php: ?: File or list not found ./setup.php: //##: File or list not found ./setup.php: line 6: syntax error near unexpected token `:-)' A: Since PHProjekt is a PHP4 tool, it does not work from the command line. You have to extract the files into a directory of your webserver and call the script setup.php via your browser. Q: What should I prepare for an installation with postgres? A: 1. create a database: createdb phprojekt This msut be done as user postgres (su - postgres) If this fails, it's very likely that postgres is not running properly. (/etc/rc.d/postgres restart for postgres restart) 2. create a user which also have an UNIX account, he must be identical with the webserver (often wwwrun or nobody) - createuser wwwrun Give him the priviledge to create tables 3. now insert the fields below with db_name = phprojekt and db_user wwwrun, mostly no password required. Q: I'm trying to install with Postgres 7.1.2. But I get this message: "Fatal error: call to undefined function pg_connect ..." A: You forgot to compile PHP with postgres support! So PHP cannot know this and the other pg commands. Q: I have a MySQL-DB on my providers host which already has a table named users. Is it possible to rename PHProjekt's table users to something else? A: Unfortunately not :-( Q: I am running suse 7.0, with apache and mod_php4, with mysql. I created the blank database, got the permissions right, and ran setup.php. I chose installation, and entered all my info, and what i got back was: Sorry, it did not work! Please fix it and restart the installation. A: This message wants to tell you that your parameters are not set properly. The db accees parameters are like: host: localhost user: root password: [no password] database: [name of new blank db] Q: After running the setup.php from the terminal line, I get errors like: "Unexpected token on line 6" ... etc. A: You need to have a working LAMP (or similar) configuration. Place PHProjekt in a subdirectory of your e.g.htdocs dir Then call the 'localhost' in your browser, search the PHProjekt dir and run steup.php Q: After I run setup and I get the next page with "Seems that You have a valid database connection!" but after I submit that I get errors, can't create table. A: sorry but this check with the following message just covers a part of the conncetion test. So it seems that it still cannot write the tables. 1. because nonew database exists. 2. the webserver is not allowed to write tables into the db 3. the connection parameters are still no correct. Q: Where can I find tutorials about installing a LAMP or WAMP system? (LAMP means Linux/Apache/mysql/PHP and Wamp the same with Windoze) A: This page here has a list about the available tutorials: http://www.dynamic-webpages.de/07.installation.php Q: When I try to upload a file, I get an error: "Oops! Something went wrong ... Please check whether the file exists in the target directory and the variable dat_rel in the config has the correct value A: Please check whether this directory exists and make sure the webserver is allowed to copy the files from the tmp directory to this directory. Typical values for the variables $dateien and $dat_rel are: $dateien = "/usr/local/httpd/phprojekt/file"; and $dat_rel = "file"; for Linux or $dateien = "c:\htdocs/phprojekt/file"; and $dat_rel = "file"; for windows Some users reported that the donwload only worked after they changed the path in the variable $dat_rel from relative to absolute. Q: The file module doesn't work at all! None of the mentioned hints helps ... A: Two users reported that they got the file module working after they updated to PHP 4.0.4 or higher. Maybe this does the trick. Q: I sent a mail via the mail module and I didn't get any error, but the recipeint never receive any mail. What happened? A: PHProjekt uses the built-in mail() function of PHP which accesses the mailserver of your system (for Linux e.g. sendmail). Maybe this connection doesn't work. Q: Do I really need an empty database to install phprojekt. Can't i use an existing one. The tables doesn't interfere! A: If you are sure that the tables which will be written do not have the same name as the existing tables, then you can use your existing database. Q: I get the following errors after selecting modules: An error ocurred while creating table: 'dateien' ... An error ocurred while creating table: 'termine' A: 1. You forgot to create a new, blank database 2. Your connection parameters do not work properly. 3. Your webserver does not have the right to create the tables Q: After installation all works fine but on 'Project' button 'New' not exists ! A: Only users with 'chief' status (and from version 3.0 on admins as well) can crete new projects. Q: I\'m trying to configure the file system of PHProjekt. The mysql server and the server with the PHProjekt files on it aren't the same. Hence I can't configure the $dateien variable to correctly point to the file directory. A: Right, this works only with relative local pathes, not with remote access. Q: I have a WAMP configuration (with windows). How can I activate the mail module? A: For windows you need a smtp server (e.g. hamster) to get the mail function of PHP running. Q: Upload works perfect using Files smaller than aprox. 2MB. Using bigger files leads to an error message. A: Raise the value of 'upload_max_filesize' and 'post_max_size' in the php.ini to the desired maximum upload size. Q: Is there a way to limit the session time automatically? A: Yes, raise the value of $session_time_limit in the config to the desired value [minutes] Q: The installation on my oracle failed! the tables have been created but no default user A: The reason could be that the triggers haven't been created. Please check whether the Server has the right to create triggers. $back |