<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Undefined variable: javascript in cakePHP with scriptaculous</title>
	<atom:link href="http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html</link>
	<description>Weblog about webdevelopment and linux</description>
	<lastBuildDate>Sat, 31 Jul 2010 21:00:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Bruno Bergher</title>
		<link>http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html/comment-page-1#comment-541</link>
		<dc:creator>Bruno Bergher</dc:creator>
		<pubDate>Thu, 24 Sep 2009 03:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous_algemeen_120.html#comment-541</guid>
		<description>I thought I should add to this:

Went through the same problem and this post helped me figure out the cause (trying to render a non-existent view).

The thing is I was messing with custom flash message layouts, and the non-existent view was a custom flash layout that was specified earlier, but then changed. No matter how many times I reloaded the page, it kept the same way. I deleted all the cache files, even restarted Apache hoping that something was being cached in the memory level. Nothing worked.

Only after some 20 minutes I realized the name of the custom layout was written to the session itself, so regardless of me having changed it in my code, it was still being called.

The solution was to create the non-existent file temporarily and reload. It worked. I then removed this file and tried again: everything worked perfectly.

Just keeping this here in case it&#039;s helpful to anyone.

Cheers</description>
		<content:encoded><![CDATA[<p>I thought I should add to this:</p>
<p>Went through the same problem and this post helped me figure out the cause (trying to render a non-existent view).</p>
<p>The thing is I was messing with custom flash message layouts, and the non-existent view was a custom flash layout that was specified earlier, but then changed. No matter how many times I reloaded the page, it kept the same way. I deleted all the cache files, even restarted Apache hoping that something was being cached in the memory level. Nothing worked.</p>
<p>Only after some 20 minutes I realized the name of the custom layout was written to the session itself, so regardless of me having changed it in my code, it was still being called.</p>
<p>The solution was to create the non-existent file temporarily and reload. It worked. I then removed this file and tried again: everything worked perfectly.</p>
<p>Just keeping this here in case it&#8217;s helpful to anyone.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seo free</title>
		<link>http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html/comment-page-1#comment-134</link>
		<dc:creator>seo free</dc:creator>
		<pubDate>Wed, 10 Jun 2009 13:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous_algemeen_120.html#comment-134</guid>
		<description>thanks lot..helped me lot in development</description>
		<content:encoded><![CDATA[<p>thanks lot..helped me lot in development</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Docwondergroup</title>
		<link>http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html/comment-page-1#comment-133</link>
		<dc:creator>Docwondergroup</dc:creator>
		<pubDate>Mon, 03 Nov 2008 16:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous_algemeen_120.html#comment-133</guid>
		<description>I was experiencing this same problem, but it was firing at my default layout. To remedy this, I had to put it in my app_controller.php file so it was available at a higher level.

&lt;code&gt;
class AppController extends Controller {
	var $helpers = array(&#039;Html&#039;, &#039;Javascript&#039;);
}
&lt;/code&gt;

Remedied all my issues. Thanks for pointing me in the right direction.</description>
		<content:encoded><![CDATA[<p>I was experiencing this same problem, but it was firing at my default layout. To remedy this, I had to put it in my app_controller.php file so it was available at a higher level.</p>
<p><code><br />
class AppController extends Controller {<br />
	var $helpers = array('Html', 'Javascript');<br />
}<br />
</code></p>
<p>Remedied all my issues. Thanks for pointing me in the right direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gonzalo</title>
		<link>http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html/comment-page-1#comment-132</link>
		<dc:creator>Gonzalo</dc:creator>
		<pubDate>Fri, 17 Oct 2008 19:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous_algemeen_120.html#comment-132</guid>
		<description>Thanks, you save my day!!</description>
		<content:encoded><![CDATA[<p>Thanks, you save my day!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devashish</title>
		<link>http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous-programming.html/comment-page-1#comment-127</link>
		<dc:creator>Devashish</dc:creator>
		<pubDate>Wed, 16 Apr 2008 07:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.vtek.nl/undefined-variable-javascript-in-cakephp-with-scriptaculous_algemeen_120.html#comment-127</guid>
		<description>Thanks for great help in absence of proper documentation cakephp</description>
		<content:encoded><![CDATA[<p>Thanks for great help in absence of proper documentation cakephp</p>
]]></content:encoded>
	</item>
</channel>
</rss>
