WordPress.org

Ready to get started?Download WordPress

Forums

Portable phpMyAdmin
Portable PMA generating incorrect error re: other plugin (14 posts)

  1. jczarniak
    Member
    Posted 2 years ago #

    Hi -

    I've been using Portable phpMyAdmin and Shortcode Exec PHP simultaneously for several weeks now on my WordPress 3.4 site hosted on Amazon EC2, and it has worked wonderfully. Tonight, i clicked on Portable PMA, and got the following error from Portable PMA:

    Shortcode Exec PHP requires at least WordPress 2.8

    I'm running WordPress 3.4 have not had any conflicts or done any updates.

    Any ideas?

    http://wordpress.org/extend/plugins/portable-phpmyadmin/

  2. Marcel Bokhorst
    Member
    Posted 2 years ago #

    Same question here.

  3. jczarniak
    Member
    Posted 2 years ago #

    Seriously - anybody? when this happened two weeks ago, i uninstalled both Shortcode Exec PHP and Portable PMA, reinstalled both, and it worked fine until today. Now i get the exact same error.

    **Even when I deactivate and delete Shortcode Exec PHP, Portable PMA gives me the error "Shortcode Exec PHP requires at least WordPress 2.8"**

    I am still running WP 3.4, still have not made any other changes.

    thanks

  4. Marcel Bokhorst
    Member
    Posted 2 years ago #

    This seems not a problem with Shortcode Exec PHP to me.
    Try Shortcode Exec PHP without Portable PMA to check this.

  5. Marcel Bokhorst
    Member
    Posted 2 years ago #

    From the other support request:

    "... but I even uninstalled Shortcode Exec PHP, and Portable PMA still gave me the error ..."

  6. jczarniak
    Member
    Posted 2 years ago #

    I have. Shortcode Exec PHP runs fine whether I have Portable PMA activated or not.

    Shortcode Exec PHP originates the problem, because its shortcode-exec-php-class.php script incorrectly throws the error to begin with.

  7. Marcel Bokhorst
    Member
    Posted 2 years ago #

    That error is only thrown when the class is loaded without a properly initialized WordPress environment.

    See it like this: this error prevents further problems, because the WordPress environment is needed for a correct function of the plugin.

    The question is why Shortcode Exec PHP is loaded without a proper WordPress environment. This is not something the plugin does on its own.

  8. jczarniak
    Member
    Posted 2 years ago #

    if my WordPress environment was not properly configured, then Shortcode Exec PHP would throw the error every time. it doesn't. it works fine 95% of the time. However, it occasionally throws that error.

  9. Marcel Bokhorst
    Member
    Posted 2 years ago #

    Then occasionally the WordPresss environment is not (properly) initialized. The question is why.

  10. Marcel Bokhorst
    Member
    Posted 2 years ago #

    "... but I even uninstalled Shortcode Exec PHP, and Portable PMA still gave me the error ..."

    So, even if Shortcode Exec PHP is not installed anymore, this error is shown. It looks like Portable PMA does something strange.

  11. jczarniak
    Member
    Posted 2 years ago #

    yes, i agree. which is why i posted the question on the Portable PMA support board.

  12. jczarniak
    Member
    Posted 2 years ago #

    M - deleted them both again, waited about 5 hours, reinstalled Portable PMA and it worked. installed but didn't activate Shortcode Exec PHP, then commented out the Check_prerequisites (since i know my config meets them) function call in shortcode-exec-php.php to hopefully prevent it from throwing the error again. Then activated Shortcode Exec PHP and everything working fine.

    Absolutely no idea why waiting several hours made the difference, but for some reason Portable PMA cleared the error value during that time. I will continue digging into the PMA code and let you know if i find out what is happening.

  13. Marcel Bokhorst
    Member
    Posted 2 years ago #

    Please realize that commenting out 'Check_prerequisites' can give other, maybe more serious, trouble.

  14. Kojichan
    Member
    Posted 1 year ago #

    Mine seemed to be erroring about Ultimate TinyMCE... strange.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic