tags:

views:

33

answers:

1

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. :)

+2  A: 

Hi user463184,

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).

Kind regards, Benjamin.

benjamin