error while creating new hosting

  • An exception has been thrown in file
    /var/www/imscp/gui/library/shared-functions.php at line 2529:

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

    SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'straathonden.com' for key 'admin_name'

    Query was:

    INSERT INTO `admin` ( `admin_name`, `admin_pass`, `admin_type`, `domain_created`, `created_by`, `fname`, `lname`, `firm`, `zip`, `city`, `state`, `country`, `email`, `phone`, `fax`, `street1`, `street2`, `customer_id`, `gender`, `admin_status` ) VALUES ( ?, ?, 'user', unix_timestamp(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )

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

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

    File: /var/www/imscp/gui/public/reseller/user_add3.php at line 236
    Function: exec_query()
    File: /var/www/imscp/gui/public/reseller/user_add3.php at line 347
    Function: reseller_addCustomer()

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

    Http User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0;
    rv:11.0) like Gecko
    Request Uri: /reseller/user_add3.php



    suggestions?

  • when selecting reseller edit:




    Dear admin,



    An exception has been thrown in file


    /var/www/imscp/gui/library/shared-functions.php at line
    2529:



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



    SQLSTATE[HY093]: Invalid parameter number: no parameters
    were bound



    Query was:



    SELECT * FROM domain WHERE domain_id = ?



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



    Debug backtrace:


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



    File: /var/www/imscp/gui/library/shared-functions.php at
    line 256


    Function: exec_query()


    File: /var/www/imscp/gui/library/admin-functions.php at
    line 85


    Function: shared_getCustomerProps()


    File: /var/www/imscp/gui/public/admin/reseller_edit.php
    at line 85


    Function: generate_reseller_users_props()


    File: /var/www/imscp/gui/public/admin/reseller_edit.php
    at line 889


    Function: admin_getData()



    Additional information:


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



    Http User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64)


    AppleWebKit/537.36 (KHTML, like Gecko)
    Chrome/39.0.2171.71


    Safari/537.36


    Request Uri: /admin/reseller_edit.php?edit_id=2

  • Hello ;


    First: Read our posting rules because here, you are posting like a pig without even providing the needed information :cursing:


    See i-MSCP bugs - Reporting rules


    Second: You must check your database for orphaned entries. Anyway search on our forum because this issue has been already treated in many places.


    Third: One problem per thread please ! ! !


    Next time, I'll simply delete your thread ;)

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