• Hello
    My site has https and is completely private (need ID and password to enter).

    I installed your plugin and try to test it. When I fill the form of a new item and click [submit] button, my website ask me to login again (I’m already logged in with admin account). I put again admin ID and password and the page refresh to wp-admin page. When I come back to the lost and found page, nothing is in there.

    Thanks for your support.
    Pat

    https://wordpress.org/plugins/the-lost-and-found/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Whipple

    (@tickerator)

    Do you have any security based plugins installed? Since the plugin is trying to edit the database while being accessed from a seemingly regular WordPress page some security plugins block that.

    Are you using a custom permalink structure on your site? I’ve had to fix a bug or two related to handling the links in the past but I think I managed to get them.

    When you try to submit can you copy and paste the URL it is trying to go to when it asks you to log in again?

    Thread Starter lepatachou

    (@lepatachou)

    Hello
    Thanks for your quick answer.

    I don’t have any security plugin other than “Private Only” plugin. I’m also use WP Super cache.

    The permalink structure is “article name”.

    The address in address bar when he ask me to login again is :
    https://MyWebSiteName/wp-login.php?redirect_to=https%3A%2F%2Fwww.MyWebSiteName.org%2Fobjets-perdus%2F%3F%26action%3Dsubmit&reauth=1

    Hope you find something !
    Thanks in advance.

    Plugin Author David Whipple

    (@tickerator)

    Is there a time you can disable each plugin in turn and see if it starts to work? Start with the cache plugin. My plugin is relatively simple but it does some non-standard things namely accepting web data directly and writing to the database outside of the dashboard. I could see a cache plugin messing up what my plugin is trying to do.

    If that is the case it doesn’t have to be the end of the world. This gave me the thought that I should really also allow managing the lost and found inside the dashboard. I’m a hobby programmer and I tend to get interested in these plugins every couple months or so and I think you got me at a good time so we can work through this.

    Thread Starter lepatachou

    (@lepatachou)

    Nothing different if I disable WP Cache. If I disable “Private Only” plugin, a click on [submit] button seems to work and display the page : https://www.MyWebSiteName.org/fr/objets-perdus/?&action=submit but the lock aside https becomes red. Do you load something out of the website ? At the end, nothing appears in the “lost and found” list. So this procedure doesn’t word anyway.

    Plugin Author David Whipple

    (@tickerator)

    So I loaded the private only plugin on my local test page. I added FORCE_SSL_LOGIN and FORCE_SSL_ADMIN to my config which I assume you have on yours. It seems to work for me. Although the first time I tried it the wordpress sign in appeared inside the add a picture dialog. When I hit submit the first time it didn’t work but I hit back then submit again and it seemed to work from that time forward…. So I guess when it fails hit back and try again. Seems weird but who knows…

    What method are you using to force your website to be encrypted? Just the two I mentioned or is there something else here at play?

    My plugin doesn’t load anything off site but I’d have to check to see if I have a http:// hardcoded in there anywhere for the images.

    Do you want to email me a user name and URL so I can see first hand? david at tickerator dot org.

    Thread Starter lepatachou

    (@lepatachou)

    OK. As I said, my website is private and I can’t give you any access.

    All other plugin are working well. So you have to check all that again and release one who works.

    Forcing FORCE_SSL_ADMIN doesn’t change anything.

    Also, my website’name is https://MyWebSite.com and not https://www.MyWebSite.com. Your plugin opens pages in www. and https errors occurs.

    So, thanks for your job but I can’t use your plugin this time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Always ask to login, no item saved’ is closed to new replies.