Support » Plugin: View Admin As » Plugin works in dev environment but not in live.

  • Resolved slsoper

    (@slsoper)


    Hi! I’m troubleshooting this with our host, but I was hoping you might be able to address it. We use pantheon.io a cloud host that has 3 different environments dev, test, and live. It requires you to push the updates from one environment to the other, because live offers limited write capabilities. Your plugin works in my dev environment, but not in live. Pantheon support does not know why offhand and have created a ticket. Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @slsoper ,

    Honestly, I can’t think of any reasons this plugin wont work in such an environment. (Assuming other plugins don’t have any problems and you installed this plugin just like any other regular plugin.)
    I also don’t have any experience with pantheon.io but if you could provide some more information on how you installed it I might be able to think of a possible issue.

    Kind regards,
    Jory

    Carl Alberto

    (@carl-alberto)

    Hi @keraweb,

    First of all, nice plugin you have here.

    Hi @slsoper, thank you for reporting this in the Pantheon platform and getting in touch with the plugin author.

    We were able to determine that plugin is writing to a read-only path in the platform which is anything but the wp-content/uploads in test and live environments as per this error log https://screencast.com/t/7jAZjbGgZK

    Usually, the suggested workaround here is by symlinking those file/folder but it looks like it has a randomly generated filename. Would it be possible that those temp files can be in a folder so it can be symlinked or be in the wp-content/uploads folder?

    Thanks!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @carl-alberto

    Thank you!

    In response to your findings. It’s odd that you say this plugin is writing to any file directory at all since it only communicates with the database. This plugin doesn’t use the file directory at all other than checking if plugin files exist before including them.

    Let me know if you find what is causing this!

    Thanks! Jory

    slsoper

    (@slsoper)

    @keraweb I installed it like any other plugin from my WordPress dashboard (Plugins > Add new) in the dev environment then pushed it to live.

    @carl-alberto Thanks for getting back. Looking forward to resolving.

    Plugin Author Jory Hogeveen

    (@keraweb)

    @carl-alberto did you find anything?
    Thanks, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    @carl-alberto @slsoper
    Closing this issue since there is no response anymore.
    Feel free to reopen is there is anything I can do to improve compatibility with pantheon.io.
    Thanks! Jory

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.