Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi the column “rul_url_logout” is missing in the table wp_login_redirects … so add it using phpmyadmin for example …

    Thread Starter tommylux

    (@tommylux)

    ALTER TABLE wp_login_redirects ADD COLUMN rul_url_logout LONGTEXT NOT NULL AFTER rul_url;

    Yep it worked, however, even on a fresh WP installation it didn’t create this column.. Your missing it in your install code:

    $sql = ‘CREATE TABLE ‘ . $rul_db_addresses . ‘ (
    rul_type enum(\’user\’,\’role\’,\’level\’,\’all\’) NOT NULL,
    rul_value varchar(255) NOT NULL default \’\’,
    rul_url longtext NOT NULL,
    rul_order int(2) NOT NULL default \’0\’,
    UNIQUE KEY rul_type (rul_type,rul_value)
    )’;

    $wpdb->query($sql);

    Sorry about that, and thanks for pointing that out. It was a bad oversight on my part. The upgrade code included the proper column creation code but as you’ve pointed out, the code for a fresh install was missing that. It has now been fixed, so anybody experiencing the problem on a fresh install should delete the plugin, re-download it, and re-install it.

    mee to facing the same problem please fix it soon

    Nice plug in!
    Can your plug in appear like the one in this website(mzooridotcom) bottom right open outcries section.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Peter's Login Redirect] Wont add any new urls and errors when trying to create all oth’ is closed to new replies.