I tried register script for cake from here and i get this error:
Fatal error: Using $this when not in object context in D:\premke\xampps\xampp-win32-1.7.3\xampp\htdocs\register.php on line 23
Where i made error. Thanks in advance. 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it looks like you have taken something out of the cakephp context – the normal cake or app folder – and installed it in the root folder of your webserver.
Without being processed by cake this is meaningless. I would suggest you start again from a vanilla cake installation and edit the files in place (in fact, it occurs to me that you manipulated the default.ctp and created php-file from that).