View Single Post
  #130  
Old 18th February 2010, 23:39
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 324
Thanks: 55
Thanked 93 Times in 58 Posts
Send a message via Skype™ to Horfic
Default

After intensive investigation on the "No client with ID $client_id found" problem. I came to an conclusion.

Problem:
The error happens because ISPConfig is looking for the associated client associated with the sysuser of the email and when just the sysuser exists, than the error appears.

When a "CP User" (sysuser) gets created, it doesn't has a associated client, and when the sysuser created the email mailbox the error appears.


Solution:
When a client gets created, the sysuser get automatically added to the system.
So this sysuser has now a associated client and the error won't appear.

1.)So the best way, would be to just create the missing client for the sysuser.
2.)Whereever the error appears, go in the appropriate ispconfig3_xxxx.php file, located in the plugin folder of the roundcube plugin folder, search for update and then search for sysuser_id.

Should be something like that
$update = $client->mail_spamfilter_user_update($session_id, $id, $mail_user[0]['sys_userid'], $params);

and replace it with a 0,
$update = $client->mail_spamfilter_user_update($session_id, $id, 0, $params);

PS: French translation is in the svn.
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote