{"id":4,"date":"2009-02-22T12:21:45","date_gmt":"2009-02-22T11:21:45","guid":{"rendered":"http:\/\/eggblog.invertedegg.com\/?p=4"},"modified":"2009-02-22T14:54:54","modified_gmt":"2009-02-22T13:54:54","slug":"wordpress-plug-in-install-problem","status":"publish","type":"post","link":"http:\/\/eggblog.invertedegg.com\/?p=4","title":{"rendered":"WordPress Plug-In Install Problem"},"content":{"rendered":"<p>I encountered the following error when installing a new plug-in (edited for details):<\/p>\n<blockquote><p>Warning: include_once() [function.include]: Failed opening <em>&#8216;<span style=\"color: #800000;\">##path-to-wordpress##<\/span><\/em>\/wp-content\/plugins\/twitter-for-wordpress\/&#8217; for inclusion (include_path=&#8217;.:\/usr\/share\/php:\/usr\/share\/pear&#8217;) in &#8216;<span style=\"color: #800000;\"><em>##path-to-wordpress##<\/em><\/span>\/wp-settings.php on line 473<\/p><\/blockquote>\n<p>I&#8217;d installed the plug-in &#8220;manually&#8221; (that is, downloaded it\u00c2\u00a0 and unzipped it into the plug-ins directory).\u00c2\u00a0 Some quick web searching didn&#8217;t exactly point to the error.\u00c2\u00a0 Nor did looking at the wp-settings.php file line 473 (just a straightforward directory include &#8230; of a directory that&#8217;s already been confirmed to exist!).<\/p>\n<p>Everything pointed to a permissions problem.\u00c2\u00a0 OK.\u00c2\u00a0 Checked the permissions &#8230; and they were, indeed, bad.\u00c2\u00a0 So I fixed up all the permissions (so that Apache and its friends could read the directory) &#8230; still the same error.\u00c2\u00a0 Even recycled Apache &#8230; still a problem.\u00c2\u00a0 Googling didn&#8217;t really help &#8230; one page was on point (but without a fix), and the rest of the hits were all on pages that were throwing this same error &lt;g&gt;.<\/p>\n<p>Turns out that once you&#8217;ve started a plug-in install, if your permissions are bad, you&#8217;re hosed.\u00c2\u00a0 You need to remove, then re-install the plug-in.\u00c2\u00a0 I did this, which fixed the problem:<\/p>\n<ol>\n<li>Moved the new plug-in directory out of the plugins folder.<\/li>\n<li>Reloaded the admin plugins page &#8230; OK, error disappears.<\/li>\n<li>Moved the new plug-in directory back in.<\/li>\n<li>&#8230; voila, able to install and configure the plug-in.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I encountered the following error when installing a new plug-in (edited for details): Warning: include_once() [function.include]: Failed opening &#8216;##path-to-wordpress##\/wp-content\/plugins\/twitter-for-wordpress\/&#8217; for inclusion (include_path=&#8217;.:\/usr\/share\/php:\/usr\/share\/pear&#8217;) in &#8216;##path-to-wordpress##\/wp-settings.php on line 473 I&#8217;d installed the plug-in &#8220;manually&#8221; (that is, downloaded it\u00c2\u00a0 and unzipped it into the plug-ins directory).\u00c2\u00a0 Some quick web searching didn&#8217;t exactly point to the error.\u00c2\u00a0 Nor did &hellip; <a href=\"http:\/\/eggblog.invertedegg.com\/?p=4\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress Plug-In Install Problem&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[3,12],"_links":{"self":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts\/4"}],"collection":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4"}],"version-history":[{"count":3,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts\/4\/revisions"}],"predecessor-version":[{"id":6,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=\/wp\/v2\/posts\/4\/revisions\/6"}],"wp:attachment":[{"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/eggblog.invertedegg.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}