Error of routes in php

0

I started developing a system using the codeigniter framework 3. In localhost I had no problems with routes, however after I put the system on the server began to show problems in the routes for the views.

Problem:

  

404 Page Not Found

I inspected the code by the browser and in the network tab, clicking on the link that directs the view, presents the same problem.

Note: The file config.php has been changed, in which I changed the line from the code $config['base_url'] to get the url from the server.

Php 5.6 is installed.

Follow the file .htaccess

RewriteEngine on
RewriteCond $1 !^(index\.php|assets|images|js|css|uploads|favicon.png)
RewriteCond %(REQUEST_FILENAME) !-f
RewriteCond %(REQUEST_FILENAME) !-d
RewriteRule ^(.*)$ ./index.php/$1 [L]

Here is a code with the links to the views:

 <ul class="treeview-menu">
                        <?php if($this->session->userdata("perfil") == 1): ?>
                            <li><a href="<?php echo base_url();?>manutencao/categorias"><i class="fa fa-circle-o"></i> Categorias</a></li>
                            <li><a href="<?php echo base_url();?>manutencao/clientes"><i class="fa fa-circle-o"></i> Clientes</a></li>
                            <li><a href="<?php echo base_url();?>manutencao/produtos"><i class="fa fa-circle-o"></i> Produtos</a></li>
                            <li><a href="<?php echo base_url();?>manutencao/responsaveis"><i class="fa fa-circle-o"></i> Responsáveis</a></li>
                        <?php endif; ?>
                        <li><a href="<?php echo base_url();?>manutencao/ordens"><i class="fa fa-circle-o"></i> Ordens de Serviço</a></li>
                    </ul>

Thank you.

    
asked by anonymous 25.01.2018 / 13:46

0 answers