Saturday, June 21, 2014

Re: class AppHelper not found

I know this is a little old, but thought I'd post my solution to a similar problem here.

I was getting the same error and when I checked my server logs I found that there was a syntax error in my AppHelper file.
( I had a semicolon after a function definition ---- public function fs( $var = false ); { )

Fixing this error made my AppHelper class load properly again.

Hope this helps someone!



On Tuesday, June 11, 2013 3:55:37 PM UTC-4, Safa Ksouri wrote:
and just a NB, i have the AppHelper.php on app/view/Helper
but not on lib/cake/view/Helper and even I tried to create it there the pb doesn't resolved


2013/6/11 Safa Ksouri <safa....@gmail.com>
yes, I did but i still don't know what's rong exactly, and what should i do?


2013/6/11 euromark <dereu...@gmail.com>
Did you read the part about AppHelper being required in your APP /View/Helper dir?


Am Dienstag, 11. Juni 2013 21:37:59 UTC+2 schrieb Safa Ksouri:
And for the URL localhost/cakephp/Posts/index
posts:controller
index:action

Le mardi 11 juin 2013 19:51:56 UTC+1, Safa Ksouri a écrit :
I'm sorry about writing in French, and thank you for your answers, but i still have the same problem and i have all of these classes


2013/6/11 euromark <dereu...@gmail.com>
please read

PS: this channel is english only - please. Otherwise we cannot understand you


Am Dienstag, 11. Juni 2013 18:57:27 UTC+2 schrieb Safa Ksouri:
salut, je suis debutante en cakephp , je suis entrin de suivre la creation du Blog et j'ai rencontré cet erreur
1 Fatal error: Class 'AppHelper' not found in /home/safa/workspace/cakephp/lib/Cake/View/Helper/FormHelper.php on line 30
Nb: j'ai la version 2.3.5 de cakephp
merci de me répondre le plutot possible.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/1NzcKSgeMTo/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/1NzcKSgeMTo/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: