Plugin Author
Eli
(@scheeeli)
You are the first person to mention this issue and I could not recreate it on any of my WordPress sites. Would it be possible for you to send me and admin login to your site so that I can see it in action and debug it in place?
You can email me directly: eli AT gotmls DOT net
Hi,
thanks for your reply. I sent my login data to your email address.
Plugin Author
Eli
(@scheeeli)
Thank you, I got the email but the password did not work, so I reset the password and now I am in.
I see the problem where the admin bar does not show if my plugin is active. I am going through my code and enabling only pieces of it at a time to see what part is causing this issue.
I will let you know as soon as I have found the problem. Thanks you once gain for giving me the opportunity to troubleshoot this issue on your site.
Aloha, Eli
Plugin Author
Eli
(@scheeeli)
I figured out that it has something to do with the use of session_start() in my plugin. I removed the session_start from my code and your admin bar is now showing up even when my plugin is active.
You are using the Brute-Force login patch provided by my plugin and this requires an active session to login. This means that, with the session_start disabled in my main plugin code, you will only be able to login from the wp-login.php page. That should be fine for now, but if you ever want to use a sidebar login or any kind of dynamic in-page login form then it may cause false positives on the brute-force protection, which will mean a second step to login.
Other than that everything should be fine and you can now use my plugin without the admin bar disappearing π
Please let me know if there is anything else I can do.
Aloha, Eli
Hi,
thank you so much for your kind help.
Sorry to bother you again. I still have this issue. The admin bar appears alright on the back end but not on front. What can i do?
Thank you.
Plugin Author
Eli
(@scheeeli)
I think this is the same problem. Only, my new login patch starts the session in …/plugins/gotmls/safe-load/session.php, try remming out these two lines in that file:
if (!@session_id())
@session_start();
so it looks like this:
//if (!@session_id())
// @session_start();
Let me know if that fixes it again for you.
Aloha, Eli
Hi,
i didnt find such a file, i dont even have a folder called safe-load. Although I do have a file called safe-load.php so i did the editing in that file but it didnt work. Sorry.
Plugin Author
Eli
(@scheeeli)
what version of my plugin are you using?
Sorry, seems like i didnt have the latest version. I upgraded just now and the bad appears even without modifying the file. Sorry about worrying you for nothing and thank you again.