Questions tagged as 'cakephp-2'

1
answer

Edit TXT file with cakephp

Please, if you would like help editing a .txt file that is formatted with json_decode() . No controller looks like this: public function index() { $json_str = file_get_contents('files/restaurante.txt','r+'); $json_arr =...
asked by 09.09.2015 / 21:23
1
answer

PagesController CakePHP executes only the action display

I created home.ctp in the /Views/Page/ folder, and it is working, I also created the home method, however, when I access /pages/home/ , the only method accessed is the display, does anyone know why?     
asked by 03.04.2014 / 04:54
1
answer

Apache does not read subfolders or other files

Recently, I formatted my computer and installed Ubuntu 14.04 and as always, I changed the apache document root to: / home / user / workspace / web. Inside this folder I've cloned a project of mine done in CakePHP 2.4, but my project is just o...
asked by 12.05.2014 / 22:56