New modul. Problem with page

Hello,
I try created new modul.

Log:

DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/settings/models/Mdl_versions.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/controllers/../modules/layout/controllers/Layout.php
DEBUG - 2024-11-03 21:26:08 --> Layout MX_Controller Initialized
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/clients/models/Mdl_clients.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/layout/views/alerts.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/clients/views/partial_client_table.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/clients/views/index.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/layout/views/includes/head.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/filter/views/jquery_filter.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/layout/views/includes/navbar.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/layout/views/includes/fullpage-loader.php
DEBUG - 2024-11-03 21:26:08 --> File loaded: /home/@hide@/public_html/application/modules/layout/views/layout.php
DEBUG - 2024-11-03 21:26:08 --> Total execution time: 0.0223
DEBUG - 2024-11-03 21:26:18 --> UTF-8 Support Enabled
DEBUG - 2024-11-03 21:26:18 --> Global POST, GET and COOKIE data sanitized
ERROR - 2024-11-03 21:26:18 --> 404 Page Not Found: ../modules/projectslist/controllers//index
#### 404 Page Not Found

The page you requested was not found

.

Why?

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-caret-down"></i> &nbsp;
                        <span class="hidden-md"><?php _trans('quotes_projects'); ?></span>
                        <i class="visible-md-inline fa fa-users"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><?php echo anchor('projectslist/form', trans('add_client')); ?></li>
                        <li><?php echo anchor('projectslist/index', trans('view_clients')); ?></li>
                    </ul>
                </li> 

The client module serves as a template for the module being created.

1 Like

This topic is temporarily closed for at least 4 hours due to a large number of community flags.

Hey,

It cannot find the controller to serve your page:
projectslist/controllers//index

I’ll give you example of what the controller would be. Take a look here: application/modules/projects/controllers/Projects.php

I guess with your “projectslist” module it would be:
application/modules/projectslist/controllers/Projectslist.php
See if that helps.

Do you have your code on github? It might be easier to see there

Hello, thank you for your interest.

My testing module is provided based on the client module.

Please see:
application

I try create projects for offers

1 Like

Rename projectslist.php to Projectslist.php and retry. If that doesn’t work, rename that file to ProjectsList.php

No. Still 404 Page Not Found.
Maybe something else needs to be changed

I’m not behind a PC right now. I’ll take a look this weekend.