Hi,
I have setup cake 1.2 on my server, everything is running fine. I
created a database and used the scaffolding to create new models,
controllers and views, everything works great and I have no problems.
My next step was to use some of the code snippets on the bakery, I
added code for an authorization using Acl and Auth and it worked fine.
I then start adding some components like captcha, which use a helper,
here is were it starts going wrong. I can not get the helper to work,
I tried many different helpers but with same results.
""""
Missing Helper Class
Error: The helper class CaptchaHelper can not be found or does not
exist.
Error: Create the class below in file: app\views\helpers\captcha.php
<?php
class CaptchaHelper extends AppHelper {
}
?>
""""
I checked the directory and the helpers are in the correct place, when
I access the page which uses a helper, the top part of the browser
shows the helper file in the following way:
========================= start
=============================================
��<�?�p�h�p� � �c�l�a�s�s� �C�a�p�t�c�h�a�H�e�l�p�e�r� �e�x�t�e�n�d�s�
�A�p�p�H�e�l�p�e�r� �{� � � � � � �v�a�r� �$�h�e�l�p�e�r�s� �=�
�a�r�r�a�y�(�'�h�t�m�l�'�,� �'�f�o�r�m�'�)�;� � � � � � � � �
�f�u�n�c�t�i�o�n� �i�n�p�u�t�(�$�c�o�n�t�r�o�l�l�e�r� �=� �n�u�l�l�)�
�{� � � � � � � � � �
========================== end
============================================
In between the � character the code of my helper is shown, it looks
like the helper file is no rendered correctly and displays it as
garbled data.
I have tried many different things, but has not figured this one out,
is it file permission, file extension, or a configuration issues. I
hope someone can point me in the right direction.
TZ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---