WordPress.org

Forums

Allow PHP in Posts and Pages
Won't Create Table in MySQL (2 posts)

  1. Chris G
    Member
    Posted 2 years ago #

    The plugin was acting odd so I've uninstalled it, dropped the table from mysql and reinstalled the plug, but it won't create a new table. Any idea how to get this fixed. I have the plugin working on some other sites, but this new one kept giving me the 404 message before I did the uninstall.

    http://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/

  2. Kler
    Member
    Posted 2 years ago #

    I had the same problem but I have a solution.
    Go to your PphMyAdmin panel and execute directly this SQL request:

    CREATE TABLE IF NOT EXISTS wp_allowPHP_functions(
    id int NOT NULL AUTO_INCREMENT,
    name varchar(100) NOT NULL,
    function text NOT NULL,
    PRIMARY KEY(id)
    );

    You must replace "wp_" by the prefix of your tables.
    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Allow PHP in Posts and Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.