<rss version="2.0">
		<channel>
			<title>Tarski forum - Cannot load the &amp;#039;tarski options&amp;#039; page in my WP backend</title>
			<lastBuildDate>Tue, 07 Sep 2010 14:27:00 +0000</lastBuildDate>
			<link>http://tarskitheme.com/forum/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.9</generator>
			<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2035#Comment_2035</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2035#Comment_2035</guid>
		<pubDate>Wed, 07 Nov 2007 02:25:43 +0000</pubDate>
		<author>henning</author>
		<description>
			<![CDATA[Hi! <br /><br />props to the developers! a great theme...<br /><br />But I get an error message any time, I want to open the options page reading:<br /><br />Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 311296 bytes) in /home/bakshalom/public_html/wp-content/themes/tarski/library/includes/feedparser/lib-utf8.php on line 769<br /><br /><br /><br />what can I do?!<br /><br />thx,henning]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2038#Comment_2038</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2038#Comment_2038</guid>
		<pubDate>Wed, 07 Nov 2007 03:58:42 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>I had this problem when trying to set up WordPress on a new <span class="caps">PHP</span> install the other day. Basically, what you need to do is go into your php.ini file (where it is will depend on the system) and change the memory_limit value to something higher (12 or 16MB should do it, try the lower value first!).</p>

	<p><code>memory_limit = 12M</code></p>

	<p>As the error indicates, it looks like this is down to the Feedparser library. I&#8217;m going to see if there&#8217;s anything I can do to reduce that load.</p>

	<p>I&#8217;ve actually found that WordPress (at least on the bundled Mac OS 10.5 library of <span class="caps">PHP</span> and Apache) causes that error all by itself, without Tarski being activated, so Tarski&#8217;s intermittent apparent high memory usage may just push your server over the edge.</p>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2039#Comment_2039</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2039#Comment_2039</guid>
		<pubDate>Wed, 07 Nov 2007 04:03:01 +0000</pubDate>
		<author>henning</author>
		<description>
			<![CDATA[thanx for the quick reply,<br />but that would mean, only my webhost could change this on his/her server (if I don't have a own), right?!]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2040#Comment_2040</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2040#Comment_2040</guid>
		<pubDate>Wed, 07 Nov 2007 04:05:20 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>That&#8217;s correct. I take it you don&#8217;t have the problem with just WordPress, the default theme and no plugins running?</p>

	<p>You could also try setting this in your .htaccess file (if your server is running Apache, which given that it looks like a *nix server it probably is):</p>

	<p><code>php_value memory_limit 12M</code></p>

	<p>But that capability may have been disabled by your host.</p>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2041#Comment_2041</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2041#Comment_2041</guid>
		<pubDate>Wed, 07 Nov 2007 04:10:50 +0000</pubDate>
		<author>henning</author>
		<description>
			<![CDATA[nope. it works just fine with the default theme: http://bakshalom.byto.de/<br /><br />and I seem to have problems only in the backend. â€“Â what's bad enough since neither the dashbord nor the tarski options can be displayed.]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2042#Comment_2042</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2042#Comment_2042</guid>
		<pubDate>Wed, 07 Nov 2007 04:13:26 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>Can you try disabling all your plugins, enabling Tarski, and seeing if you can access the Options page? I&#8217;d like to find out Feedparser is <em>all</em> the problem or just a contributor to it.</p>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2044#Comment_2044</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2044#Comment_2044</guid>
		<pubDate>Wed, 07 Nov 2007 04:20:40 +0000</pubDate>
		<author>henning</author>
		<description>
			<![CDATA[I have all plugins disabled... doesn't help. also the .htaccess-solution didn't work out for me.]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2045#Comment_2045</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2045#Comment_2045</guid>
		<pubDate>Wed, 07 Nov 2007 05:11:50 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>Then I&#8217;m afraid the only options I can suggest are contacting your host to change the memory limit, or manually removing the update notification system.</p>

	<p>To do that, go to <strong>library/launcher.php</strong> in your Tarski directory and comment out the following line:</p>

	<p><code>add_action('activity_box_end', 'tarski_update_notifier');</code></p>

	<p>So it becomes</p>

	<p><code>// add_action('activity_box_end', 'tarski_update_notifier');</code></p>

	<p>Then you need to remove it from the Tarski Options page. Go to <strong>library/display/admin/options_page.php</strong>, on lines 25-27 there should be the following code:</p>

	<p><code>&#60;?php if(!detectWPMU() || detectWPMUadmin()) { ?&#62;
	&#60;?php tarski_update_notifier('options_page'); ?&#62;
&#60;?php } ?&#62;</code></p>

	<p>Comment out the middle line, so you end up with this:</p>

	<p><code>&#60;?php if(!detectWPMU() || detectWPMUadmin()) { ?&#62;
	&#60;?php // tarski_update_notifier('options_page'); ?&#62;
&#60;?php } ?&#62;</code></p>

	<p>Obviously it means you&#8217;ll have to manually check for Tarski updates.</p>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2046#Comment_2046</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2046#Comment_2046</guid>
		<pubDate>Wed, 07 Nov 2007 07:06:33 +0000</pubDate>
		<author>ross</author>
		<description>
			<![CDATA[Hi, <br /><br />After upgrading I got exactly the same error message, when trying to access Tarski Options: <br /><br />Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 311296 bytes) in ....../tarski/library/includes/feedparser/lib-utf8.php on line 769<br /><br />Following your suggestion to raise the memory limit from 8M to 12M it worked fine again. This was on my local machine (Mac + MAMP). My hosted server didn't have this problem. <br /><br />Thanks, <br /><br />Ross]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2047#Comment_2047</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2047#Comment_2047</guid>
		<pubDate>Wed, 07 Nov 2007 07:21:02 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>I think the new <span class="caps">PHP</span> defaults are the problem on Leopard; I didn&#8217;t have the issue when I set up <span class="caps">PHP</span> on Tiger (in addition to this I think Leopard is bundled with <span class="caps">PHP</span> 5, not 4, and it doesn&#8217;t automatically copy per-user Apache settings over either).</p>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2048#Comment_2048</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2048#Comment_2048</guid>
		<pubDate>Wed, 07 Nov 2007 08:40:48 +0000</pubDate>
		<author>liggitt</author>
		<description>
			<![CDATA[I know it's distasteful, but it might be worth manually parsing the version.atom file to avoid this problem. It would stink to not be able to use Tarski out of the box because the version checking was running out of memory. This change to version.php would just return the raw data, then use a couple regular expressions to pull out the version and link. It works as long as you don't have non-ascii characters or escaped XML entities in your version or link... not ideal, I know, but much lighter-weight, and you do control the feed. Just an idea.<br /><br /><code ><br />	/**<br />	 * version_feed_data() - Returns latest version feed data.<br />	 * <br />	 * @link http://tarskitheme.com/version.atom<br />	 * @since 2.0<br />	 * @return string $atomdata<br />	 */<br />	function version_feed_data() {<br />		// Thanks to Simon Willison for the inspiration<br />		$cachefile = TARSKICACHE . &quot;/version.atom&quot;;<br />		$cachetime = 60 * 60;<br />		<br />		// Serve from the cache if it is younger than $cachetime<br />		if (<br />			file_exists($cachefile)<br />			&amp;&amp; (time() - $cachetime &lt; filemtime($cachefile))<br />			&amp;&amp; file_get_contents($cachefile)<br />		) {<br />			$atomdata = file_get_contents($cachefile);<br />		} else {<br />			$ch = curl_init(TARSKIVERSIONFILE);<br />			curl_setopt($ch, CURLOPT_FAILONERROR, 1);<br />			curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);<br />			curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br />			curl_setopt($ch, CURLOPT_HEADER, 0);<br />			$atomdata = curl_exec($ch);<br />			curl_close($ch);<br /><br />			if(!empty($atomdata) &amp;&amp; cache_is_writable(&quot;version.atom&quot;)) {<br />				$fp = @fopen($cachefile, &quot;w&quot;);<br />				if($fp) {<br />					fwrite($fp, $atomdata);<br />					fclose($fp);<br />				}<br />			}<br />		}<br /><br />		return $atomdata;<br />	}<br />	<br />	/**<br />	 * latest_version_number() - Returns latest version number.<br />	 * <br />	 * @since 2.0<br />	 * @return string<br />	 */<br />	function latest_version_number() {<br />		if(preg_match('/&lt;entry&gt;.*?&lt;title&gt;(.+?)&lt;\/title&gt;.*?&lt;\/entry&gt;/is', Version::version_feed_data(), $matches)) {<br />			$this-&gt;latest = wp_specialchars($matches[1]);<br />		}<br />	}<br />	<br />	/**<br />	 * latest_version_link() - Returns link to latest version release post.<br />	 * <br />	 * The link should be the release post on the Tarski website<br />	 * for the latest version of Tarski, which will include a link<br />	 * to download the .zip file of that latest version.<br /> 	 * @since 2.0<br />	 * @return string<br />	 */<br />	function latest_version_link() {<br />		if(preg_match('/&lt;entry&gt;.*?&lt;id&gt;(.+?)&lt;\/id&gt;.*?&lt;\/entry&gt;/is', Version::version_feed_data(), $matches)) {<br />			$this-&gt;latest_link = wp_specialchars($matches[1]);<br />		}<br />	}<br /></code>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2053#Comment_2053</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2053#Comment_2053</guid>
		<pubDate>Wed, 07 Nov 2007 13:03:53 +0000</pubDate>
		<author>henning</author>
		<description>
			<![CDATA[thank you so much, Ben.<br /><br />That did it for me... Now I am sooooo  happy to have access to options and dashboard! What a coool service! Thanks!<br /><br />I'll move to the donations form as soon as I have added this comment! :-)]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2059#Comment_2059</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2059#Comment_2059</guid>
		<pubDate>Thu, 08 Nov 2007 06:03:48 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>Thanks Henning, that&#8217;s very kind of you.</p>

	<p>Jordan: it&#8217;s less than ideal, but ideally WordPress&#8217;s included feed parsing library wouldn&#8217;t be so awful and I wouldn&#8217;t need to include anything in the first place. Thanks for the patch, it&#8217;s now in trunk and will be in 2.0.1.</p>]]>
		</description>
	</item>
	<item>
		<title>Cannot load the &#039;tarski options&#039; page in my WP backend</title>
		<link>http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2074#Comment_2074</link>
		<guid isPermaLink="false">http://tarskitheme.com/forum/comments.php?DiscussionID=444&amp;Focus=2074#Comment_2074</guid>
		<pubDate>Fri, 09 Nov 2007 10:37:25 +0000</pubDate>
		<author>Ben Eastaugh</author>
		<description>
			<![CDATA[	<p>2.0.1 is now out and incorporates this change.</p>]]>
		</description>
	</item>
	
		</channel>
	</rss>