开发者

Why i get this error, where i made error?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜