Error the requested URL was not found on this server

Hello, I am currently a beginner in codeiginiter and I need to deliver a project CRUD in college, so far I made connection with the bank, I listed everything. But when I click on add new the error occurs, I believe it is Settings error.. So when I click on The Register new, which is in the add.php, the error occurs, do not even know what else to do... Next:

ERROR THIS HERE: http://prntscr.com/kz21eg

Config.php http://prntscr.com/kys0jm

Controllers/Status.php

load->model('estado_m', 'm'); } function index(){ // "estados" é referência ao armazenamento de tudo que vier de "estado" $data['estados'] = $this->m->getEstado(); $this->load->view('layout/header'); $this->load->view('estado/index', $data); $this->load->view('layout/footer'); } // Agora vou criar a Função adicionar novo registro public function add(){ $this->load->view('layout/header'); $this->load->view('estado/add'); $this->load->view('layout/footer'); } } models/Estado_m.php db->get('estado'); if($query->num_rows() > 0){ return $query->result(); }else{ return false; } } } views / status / add.php

Adicionar Estado

" class="btn btn-success">Página Principal
views / Status / index.php "class=" btn btn-success " >register new Code Name Acronym Established Options
            <tr>
                <td><?php echo $estado->idestado; ?></td>
                <td><?php echo $estado->nome; ?></td>
                <td><?php echo $estado->sigla; ?></td>
                <td><?php echo $estado->criado; ?></td>
                <td>
                    <a href="" class="btn btn-primary">Alterar</a>
                    <a href="" class="btn btn-danger">Excluir</a>
                </td>
            </tr>

            <?php 
                    }
                }    
            ?>

        </tbody>

    </table>
</code>
Author: Demetrius Reis, 2018-09-26

1 answers

Solved the problem, it was error with mod_rewrite.

Thank you for your attention!

 0
Author: Demetrius Reis, 2018-09-27 02:48:00