• Resolved jzvestor

    (@jzvestor)


    we tried installing this plugin on our network and teh site went down and was replaced by this error”

    Fatal error: Unknown: Failed opening required ‘/home/trailshe/public_html/wp-content/plugins/p3-profiler/start-profile.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in Unknown on line 0

    I tried renaming the plugin folder, and completely removing the plugin folder, neither or which brought the site back. Are there other files hiding somewhere?

    https://www.ads-software.com/extend/plugins/p3-profiler/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Kurt Payne

    (@kurtpayne)

    Check your site’s .htaccess file. There should be a section in there like:


    # BEGIN p3-profiler
    php_value auto_prepend_file "/var/www/html/wordpress/wp-content/plugins/p3-profiler/start-profile.php"
    # END p3-profiler

    Remove that section.

    Plugin Contributor Kurt Payne

    (@kurtpayne)

    The plugin is designed to work in the “install -> activate -> deactivate -> delete” workflow. For sites using mod_php, the plugin attempts to add itself to .htaccess (this is the “php_value …” line). This gives more accurate profiling results because it’s guaranteed to load first.

    The .htaccess install/uninstall is automatically handled in the activate / deactivate logic. If you manually remove the plugin files while this .htaccess line is still there, it can cause this error.

    I’m looking into a more robust solution. Thanks for reporting this. If you can provide other information that would be helpful, please let me know.

    Thread Starter jzvestor

    (@jzvestor)

    I found the culprit, it was a few lines that p3 added to the end of the .htaccess if anyone else has the same problem. Remove those and you’re good to go.

    Does this not work with MU?

    Thread Starter jzvestor

    (@jzvestor)

    ha, I see you answered me before I answered myself! thank you.

    Plugin Contributor Kurt Payne

    (@kurtpayne)

    I tested this with WordPress multisite with the .htaccess method. Did this cause problems for one site, or across the whole network?

    I posted this after I noticed it was marked resolved so I am reposting in a new thread. However, I do not see how to delete this post.

    I installed P3 in multisite but I have no idea where to run the profile I don’t see any evidence, in the network admin, of P3 except in the list of plug-ins. I installed P3 from the plug-in dashboard and clicked on network activate.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: P3 (Plugin Performance Profiler)] Help! the plugin borke my site and I can't resolve i’ is closed to new replies.