Posts by redcloud

    Probably this file is involved


    Code
    1. /etc/php5/fpm/pool.d/mydomain.com.conf


    because it contains the wrong session.save_path value


    Code
    1. php_admin_value[session.save_path] = /var/www/virtual/mydomain.com/mail/phptmp

    Got it! Here the steps to reproduce the issue:


    - Install 1.0.0 plugin version
    - Run 'perl /var/www/imscp/engine/setup/imscp-setup -d' and complete the setup process
    - Deactivate the plugin
    - Uninstall the plugin and you should get the error

    It seems that every now and then this problem reappears


    Code
    1. Plugin uninstallation has failed: Unable to uninstall: SQLSTATE[42000]: Syntax error or access violation: 1147 There is no such grant defined for user 'roundcube_user' on host 'localhost' on table 'mail_users'


    Probably it occurs after a deactivation/uninstallation of the plugin or an i-MSCP update. I didn't investigated that much.


    I'm using version 1.0.0

    Hi! I have a domain 'mydomain' which had subdomain 'mail'. Once removed the subdomain it seems that the 'mydomain' session save path has been overwritten by the removed subdomain. In fact, if I run a simple php script like the following


    Code
    1. if (!is_writable(session_save_path())) { echo 'Session path "'.session_save_path().'" is not writable for PHP!'; }


    located under 'mydomain', I get


    Code
    1. Session path "/var/www/virtual/mydomain/mail/phptmp" is not writable for PHP!


    Actually mail directory doesn't exists anymore because of subdomain deletion! How to re-assign proper phptmp location for 'mydomain'?