• Resolved Tony N

    (@tnowicki)


    When I change my code snippet and hit update, it changes to “Updating…” and never completes. I does not appear that the code ever does update. My site was auto-updated to 3.8.8 recently and I updated the plugin to 1.3. Any suggestions on getting it to successfully complete.
    Thanks

    https://wordpress.org/plugins/php-code-for-posts/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Having the same issue myself.

    Also having the same issue. Have not figured out what the issue is yet, but if I do, I’ll be sure to post it here.

    It has something to do with the PHP code itself.

    I have a mySQL query and as soon as I add a where clause to it it won’t update.

    Hopefully the developer can figure it out.

    I’m having the same problem. I’m wondering if this issue is also affecting how my php code works as when I test it on it’s own, it works fine. When I try to integrate it into WordPress, it’s broken.

    I found a solution. Turn off option: Enable rich editor for code snippets

    I tried that option of turning off the rich code editor and still no luck. I noticed in console the following.

    Failed to load resource: the server responded with a status of 406 (Not Acceptable)

    Any ideas?

    happening to me too on 4.4.2.

    Support?

    Then I downloaded a WordPress table editor to edit the code directly in the database table. The “code” is encrypted in the database.

    Not great to encrypt it making it inaccessible then not support your plug-in.

    Thread Starter Tony N

    (@tnowicki)

    It’s a base64 encoding. I did a similar thing in changing the code directly in the database. Most editors (I use emacs) can do the base64 encode/decode. After many frustrations, I am standing up an alternate solution with a different PHP approach that allows you to put code directly in the page via the editor with inline tags. If you have a lot of code to embed, I found a sample that shows how to do a short “include” that can bring in a large file at runtime.

    https://wordpress.org/plugins/insert-php/

    Thanks Tony– I’ll check it out

    Plugin Author Jamie Fraser

    (@thejfraser)

    Hi Guys,

    I know this is a late one,

    I’ve added an option to disable the ajax updating, so now you should be able to update it fine.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Updating…never completes’ is closed to new replies.