Support » Plugin: WordPress Vtiger » [Plugin: WordPress vTiger CRM Lead Capture Plugin] INVALID_USER_CREDENTIALS

  • Resolved ifontaine



    I got this warning when trying to add entry in to vtiger:

    Failed to add entry in to vtiger CRM.
    Error Message: Invalid username or password

    This is my settings:

    Database Host : localhost:3306 (which is db_server:db_port as shown in my
    Database User : username of the database as shown in my
    Database Password : database password as shown in my
    Database Name : database name as shown in my

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author smackcoders


    You are getting this error due to vtiger Webforms.config.php. not with our plugin settings. Ok let me explain.

    You need to get the correct access key from vtiger My preferences and replace it in “yourvtiger/modules/Webforms/Webforms.config.php”.

    For further details please check blog.

    Best regards


    I spent an hour or 2 battling with this – turns out that the Javascript needs a tweak – edit the smack-vtlc-scripts.js file (line 37)


    if(response == “Success”)


    if(jQuery.trim(response) == “Success”)

    works then – I also created a WP plugin to prove it works

    Plugin Name: Test VTiger Connection
    Description: Test VTiger Conn
    Version: 1.0
    Author: probins
    Author URI:

    add_action( ‘admin_menu’, ‘test_vtiger_connection’ );

    function test_vtiger_connection() {
    add_options_page( ‘test vtiger connection’, ‘vtiger connection’, ‘manage_options’, ‘my-unique-identifier2’, ‘vtiger_connection’ );

    function vtiger_connection(){
    //global $wpdb;
    echo “<h1> Testing Vtiger Connection </h1>”;

    define(‘MY_HOST’, ‘<Your IP>’);
    define(‘MY_USER’, ‘<Your Username>’);
    define(‘MY_PASSWORD’, ‘<Your Password>’);
    define(‘MY_DBNAME’, ‘<Your DB Name>’);

    require_once( $_SERVER[‘DOCUMENT_ROOT’] . ‘/wp-load.php’ );

    $mydb = new wpdb(MY_USER,MY_PASSWORD,MY_DBNAME,MY_HOST);

    $rows = $mydb->get_results(“select * from vtiger_users”); // This vtiger’s user table used only for test purpose

    echo “Success”;
    echo “Failed”;


    Plugin Author smackcoders


    Thanks for the update. We will look into the issue and update the code in future release. Once again thanks for your valuable update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress vTiger CRM Lead Capture Plugin] INVALID_USER_CREDENTIALS’ is closed to new replies.