Yats and scaffolding |
[eluser]Jose Dueñas[/eluser]
Hi folks! I'm having some problems with scaffolding and yats. I have my controller like that: Code: <?php If I go to: http://localhost:8888/inmo/index.php/inmo/secret_word I can see the scaffolding page, but if I click to Add New Record, a 404 page is shown. Is there any problem working with scaffolding and yats together? Thanks!
[eluser]a&w[/eluser]
[quote author="joseduenas" date="1189987424"] Is there any problem working with scaffolding and yats together?[/quote] Answer....no. I tested scaffolding on the YATS distribution package (see further below) and it worked ok. Maybe it's something with your routing or your .htaccess file if you're using one? I know the URI protocol gave me problems using 'auto' so my setup is below. Code: |-------------------------------------------------------------------------- Code: <?php
[eluser]Jose Dueñas[/eluser]
Thanks for your reply a&w;. I'm not using htacess and the content of my route.php file is: Code: $route['default_controller'] = "inmo"; And, of course, I have the controller inmo.php with this: Code: <?php I need anymore file? I couldn't guess what's the problem. I've attached an image showing my directories tree. Thanks again!
[eluser]Jose Dueñas[/eluser]
Ok, I've already found the solution. I had: $config['base_url'] = ''; so I changed it to: $config['base_url'] = 'http://localhost:8888/inmo/'; And now it works. Thanks! |
Welcome Guest, Not a member yet? Register Sign In |