Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Dominik on March 27, 2001, 07:05:20 PM
-
I tried to install the groupware "PHProjekt 2.0" on my e-smith server.
Brandon Friedman gave that tip on the followed topic:
http://forums.contribs.org/index.php?topic=10301.msg38825#msg38825
--------------------------------------------------
I did exact what was explained, but I get some errors.
1) I have created a web-accessible i-bay called groupware with these settings:
Group: normal users
User access: Write = Group, Read = Group
Pub. access: Local network (no password required)
2) I've extracted the phprojekt.tar.gz with tar -zxvf phprojekt.tar.gz in the groupware html directory.
Then I moved the files from /home/e-smith/files/ibays/groupware/html/phprojekt-2.0/ to
/home/e-smith/files/ibays/groupware/html/ because the tar created a directory (/phprojekt-2.0).
3) I've created a database with mysql and a user to control with the followed commands:
mysql> create database groupware;
mysql> grant all on groupware.* to groupware@localhost indentified by '123456';
mysql>exit
mysqladmin reload
4) I run the setup php - from my browser: http://192.168.1.1/groupware/setup.php
5) I can connect to the mysql database with the first 2 screens.
On the third screen the default settings were all ok and I get on with the installation.
All tables were created but I get these errors:
Warning: Supplied argument is not a valid File-Handle resource in /home/e-smith/files/ibays/groupware/html/setup.php on line 1096
Warning: Supplied argument is not a valid File-Handle resource in /home/e-smith/files/ibays/groupware/html/setup.php on line 1097
6) I closed all browser windows and started a new browser with http://192.168.1.1/groupware/admin.php
Now I get these error message:
Fatal error: Failed opening required 'config.inc.php' (include_path='.:/usr/share/php') in /home/e-smith/files/ibays/groupware/html/admin.php on line 21
----------------------
I don't know what I can do to get phprojekt working.
Where is the 'config.inc.php'. In /home/e-smith/files/ibays/groupware/html/ or /usr/share/php/ I can't find it.
Can someone help me with these errors.
Thank you for all help.
Dominik S.
-
I did the exact same thing with one minor exception - I don't always copy things verbatim. I read them first. Look at the way "indentified" is spelled! Well I changed it to identified. This may not be your problem but I'll bet it might help.
-
Sorry. I didn't take over the mistake from Brandon Friedman. I read the statements of course and saw that it must be identified and not indentified.
I took it over also again wrongly only in my declaration. Sorry for the misunderstanding.
I am from Germany as you can see and I use the phprojekt 2.0 on my e-smith 4.1.1 with the german language.
That's the reason why my english isn't so good and sometimes I didn't always see the mistakes that I had written.
What Version of phprojekt did you use ?
Can you tell me where the config.inc.php is on your system.
Thanks
Dominik
-
I see now that I was little rude in my assertions earlier.
I believe I am using the same release of phprojekt.
I hope your endeavor is successful. Guten Tag
-
My mistake was, that I moved the files to http://www.yourdomain.com/groupware/. After extracting the tar you can access the groupware under eg. http://www.yourdomain.com/groupware/phprojekt-2.0/ not http://www.yourdomain.com/groupware/
The script has problems when you move it to another directory.
Here is how I could install the PHProjekt 2.0 groupware.
-------------------------
1) Create a web-accessible i-bay called eg. groupware
2) Copy or move the phprojekt.tar.gz to the ../groupware/html/ directory
3) Extracte the phprojekt.tar.gz with tar -zxvf phprojekt.tar.gz
4) Created a database with mysql and a user to control with the followed commands:
root@localhost:mysql
mysql> create database groupware;
mysql> grant all on groupware.* to groupware@localhost identified by '123456'; - the password you whould like to us
mysql>exit
root@localhost:mysqladmin reload
4) Run the setup php from the browser: http://www.yourdomain.com/groupware/setup.php or for a local network eg. http://192.168.1.1/groupware/setup.php
5) login with your settings eg.
Hostname: leave this blank
DBuser: groupware
DBPassword: 123456 - the password you chose above
Exisiting database: groupware
6) Make your settings for the groupware.
7) Backup the written config.inc.php
8) open a new browserwindow and log in as root eg. http://www.yourdomain.com/groupware/admin.php
9) Config what you like eg. users, groups, etc.
------------------------
Greetings to all the e-smith developers.
Dominik S.