I’m starting with CakePHP and I am following the blog tutorial from the official page.
But when I reach to the section Creating Post Views of the tutorial(http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html), I get an error.
After creating the mentioned files on the tutorial, I direct the browser to http://mypersonalspace.host.mobi/posts/index to see if its working correctly. But the page displays the next error:
Notice (8): Undefined variable: uri [CORE/Cake/Network/CakeRequest.php, line 247]
I do not know what to do because I have not touched that file. I even moved all my CakePHP installation to the httpdocs root folder, because I had it originally in a sub-folder named framework. I have checked the files looking for typos or something, but I have no clue.
Can you help me please?
I am using the version 2.2.0 of CakePHP and my webserver is hosted in a subdomain(http://mypersonalspace.host.mobi)
Variable
$uriisn’t defined. Check this inCORE/Cake/Network/CakeRequest.phpat line247.Or put before
247line: