• Resolved ternion

    (@ternion)


    Tried to enable the plugin using the custom settings. Doesn’t hide wp-admin with 404, comes back with an error:

    Warning: require_once(/home/realsol5/public_html/wp-admin): failed to open stream: No such file or directory in /home/realsol5/public_html/wp-content/plugins/hide-my-wp/models/Rewrite.php on line 319

    Fatal error: require_once(): Failed opening required ” (include_path=’.:/usr/local/php56/pear’) in /home/realsol5/public_html/wp-content/plugins/hide-my-wp/models/Rewrite.php on line 319

    • This topic was modified 9 years, 8 months ago by ternion.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author John Darrel

    (@johndarrel)

    Hey,

    That line tries to open the 404 page from your WordPress theme. It’s really strange that a WP theme doesn’t have a 404 page.

    I will catch that issue and make an upgrade to the plugin.

    Thank you so much for your notification.

    Regards,
    John

    Thread Starter ternion

    (@ternion)

    Thanks for the quick response. Just tested and it works great.

    I’m seeing one more issue. I have a shopping cart that uses https for the cart areas. With the plugin active I am getting an error about mixed content. Basically the call to admin-ajax.php is coming back as an http call instead of an https call.

    With the plugin not active, this does not happen.

    Plugin Author John Darrel

    (@johndarrel)

    Hey,

    Great. I will check the https issue too.

    Thank you
    John

    Thread Starter ternion

    (@ternion)

    Thanks.

    I’d like to use the plugin and possibly upgrade to pro to further protect my site, but I need the https issue fixed before I can use it.

    Please let me know when this is handled.

    Thanks,

    Robert

    Plugin Author John Darrel

    (@johndarrel)

    Hey Robert,

    We upgrade Hide My Wp to the new version and it was tested with Ajax Woocommerce over SSL and it works.

    Make sure you set HTTPS in Settings > General for the “WordPress Address (URL)”
    And if you are using Woocommerce you must set “Force secure checkout” on Woocommerce > Settings > Checkout

    Regards,
    John

    Thread Starter ternion

    (@ternion)

    Just tested on my site and it’s still not working. I’m not using Woocommerece. My site is not https, just the shopping cart. If I set the “WordPress Address (URL) in the general settings to https, it makes my whole site https which I don’t want, just my checkout process.

    Thread Starter ternion

    (@ternion)

    I may have misunderstood how the general settings work, so I tried to set the “WordPress Address (URL)” to https. After doing that I’m unable to login to wordpress with the plugin active.

    Plugin Author John Darrel

    (@johndarrel)

    Hey,

    WordPress Address (URL) is for the admin side. and if you set it https you should access the https admin URL.

    Hide My WP detects the https and doesn’t change it to http. I will check it again with http in WordPress Address (URL) and https in woocommerce cart.

    If there are issues with the admin side. You should access the safe link you received by email. Hide My WP will change its settings to default.

    John

    Thread Starter ternion

    (@ternion)

    Thanks. I did use the safe link to get access. The problem does seem to occur with https in the wordpress url but http in the site url (can’t login with plugin active and turned on).

    Plugin Author John Darrel

    (@johndarrel)

    I checked that and it’s working on our testing servers.

    I just tested HTTP for site and admin and HTTPS in Woocommerce checkout and it’s working fine. All the ajax calls are https in Woocommerce checkout.

    I have Woocommerce Version 2.6.4, WP 4.6.1 and Hide My WP Version 1.1.011

    Please tell me the theme you are using or if you have other security plugins. Maybe there is a conflict.

    Regards,
    John

    Thread Starter ternion

    (@ternion)

    I’m not sure if this is it, but I’m using the HTTPS plugin so my shopping cart is SSL. This may be causing the issue. With the HTTPS plugin and your plugin active. It won’t let me login…just keeps redirecting me to the login page.

    Plugin Author John Darrel

    (@johndarrel)

    Try this:
    Go to root and find wp_config.php, edit it and remove the line with
    define( ‘ADMIN_COOKIE_PATH’ ….

    Seems like that line wasn’t deleted

    John

    Thread Starter ternion

    (@ternion)

    I think there were some issues with the ssl redirect plugin I was using. After your last update and moving to a php ssl redirect method, everything seems to be working ok.

    One piece though, going to the wp-admin or wp-login page redirects to the home page instead of my 404 page. Not a big deal, just thought I’d mention it.

    I am using Thesis Theme and have a 404 page created and use their functionality for it.

    Plugin Author John Darrel

    (@johndarrel)

    I thought so because we tested with your settings and all seemed to work well.

    About the redirect, I will install this theme and see if we get the same redirect and if there is something we can do to go to 404 page. If we’ll find a solution we will add a new version.

    Good to know that works for you now.

    Please take a min and help us with a 5 stars rate.

    Best regards,
    John

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Error after enabling’ is closed to new replies.