Plugin loaded, but not running

We are using a plugin () that is supposed to provide a 'get shortlink' button along with some database update

We are using a plugin (/) that is supposed to provide a 'get shortlink' button along with some database updates.

It should look like this.

This worked perfectly for a while. We migrated our database and content to a new server. Now whenever we create or edit a post this option is missing, but only for the new posts. Existing posts are fine.

I edited the source of the plugin slightly - adding a fopen dumping the behavior of the plugin (when the file is opened, functions begun, etc) to the tmp directory for analysis. The file is opened, the add_* directives are called. The defined functions are never called.

The add_filter and add_action directives look right to me.

I've checked the syslog, httpd logs, php error log and nothing gives any explanation as to what the issue is or how to fix it.

Any insight?

We are using a plugin (https://github/ADeMen/GOOVAIN/) that is supposed to provide a 'get shortlink' button along with some database updates.

It should look like this.

This worked perfectly for a while. We migrated our database and content to a new server. Now whenever we create or edit a post this option is missing, but only for the new posts. Existing posts are fine.

I edited the source of the plugin slightly - adding a fopen dumping the behavior of the plugin (when the file is opened, functions begun, etc) to the tmp directory for analysis. The file is opened, the add_* directives are called. The defined functions are never called.

The add_filter and add_action directives look right to me.

I've checked the syslog, httpd logs, php error log and nothing gives any explanation as to what the issue is or how to fix it.

Any insight?

Share Improve this question asked Jan 27, 2015 at 18:07 Tim BrighamTim Brigham 1211 gold badge1 silver badge5 bronze badges 2
  • Did you make sure that all URL's in the database are changed to the new URL. Did you flush your permalinks, deactivated the plugin and reactivated it. If this does not help, contact the plugin author with these details. Support for third party plugins is off topic here – Pieter Goosen Commented Jan 27, 2015 at 18:13
  • Pieter, I have been working with the plugin author and will collaborate on a solution. I'm not sure I'd call that third party – Tim Brigham Commented Jan 27, 2015 at 18:17
Add a comment  | 

2 Answers 2

Reset to default 0

After some extended debugging we found the issue. The plugin uses Google's url shortener api, which uses an api key for any kind of large volume. Our dev instance (more accurately the public ip assoiated with it) was under the threshold for not needing a key.

Production was over but there wasn't adequate error handling to see what had happened. We now can provide an api key and have things function correctly.

The documentation of the plugin states that because of security reasons the api key was added. I know this is old but the plugin is still alive and working.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745672012a4639461.html

相关推荐

  • Plugin loaded, but not running

    We are using a plugin () that is supposed to provide a 'get shortlink' button along with some database update

    6小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信