Koozali.org: home of the SME Server

PHProjekt

Peter

PHProjekt
« on: January 10, 2004, 06:12:04 PM »
I have Phprojekt 4 running on SME 6.0. I have problems with Mail it just will not pick it up also uploding files which says it has loaded files to the server but when viewed on server the file name is correct but 0k in files. I'v looked over verious forums re these problems and it seems they have not been resolved,  that is unless you know better? any help is good.

Peter

Peter

Re: PHProjekt
« Reply #1 on: January 10, 2004, 10:10:41 PM »
OK Have a work round for e-mail which seems to work!
From the PHProject mail tab (and providing you have user rights from admin to use e-mail ) go to options--create/modify.  In the mail KENTO name you can put anything you like> Host name = your mailserver name ie "server": Type IMAP/NOTLS: Tick the include to receive-list: Now in the LAST NAME enter the e-mail account user name NOT THE LAST NAME: for some reason this field updates the user_account username field in the SQL DB. I dont have the skills to correct this in PHP so over to you! any feed back is welcome!

Peter

Peter

Re: PHProjekt
« Reply #2 on: January 12, 2004, 12:53:00 PM »
This is a msg i get when I attempt to upload file:

Panic - Could not copy /tmp/phphRa4Cr to /home/e-smith/files/ibays/php/html/upload/4AkHH6trdzTN!

Any ideas?

Peter

Michael Hall

Re: PHProjekt
« Reply #3 on: January 17, 2004, 04:06:43 PM »
Only guessing here ... Can the web server write to the upload directory (permissions)? Also, how big is the file ... PHP has a configurable limit on upload sizes. Either 2Mb or 8Mb from memory, something like that.

[%sig%]

Paul Andersen

Re: PHProjekt
« Reply #4 on: January 18, 2004, 02:05:10 AM »
I have PHProjekt working perfectly under SME 5.6 running from an Ibay.

You may have missed this step found under FAQ on the e-smith.org site ...

"PHP applications running in i-bays can only access files within the same i-bay. Is there a way that the administrator can relax this restriction?
Yes. The administrator can change the PHP Base Directory by executing the following commands (as root):

   
/sbin/e-smith/db accounts setprop your_i-bay_name PHPBaseDir /    
/sbin/e-smith/signal-event ibay-modify your_i-bay_name

Note that the PHPBaseDir argument can be more restrictive than the example shown above. For example PHPBaseDir can also be '/home/e-smith/files/'."

Hope this helps.

ken

Re: PHProjekt
« Reply #5 on: January 18, 2004, 07:14:53 AM »
You are correct it won't upload files from a ibay by default due to some security settings of E-smith. I think a suggestions has been provided in another post on this thread.

I used the rpm provided here but it is for a old version PHProjekt.
http://www.marari.net/downloads/phprojekt/phprojekt-howto.htm

I then logged in as root and typed mysql and then typed
DROP DATABASE PROJECT;

then I think its

CREATE DATABASE PROJECT;                    the semicolons are required to execute

then exit mysql with a      /q     command

I then used midnight commander MC at prompt to copy a unzipped & renamed to project version of PHProjekt 4.1 to the  /opt directory  after first deleting the old version project and directory.

PHProjekt must then be set up via https://yourdomain/project/setup.php

Uploads work, with this configuration.
Also CMS content add on module seems to work

But the password creation add on module would not work for me as the users seemed to not show up anywhere that root administrator could see them.
 
I saw a reply on PHprojekt to your question regards email and it appears to be a translation error to English for which you have found the answer, I believe they pointed out how to correct the file so it asks the correct question.

A current bug in PHprojekt 4.1 appears to be the inability to print a note larger than the window displayed - I hope someone comes up with code to correct this soon.

Ken