Posts by MGAV

    I feel stupid, this is logic - my bad...


    It came out of a discussion at the hosting center. Thanks to clarify this!
    [hr]
    Just another stupid question!
    Witch php.ini do we talk about. We found the folloing few:
    /etc/imscp/fcgi/parts/master/php5/php.ini
    /etc/imscp/fcgi/parts/php5/php.ini
    /etc/imscp/php-fpm/backup/php.ini.system
    /etc/imscp/php-fpm/working/php.ini
    /etc/php5/cli/php.ini
    /etc/php5/fpm/php.ini
    /usr/local/src/imscp-1.1.0-rc2.3/configs/debian/fcgi/parts/master/php5/php.ini
    /usr/local/src/imscp-1.1.0-rc2.3/configs/debian/fcgi/parts/php5/php.ini
    /usr/share/doc/php5-common/examples/php.ini-development
    /usr/share/php5/php.ini-production
    /usr/share/php5/php.ini-production.cli


    We tried /etc/php5/fpm/php.ini with no luck...

    Hi


    I was trying to add a customer (actually tried several times) and I got the below email from the server:


    Dear admin,


    An exception with the following message has been thrown in file /var/www/imscp/gui/public/reseller/user_add3.php (Line: 330):


    =================================================================


    SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens


    Query was:


    INSERT INTO `php_ini` ( `disable_functions`, `allow_url_fopen`, `display_errors`, `error_reporting`, `post_max_size`, `upload_max_filesize`, `max_execution_time`, `max_input_time`, `memory_limit`, `domain_id` ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) =================================================================


    Debug backtrace:
    ---------------


    File: /var/www/imscp/gui/public/reseller/user_add3.php (Line: 353)
    Function: reseller_addCustomer()


    Additional information:
    ----------------------


    Http User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0)
    Gecko/20100101 Firefox/21.0
    Request Uri: /reseller/user_add3.php
    Http Referer: http://host2.concrete5.dk/reseller/user_add3.php
    Remote Addr: 91.144.212.57
    Server Addr: 10.100.60.10


    ____________________________________________________________
    i-MSCP Exception Mail Writer



    Note: If an exception of same type is thrown again, you will not receive this mail before an expiration time that is currently fixed at
    6 hour(s).


    Is this a bug?


    I am using latest git vesion!