Session Errors Everytime i Sync Domains (phptmpdir)

EVERY TIME i sync domains and possibly some other functions to do with cron
I get session errors and the only way is to delete the files in phptmpdir to stop the problem and so it becomes very annoying when i have to constantly sync domains after every upload or update of domains.
This only seams to happen with certain sites that have Databases.
These are my issue sites: socialengine and opencart.

This is rendering EHCP as a very annoying and useless CP (I am using 0.30 btw)
Can anyone please help resolve this issue ? I never had this issue in EHCP 0.28

paste here output of following commands:
cd /var/www/vhosts/spotless-servicecom/spotless-service.com/
ls -lh
umask
cd phptmpdir
ls -lh | head -10
umask

cd /var/www/new/ehcp
grep wwwuser classapp.php
grep wwwgroup classapp.php
grep ftpuser classapp.php
grep ftpgroup classapp.php
grep ehcpversion classapp.php

These commands will help us investigate the case. mostly you have permission issue.

Below is the whole lot that came back at me.
I Must say thank you for being so helpful and fast.

colin@truestate:~$ cd /var/www/vhosts/spotless-servicecom/spotless-service.com/
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com$ ls -lhtotal 84K
drwxrwxrwx 9 vsftpd www-data 4.0K 2012-09-29 15:42 httpdocs
-rw-r--r-- 1 vsftpd www-data 657 2011-10-19 12:01 index.php
drwxr-xr-x 2 root root 4.0K 2012-09-30 07:52 logs
drwxrwxrwx 2 vsftpd www-data 68K 2012-10-05 12:39 phptmpdir
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com$ umask
0022
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com$ cd phptmpdir
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com/phptmpdir$ ls -lh | head -10
total 28K
-rw------- 1 www-data www-data 63 2012-10-03 22:53 sess_1j07ih7hgrnp09ar7n832ntmj5
-rw------- 1 www-data www-data 81 2012-10-04 11:28 sess_evmlkr16j3rjoj2t829q14dtj2
-rw------- 1 www-data www-data 63 2012-10-05 00:26 sess_jtnrl6voqfc8t85nn0ncdfp504
-rw------- 1 www-data www-data 125 2012-10-06 00:38 sess_marpqrnmhd7faj5n6fjunj9dm1
-rw------- 1 www-data www-data 63 2012-10-04 11:25 sess_ro3jm9qir8sim84b2s1nc2l012
-rw------- 1 www-data www-data 19 2012-10-05 12:39 sess_rthve00nkmdbjnhgft69psmk42
-rw------- 1 www-data www-data 19 2012-10-04 20:34 sess_uoehj5m796u112dsao8g798go0
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com/phptmpdir$ umask
0022
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com/phptmpdir$
colin@truestate:/var/www/vhosts/spotless-servicecom/spotless-service.com/phptmpdir$ cd /var/www/new/ehcp
colin@truestate:/var/www/new/ehcp$ grep wwwuser classapp.php
var $wwwuser="www-data"; # these vars should be used are "user related" places, to unify all user settings.. #equivalent: var $wwwowner="vsftpd:www-data";
$this->wwwowner=$this->wwwuser.':'.$this->wwwgroup;
colin@truestate:/var/www/new/ehcp$ grep wwwgroup classapp.php
var $wwwgroup="www-data";
$this->wwwowner=$this->wwwuser.':'.$this->wwwgroup;
colin@truestate:/var/www/new/ehcp$ grep ftpuser classapp.php
* add ftpuser/subdomain/email/db at single step, a feature request,
var $ftpuser="vsftpd"; # equivalent: var $ftpowner="vsftpd:www-data";
....

colin@truestate:/var/www/new/ehcp$ grep ehcpversion classapp.php

Colin

I do have the same issue on any other Domain Sites with Databases

Colin

I will check that and will try to solve.

I think I fixed the problem with new testing version.
This will be a permanent solution for session permission error problem; once it works.

http://ehcp.net/ehcp_yeni.tgz

note that: http://ehcp.net/?q=node/1356

Thank you very much for your help.
I am guessing that it wasn't my fault in the way i have installed my server ?
I was getting a bit worried about that. Thank you also for the File.

How do i apply this file and will it erase my contents and accounts ?
;-)

Colin

I am very new to Linux and using Ubuntu 10.10
I know that i probably shouldn't be running a server as a newbee.
(Bit like a blind bus driver that has excellent hearing and a 6th sence) ;-)

Please could you provide the command line to upgrade the script ?

Colin

I have just updated the files you posted,
Copied my old config.php and classapp.php
overwriting the new ones as i read up on.
I have done a syndns and syncdomains
and it seamed to go on forever.

The Session error did not go away
Regards Carl

Colin

Furthermore i have more issues with permissions and having to sync domains just about every time i update websites and every time i sync domains i get a lot of postfix messages in EHCP status

Colin

I have also tested by putting the New classapp.php back and i have the same problem.

Colin

This is giving me a big problem.
EHCP is really letting us down
Where is the Support ?

Colin

what is your problem? there are a lot of msg here. maybe it is better to start a new thread.

it may be better to check on your server. send ssh info to info@ehcp.net I will try to check&solve.

Hi There,
Thanks for the Reply,
The Problem is the Same, I Have just Updated it in this thread.
What would you like me to send to info@ehcp.net ?
Please explain briefly what i should do ? (Command prompt would be best)
I am still rather new to Ubuntu 10.04 and updates
Cheers
Carl

Colin

Regards
Carl

Colin