#40 – Can't activate plugin

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Tuesday, 24 October 2017 15:47 UTC
bryan
 I am getting the following message when trying to install the plugin:

Unable to copy weeblrAMP plugins handler to Must-use directory. We will not be able to disable plugins on AMP pages. (path: /var/www/domainname.com/wp-content/mu-plugins)

How do I get this to work on my site?
 
Tuesday, 24 October 2017 15:59 UTC
wb_weeblrpress
Hi Bryan,

This means that weeblrAMP was not able to copy an important file to the MU-plugin folder on your server or create that folder if it didn't exist. Most likely that's coming from write permissions issues.

It won't affect general operation of the plugin, but that feature is needed if you care to disable some other plugins when displaying an AMP page - because they create invalid AMP output for instance.

Does that ring a bell?

Rgds

Yannick
 
Tuesday, 24 October 2017 16:04 UTC
bryan
I am not sure I can change permission or have ever changed permissions that would not allow it to activate. What are my possible next steps?
 
Tuesday, 24 October 2017 16:11 UTC
wb_weeblrpress
Hi

If you can't provide proper write permissions, we will have to prevent this situation to block activation. I will make such a change and provide you with an updated plugin, this will take only a few minutes. The "Disable plugins on AMP pages" option will not work, but that's should not be used on most sites.

What's your hosting supplier?

Rgds
 
Tuesday, 24 October 2017 16:16 UTC
bryan
CopyBlogger/Synthesis but likely moving to WP-Engine with this site before end of year.
 
Tuesday, 24 October 2017 16:22 UTC
wb_weeblrpress
Hi

OK, will investigate with them.

I have made a version that does not block activation when unable to install this feature. Please download this version from this page (no login or account required).

Delete the previous version, install this one over.

It should work as usual, except for the "Disable plugins on AMP pages" feature.

Let me know.

Rgds
 
Tuesday, 24 October 2017 16:26 UTC
wb_weeblrpress
Hi again,

Are you doing this on https://www.bryaneisenberg.com/? You seem to have HTTPS issues on that one?

Rgds
 
Tuesday, 24 October 2017 16:48 UTC
bryan
That is the one I am working on. Not sure why there is any https issues. One of the reasons for the migration is too clean everything up.
 
Tuesday, 24 October 2017 16:50 UTC
wb_weeblrpress
Hi

I can see that the CSS and a bunch of other scripts are not loaded because of mixed-content errors: the site is HTTPS, but those resources are still loaded over HTTP. Did you recently switched from http to https?

 
Tuesday, 24 October 2017 16:52 UTC
bryan
I did.
 
Tuesday, 24 October 2017 16:59 UTC
wb_weeblrpress

Was it working fine at some point? I mean all the CSS and most of the javascript is loaded over http instead of https, that can't go unnoticed when you did the switch.

Some of your internal linking also is still http, for instance on the "About" page, links to your individual pages, "Speaking" page, etc

Not sure I can help here, but it looks like the https switch was not completed fully.

Let me know about the AMP plugin, although that can wait, I guess you want to fix the https issues first.

Yannick
 
Wednesday, 08 November 2017 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.