Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Gerald Jansen on April 29, 2001, 01:46:17 AM

Title: phprojekt -groupware
Post by: Gerald Jansen on April 29, 2001, 01:46:17 AM
phprojekt is a groupware product similair to phpGroupWare. One of its nice features is a php setup file. The problem is the setup file won't execute properly on an e-smith system. It is probably a pathing problem. I have looked at the code in the file but don't see what the program is looking for with regard to mysql and the php directory structure. I am sure it doesn't know how to deal with ibays and virtual domains. If anyone of you has altered the setup.php file to work on e-smith I would be very grateful to know  how you did it. TIA.
For those of you interest in looking at the application it can be found at:  http://www.phprojekt.com/  

Best Regards,

Gerald
Title: Re: phprojekt -groupware
Post by: Gregg Scott on April 29, 2001, 04:46:44 AM
I successfully installed phprojekt onto an e-smith server.  Here's how I did it.

Since the primary html directory has php inactive and there is no easy way to acivate it, I had to create an ibay for each php program.

1.  Create an ibay and call it phproject.  I called it phproject since I have an easier time with english.  Activate the php, cgi-bin stuff.  Also, make sure you can ftp to it, so you can install the program.  I also made sure that I could connect via the internet.

2.  I untarred phprojekt on my client machine.  I ftp'd to my server and copied the contents of the phprojekt-2.0 directory into phproject/html ibay.

3.  On your server you need to create a mysql database before
you can install phprojekt.  Use "mysqladmin create phproject"

4.  Now back on your client machine.  Open a browser and connect to your website and add /phproject/setup.php. You should be at the setup page.  Remember that the database is the one you just created.

This works for all php programs.  e-smith sets up the Apache configuration (httpd.conf) file with aliases to the ibays, so you can easily get to them.  You should not have to edit the httpd.conf file at all.
Title: Re: phprojekt -groupware
Post by: Alexie on April 29, 2001, 05:18:32 AM
The fix for PHP support in 4.1.2 is out..

There is a missing line in an httpd.conf template fragment, resulting in PHP being disabled for the primary i-bay.

Temporary Fix:
Update e-smith-base, e-smith-base-4.4.0-14.noarch.rpm  
Additional Comments:
This bug is not found in version prior to e-smith 4.1.2.

ftp://pub/e-smith/current/updates/RPMS/noarch/e-smith-base-4.4.0-14.noarch.rpm
Title: Re: phprojekt -groupware
Post by: Gerald Jansen on April 29, 2001, 07:36:34 AM
I don't know if this makes a difference. I am attempting to install 2.1 I have created a database using phpMyAdmin. However I an unable to create tables because then are created by the setup.php program. I can't get that program to accept any combination of host, user name , password and database file name.
Title: Re: phprojekt -groupware
Post by: Ronald Tanis on May 02, 2001, 12:23:18 AM
help,

does anyone know how i can install phprojekt,

What is my hostname?
what is my username?
what is my password ?
Name of the existing Database ??

by hostname i fill in "localhost"
by username i fill in "root"
by password i fill in "my_root_password"
name of the database phpprojekt

created with "mysqladmin create phpprojekt

Help me please
Thanks for your time
Ronald Tanis
Title: Re: phprojekt -groupware
Post by: Greg Martin on May 02, 2001, 06:15:35 AM
the mysql password is not the same as your root password.

the password is stored in /root/.my.cnf

otherwise everthing looks right.
Title: Re: phprojekt -groupware
Post by: Ronald Tanis on May 02, 2001, 11:44:52 AM
Sorry, it does not work!
Please fix it and restart the installation.

it still doesn't work

my hostname = localhost
my username = root
my password = stored in /root/.my.cnf
my databaste = phprojekt

i create phprojekt with mysqladmin create phprojekt

if i push the go button then Sorry, it does not work!
Please fix it and restart the installation.


please help me with this problemGreg Martin wrote:
>
> the mysql password is not the same as your root password.
>
> the password is stored in /root/.my.cnf
>
> otherwise everthing looks right.
Title: Re: phprojekt -groupware
Post by: kwm on May 18, 2001, 08:27:05 PM
There were no problems with the installation and the first configuration of the phprojekt. - They came up later!

Now I can run the setup.php and change everything but the
changes wont be saved.  The document management is set to the path /usr/local/http ... such a path doesnt exist on the e-smith

Maybe I schould change it to /home/httpd/phprojekt and create the subdirectory

Can anybody give me advice?

kwm