An exception have been thrown

  • 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!

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------

    Edited once, last by MGAV ().

  • Hello ;


    Thanks for your report. I'll try and fix now.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Edit: Should be fixed in last master. See https://github.com/i-MSCP/imsc…079b17e52fde6084c4d29c185


    Thank you for your report.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Thanks. I will try it out now.
    [hr]
    Seems to be OK now. Thanks again.

    Concrete5 Denmark - CMS til alle
    --------------------------
    Michael Jensen-Maar
    Concrete5 Danmark

    --------------------------

    Edited once, last by MGAV ().