开发者

Why i get this error, where i made error?

开发者 https://www.devze.com 2023-01-18 02:12 出处:网络
I tried regist开发者_Python百科er 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\\registe

I tried regist开发者_Python百科er 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. :)


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

0

精彩评论

暂无评论...
验证码 换一张
取 消