<?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>OSX &#8211; CodePills.com</title>
	<atom:link href="https://codepills.com/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>https://codepills.com</link>
	<description>Helping you make a better code</description>
	<lastBuildDate>Wed, 30 Mar 2016 17:22:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to solve plugin or theme installation error on XAMPP local WordPress installation</title>
		<link>https://codepills.com/how-to-solve-plugin-or-theme-installation-error-on-xampp-local-wordpress-installation/</link>
					<comments>https://codepills.com/how-to-solve-plugin-or-theme-installation-error-on-xampp-local-wordpress-installation/#respond</comments>
		
		<dc:creator><![CDATA[Andrej Buday]]></dc:creator>
		<pubDate>Wed, 30 Mar 2016 17:22:32 +0000</pubDate>
				<category><![CDATA[Wordrpress]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[XAMPP]]></category>
		<guid isPermaLink="false">http://codekopf.com/?p=441</guid>

					<description><![CDATA[Shifting from Windows to OS X makes lots of simple tasks ridiculously hard. Since I was thought by Windows that installing things on WordPress localhost installation shall be easy, it took me a lot of temper and power to bite into &#8230; <a href="https://codepills.com/how-to-solve-plugin-or-theme-installation-error-on-xampp-local-wordpress-installation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Shifting from Windows to OS X makes lots of simple tasks ridiculously hard. Since I was thought by Windows that installing things on WordPress localhost installation shall be easy, it took me a lot of temper and power to bite into my lips and start searching for solution.</p>
<p><span id="more-441"></span></p>
<p>After first attempt to install on WordPress localhost plugin I got this error:</p>
<blockquote><p>Connection Information<br />
To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.</p></blockquote>
<p><a href="http://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-title.png" rel="attachment wp-att-452"><img decoding="async" class="alignnone size-medium wp-image-452" src="http://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-title-300x49.png" alt="osx xampp wordpress ftp install error title" width="300" height="49" srcset="https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-title-300x49.png 300w, https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-title.png 536w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<h2>Solution:</h2>
<h3>Step 1.</h3>
<p>Put into config.php <strong><em>define(&#8216;FS_METHOD&#8217;, &#8216;direct&#8217;);  </em></strong>Parameter &#8220;direct&#8221; forces use of Direct File I/O requests from within PHP. Delete this line if you copy your whole WordPress installation on life host (security treat).</p>
<h3>Step 2.</h3>
<p>Unfortunately this is not all. When you download the theme or plugin it will not create the directory inside your folder.</p>
<p><a href="http://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory.png" rel="attachment wp-att-450"><img decoding="async" class="alignnone wp-image-450 size-medium" src="http://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-300x65.png" alt="osx xampp wordpress ftp install error directory" width="300" height="65" srcset="https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-300x65.png 300w, https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-768x168.png 768w, https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory.png 820w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>It is necessary to change permission on main folder of WordPress installation.</p>
<p>In order to change the folder permission you need to right click on the root folder directory of your site. Click &#8220;Get Info&#8221;  and unlock (bottom right) access. by giving your admin password. Change permission settings for your folder according picture below and click on the gear icon &#8220;apply to enclosed items&#8221;.</p>
<p><a href="http://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-settings.png" rel="attachment wp-att-451"><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-451" src="http://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-settings-300x238.png" alt="osx xampp wordpress ftp install error directory settings" width="300" height="238" srcset="https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-settings-300x238.png 300w, https://codepills.com/wp-content/uploads/2016/03/osx-xampp-wordpress-ftp-install-error-directory-settings.png 502w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://codepills.com/how-to-solve-plugin-or-theme-installation-error-on-xampp-local-wordpress-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fixing SimplePie &#8220;./cache is not writeable.&#8221; error</title>
		<link>https://codepills.com/fixing-simplepie-cache-is-not-writeable-error/</link>
					<comments>https://codepills.com/fixing-simplepie-cache-is-not-writeable-error/#respond</comments>
		
		<dc:creator><![CDATA[Andrej Buday]]></dc:creator>
		<pubDate>Sun, 20 Mar 2016 20:21:18 +0000</pubDate>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">http://codekopf.com/?p=408</guid>

					<description><![CDATA[Switching from EasyPHP to XAMPP as development environment and Windows to OSX I have encounter error regarding cache file in my app based on SimplePie library. Error looked like this: Warning: simplePie/cache is not writeable. Make sure you&#8217;ve set the correct relative or &#8230; <a href="https://codepills.com/fixing-simplepie-cache-is-not-writeable-error/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Switching from EasyPHP to XAMPP as development environment and Windows to OSX I have encounter error regarding cache file in my app based on SimplePie library.</p>
<p><span id="more-408"></span><br />
Error looked like this:</p>
<blockquote><p>Warning: simplePie/cache is not writeable. Make sure you&#8217;ve set the correct relative or absolute path, and that the location is server-writable. in /Applications/XAMPP/xamppfiles/htdocs/xxxxxxxxx/simplePie/library/SimplePie.php on line 1369</p></blockquote>
<p>I browsed internet and first counter measure is to define absolute path to SimplePie cache folder from this:</p>
<pre class="lang:php decode:true">$feed-&gt;set_cache_location('simplePie/cache');</pre>
<p>to this:</p>
<pre class="lang:php decode:true">$feed-&gt;set_cache_location($_SERVER['DOCUMENT_ROOT'] . '/xxxxxxxxx/simplePie/cache/');</pre>
<p>or any other possible way to define absolute path in file.</p>
<p>Second counter measure is to set proper permission on folder where cache is made. I used Double Commander in OSX.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codepills.com/fixing-simplepie-cache-is-not-writeable-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
