Looks like I had to change my custom helpers to lowercase. I thought
I had done this before but apparently not. For some reason this was
also affecting the default javascript helper.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
The Js helper is referenced with $this->Js, for example:
echo $this->Js->writeBuffer();
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To
check if you have some files with an uppercase letter. Windows is
case-insensitive while linux is case-sensitive.
Saludos,
Pablo Viojo
CTO, Groupon Latinoamerica
http://tiopaul.io
http://www.groupon.com.ar http://www.groupon.cl http://www.groupon.com.co
http://www.groupon.com.mx http://www.gr
Thanks for the response but i'm not sure if I understand the
question. The javascript helper is being used to write the html that
includes my javascript files. (Which happen to be jquery)
This is similar to how the html helper is used to include the css
files.
So i have something like this:
ech
Did you install Jquery?
Also I think the name of the helper is case sensitive. For example:
$this->Helperfns->formatDate($user['User']['created']);
... to call function in Helperfns.php.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new Cake
I have a cake application that I'm trying to move from a windows xammp
server to a linux apache server. Now that I've moved all the files,
I'm getting an undefined variable: javascript error. Not sure why it
can't find the cake helpers. I have it set correctly in my
app_controller. Also seems l