Help please with cakephp 1.2, I do not give it solved

0

to see if someone can help me, because I'm a bit overwhelmed. I have been sent to translate a web in cakephp 1.2 to a more modern server, it is in internet information service 6.0 and I have installed it in an apache in 1and1. Everything works almost OK, but the route of the posts: cosnor2.idsoft.es/posts (this would have to be, add app / webroot and I can not find a way to solve it).

I can even pay something to help me, write me a private [email protected]

thanks

note that if you load the web cosnor2.idsoft.es go to news and upload but as soon as you click on any already added / app / webroot and does not load.

And the error that gives me is:

  

Error: The action webroot is not defined in controller AppController

     

Error: Create AppController :: webroot () in file:   app / controllers / app_controller.php.

   

Let's see if anyone can help me, THANK YOU.

And my routers.php file in / app / config is:

Router::connect('/', array('controller' => 'pages', 'action' => 'display', 
'home'));


Router::connect('/pages/*', array('controller' => 'pages', 'action' => 
'display'));

//connect admin pages
Router::connect('/admin/pages/*', array('controller' => 'pages', 'action' => 'display', 'admin' => true));

//alias for psot/news
Router::connect('/noticias', array('controller' => 'posts', 'action' => 'index','Noticias'));

Router::connect('/admin/users/login', array('controller' => 'users', 'action' => 'login'));
Router::connect('/admin/users/logout', array('controller' => 'users', 'action' => 'logout'));
Router::connect('/admin', array('controller' => 'pages', 'action' => 'display', 'admin_home', 'layout'=>'admin','admin'=>1 ,'prefix' => Configure::Read('Routing.admin')));
    
asked by sirdavidvarela 19.03.2018 в 17:07
source

0 answers