<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Best Hubris &#187; Error Messages</title> <atom:link href="http://besthubris.com/tag/error-messages/feed/" rel="self" type="application/rss+xml" /><link>http://besthubris.com</link> <description>Business Strategy, Personal Development, Marketing</description> <lastBuildDate>Sun, 22 Jan 2012 17:47:06 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Fix for WP-DBManager Error Warning: Your backup folder MIGHT be visible to the public</title><link>http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public</link> <comments>http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/#comments</comments> <pubDate>Sun, 09 Aug 2009 20:11:08 +0000</pubDate> <dc:creator>WGHubris</dc:creator> <category><![CDATA[Computers - Internet]]></category> <category><![CDATA[Dreamhost]]></category> <category><![CDATA[Error Messages]]></category> <category><![CDATA[Plug-ins]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[websites]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[WP-DBManager]]></category><guid
isPermaLink="false">http://www.besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/</guid> <description><![CDATA[<p>If you keep getting the Warning: Your backup folder MIGHT be visible to the public error even though you copied the .htaccess file to the correct folder, there might be a glitch with your Path to Backup setting, but it's not what you think.</p><p><a
href="http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/">Fix for WP-DBManager Error Warning: Your backup folder MIGHT be visible to the public</a> is a post from <a
href="http://besthubris.com">Best Hubris</a>. All content exclusively written by <a
href="http://www.arcticllama.com">Freelance Writing Business of ArcticLlama, LLC</a></p>]]></description> <content:encoded><![CDATA[<p><p><a
href="http://besthubris.com/wp-content/uploads/2009/08/wpdbmanagererrorwordpressdatabase1.jpg"><img
style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="wp-dbmanager-error-wordpress-database" border="0" alt="wp-dbmanager-error-wordpress-database" align="left" src="http://besthubris.com/wp-content/uploads/2009/08/wpdbmanagererrorwordpressdatabase_thumb1.jpg" width="94" height="102" /></a> Recently, an upgrade to the <a
href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">WP-DBManager plug-in for WordPress</a> started giving an error message on my sites.&#160; The error message is, &quot;Error Warning: Your backup folder MIGHT be visible to the public&quot;.&#160; The plug-in goes on to recommend that you copy the .htaccess file from one folder to another.</p><p>There are two glitches with the WP-DBManager WordPress plug-in.</p><p>The first is that there is no .htaccess file where WP-DBManager says to look.&#160; It is an easy solution, on the <a
href="http://forums.lesterchan.net/index.php/topic,3714.0.html" target="_blank">support forums</a>, the author notes that there are some difficulties distributing the plug-in with a real .htaccess file in it.&#160; To get around the issue, there is a htaccess.txt file instead.&#160; Just copy it to the new directory and then rename it .htaccess.&#160; All of which is easily done with <a
href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Ffilezilla-project.org%2F&amp;ei=QC1_SoWyGZD8tAOE8bzvCg&amp;usg=AFQjCNFi0DpQ1I5V_nCUkxMoqvM1kA5XnA&amp;sig2=kLQy96fxuPKFs0XM9Ao2Yw" target="_blank">Filezilla</a> or another FTP utility.</p><p>The second glitch is a little trickier.</p><p>Even after you have copied the .htaccess file where you are supposed to, the plug-in might show the error message anyway.&#160; In other words, you still keep getting the error even if you have the right .htaccess file in the correct directory.</p><p>On the support forums, there is information to make the Warning message go away.&#160; It involves how to <a
href="http://forums.lesterchan.net/index.php/topic,3714.msg26062.html#msg26062" target="_blank">tweak the plug-in&#8217;s PHP code</a>, but all this does is stop the check.&#160; It doesn&#8217;t fix the problem.&#160; That is bad news, because if the error message is broken your backups might be broken too.</p><p>What gives?</p><h4>WP-DBManager Error and Dreamhost Hosting</h4><p>For whatever reason, <a
href="http://www.dreamhost.com/r.cgi?360408" target="_blank">Dreamhost</a> hosts their accounts for WordPress and other sites with a full directory path that includes a &quot;.something&quot; directory. WP-DBManager requires a path to mysquldump and mysql, but also the FULL directory path structure to work properly.</p><p>As a Dreamhost user, that means that you will input a Path to Backup containing a &quot;.&quot;.</p><p>For example, /home/.swami/domain.com/wp-content/backup-db</p><p>Whether it is a Dreamhost thing or a WordPress thing, I don&#8217;t have any idea, but for whatever reason, when the WP-DBManager plugin code tries to read the Path to Backup field it uses the /.swami/ part correctly in one section, but then does NOT use it correctly in the next section.</p><p>The result?</p><p>Keep getting the Warning: Your backup folder MIGHT be visible to the public error message even though you have the right .htaccess file because the check the plug-in makes fails due to have the &quot;wrong&quot; path.</p><p>Even worse is that your backups are failing!&#160; The same path error that causes the warning to falsely display causes a directory write error when it tries to run the backups!</p><h4>How To Fix WP-DBManager WordPress Plug-in Error Message</h4><p>Fortunately, the fix is pretty easy.</p><p>Go into the DB Options under Database in your WordPress control panel and change the Path to Backup to NOT include the .directory whatever it is.</p><p>In the example above, delete the /.swami/ part of the path.</p><p>That leaves /home/domain.com/wp-content/backup-db.</p><p>Save the changes and then click on a different plug-in or control panel option and then back on the Database (to get it to re-try and read the file).&#160; The error message should disappear, and more importantly, your backups should be working again.</p><p>You can test if WP-DBManager backups are working by clicking Backup DB which runs a manual backup.</p><p>By the way, Dreamhost already backs up your mysql databases for you, so if you are in a pinch you can use those.&#160; But, WP-DBManager still provides more robust, automated backups, that are not overwritten by default and are easier to restore, so you still need the plugin.</p><div
style="font-size: 9px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7c265bce-d3df-4630-93cb-a915619a35cb" class="wlWriterEditableSmartContent">Technorati Tags: <a
href="http://technorati.com/tags/WordPress" rel="tag">WordPress</a>,<a
href="http://technorati.com/tags/Plug-ins" rel="tag">Plug-ins</a>,<a
href="http://technorati.com/tags/Web+Development" rel="tag">Web Development</a>,<a
href="http://technorati.com/tags/Websites" rel="tag">Websites</a>,<a
href="http://technorati.com/tags/Troubleshooting" rel="tag">Troubleshooting</a>,<a
href="http://technorati.com/tags/Error+Messages" rel="tag">Error Messages</a>,WP-DBManager,<a
href="http://technorati.com/tags/Dreamhost" rel="tag">Dreamhost</a></div></p><div
style="font-size: 9px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a18ac291-6f66-4c3f-b4ab-03d662ae6f53" class="wlWriterEditableSmartContent">IceRocket Tags: <a
href="http://blogs.icerocket.com/search?q=WordPress" rel="tag">WordPress</a>,<a
href="http://blogs.icerocket.com/search?q=Websites" rel="tag">Websites</a>,<a
href="http://blogs.icerocket.com/search?q=Troubleshooting" rel="tag">Troubleshooting</a>,<a
href="http://blogs.icerocket.com/search?q=WP-DBManager" rel="tag">WP-DBManager</a>,<a
href="http://blogs.icerocket.com/search?q=Dreamhost" rel="tag">Dreamhost</a>,<a
href="http://blogs.icerocket.com/search?q=Warning" rel="tag">Warning</a>,<a
href="http://blogs.icerocket.com/search?q=.htaccess" rel="tag">.htaccess</a>,<a
href="http://blogs.icerocket.com/search?q=Fix" rel="tag">Fix</a></div><p><a
href="http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/">Fix for WP-DBManager Error Warning: Your backup folder MIGHT be visible to the public</a> is a post from <a
href="http://besthubris.com">Best Hubris</a>. All content exclusively written by <a
href="http://www.arcticllama.com">Freelance Writing Business of ArcticLlama, LLC</a></p>]]></content:encoded> <wfw:commentRss>http://besthubris.com/computers-internet/fix-wp-dbmanager-error-warning-your-backup-folder-might-be-visible-to-the-public/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)

Served from: besthubris.com @ 2012-02-10 01:23:14 -->
