WordPress.org

Ready to get started?Download WordPress

Forums

Kontrol Developer Kit
Kontrol Table data not Installing (2 posts)

  1. murtazakhussain
    Member
    Posted 1 year ago #

    After installing the plugin none of the features work. After some debugging in install.php file of each module/plugin

    foreach ($table_data as $data) {
        // Check to see if we have these taxonomies in the table already
        $sql = "SELECT * FROM " . $table_name . " WHERE cpt_key = '" . $data['cpt_key'] . "' AND type = 'native' LIMIT 1";
    
        $results = $this->wpdb->get_results($sql);
    
        if (count($results) == 0) {
            // Add the modules to the table
            $this->wpdb->insert($table_name, $data);
        }
    }

    this line of code is not executing, specially the one that inserts the data into the newly created kontrol table.

    Regards

    http://wordpress.org/extend/plugins/kontrol-developer-kit/

  2. murtazakhussain
    Member
    Posted 1 year ago #

    I have worked out on the problem. It is causing problem on windows server while on linux(apache) its work like a charm.

    Have you tested this plugin with windows server ?

    Regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic