WordPress.org

Ready to get started?Download WordPress

Forums

Peter's Login Redirect
Wont add any new urls and errors when trying to create all oth (6 posts)

  1. tommylux
    Member
    Posted 2 years ago #

    ****ERROR: Unknown database problem updating URL for "all other users" ****

    but also cannot add any new urls

    Thanks!

    Also would be good to see a last page option in your plugin.. that would be real fantastic,

    http://wordpress.org/extend/plugins/peters-login-redirect/

  2. supertomate
    Member
    Posted 2 years ago #

    Hi the column "rul_url_logout" is missing in the table wp_login_redirects ... so add it using phpmyadmin for example ...

  3. tommylux
    Member
    Posted 2 years ago #

    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);

  4. Peter
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. Ajay Patel
    Member
    Posted 2 years ago #

    mee to facing the same problem please fix it soon

  6. kamundu
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic