WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code for posts
No Longer Working! - Page Not Found Error (7 posts)

  1. ntjedge
    Member
    Posted 7 months ago #

    Hello,

    This plugin worked beautifully for the last 9 months on my blog. One of the easiest plugins to get this functionality. But after 202 snippets, I am suddenly no longer able to create or edit any snippets using the plugin.

    When I try to create/edit a plugin, after I enter the info and hit "Save this code", I am on a page with URL: http://mydomain.com/wp-admin/admin.php?page=phppc_menu with a Page Not Found error.

    Ideally I should see the page with all my snippets and a new snippet created or saved, but its not happening.

    Tried reinstalling the plugin, the same issue remains. I am on the latest version of WP. Any suggestions whats going on?

    Thanks!

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

  2. The.Missing.Code
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

    I have just tested and it still worked with over 250 snippets on the latest version of WordPress.

    Has anything changed on your server lately that could have caused the issue?

    TMC

  3. ntjedge
    Member
    Posted 7 months ago #

    As far I know, nothing changed on the server. And, nothing changed on the WP installation as well. It just stopped working one fine day. I have tried reinstalling the plugin, the same issue remains..

  4. ntjedge
    Member
    Posted 7 months ago #

    Well, I found out a few things.

    First, If I try to create a new PHP snippet with just "text characters" in it, I am able to save it. Same is the case when I am editing an existing snippet.

    But if I enter any special character, I get that error. Same while editing.

    BTW, I have another site where I am using this plugin and recently updated the plugin to the latest version yesterday and boom - the same issue pop's up! I am on WP 3.8 on this site.

    Looks like the new update broke something, somewhere!

    Thanks!

  5. The.Missing.Code
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Ntjedge,

    I have been testing with the latest WP and the latest version of the plugin and I still cannot replicate the issue.

    The snippet I'm using is !"£$%^&*()€éúíóáQWET{}:@~<>?,./;'#[]-=_+¬¦\|`

    Are you able to tell me the exact snippet you are using?

    TMC

  6. ntjedge
    Member
    Posted 7 months ago #

    Hi,

    Thank you for your reply.

    Well, this is weird. I re-installed your plugin and now I do not get an error while saving characters. But I still encounter the error when I enter a long code. (Some html, php code and an sql statement). Is there a limit in length of characters that the code snippet can support? Has this somehow been updated/changed in the last two versions of the plugin?

    I really love this plugin and but unfortunately its not working for me :-(

    Thanks again for your assistance.

  7. The.Missing.Code
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Ntjedge,

    The field used in the table is a longtext field which has a maximum length of 4,294,967,295 (or 4gb)

    It may be that for some reason, longtext is not available in your database configuration, in which case the maximum length could only be 65535 characters, although this is unlikely, check the column type in your table.

    TMC

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.