• Resolved bonesteelkat

    (@bonesteelkat)


    Hello,

    So I’m still having the security check issue but I realized it has something to do with a trigger that I added because I re-added the plugin and tried it by itself and worked fine, but I’m not sure what to do about this. So I added this trigger onto the database so that another table called “home_info” would update when a seplog_user was inserted (seplog_users_user_id is the foreign key):

    CREATE DEFINER=root@%TRIGGERmydb.seplog_users_AFTER_INSERTAFTER INSERT ONseplog_users` FOR EACH ROW
    BEGIN
    INSERT INTO home_info (seplog_users_user_id) VALUES ((SELECT new.user_id from seplog_users where id = new.id));
    END`

    But after I added the trigger I got that security check issue. So I removed the trigger to try and get rid of the issue but all that happened was if I was not logged into my wordpress account and I tried the seplog login, it would loop the login so that if I tried to go to account, it would say I wasn’t logged in, but when I went to login, it would say that I was already logged in and continue this cycle on whatever I tried. When I am logged in to wordpress again there are no issues for whatever reason.

    After adding the trigger again I don’t get the loop but I do get the security check error. I tried reverting the database back to an old version that never had the trigger in the first place but I still had this issue. I’m very confused. Did I miss everything up??

    • This topic was modified 7 years, 2 months ago by bonesteelkat.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Christian Gatti

    (@christian-gatti)

    Hello again,
    since your problem is not related to my plugin, this is not the right place to discuss it. Moreover, since you’re referring to a generical procedure (triggering), I guess you can find a pletora of people willing and able to help you on Stackoverflow or places like that.

    Thank you,
    Christian

    Thread Starter bonesteelkat

    (@bonesteelkat)

    All right, I understand. Thank you for the help anyway!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trigger Login Loop’ is closed to new replies.