Questions tagged [codeigniter-hmvc]

CodeIgniter library for creating modular extensions.

CodeIgniter library for creating modular extensions.

125 questions
11
votes
4 answers

How to implement HMVC in codeigniter 3.0?

Currently I'm using codeigniter version 3.0. I want to know how to implement HMVC structure in it, can anyone help?
9
votes
1 answer

Codeigniter HMVC + ion_auth trouble loading the config items

I have been banging my head for 5 hours and I finally solved the problem but I just cannot go to sleep without knowing the reason. Let me explain the issue first. I have used codeigniter HMVC extension and installed ion_auth as a separate module.…
Fawzan
  • 4,738
  • 8
  • 41
  • 85
8
votes
2 answers

Codeigniter 3 Session not working With PHP 7.1.4

I have an application built with Codeigniter 3 HMVC.The application was working fine on PHP 5.6 version, But after upgrading my PHP version to 7.1.4 I was not able to log in into my application. After a complete checkup I found that session is not…
A1ft
  • 307
  • 1
  • 4
  • 11
7
votes
5 answers

How to add modular extension wiredesignz to codeigniter 3.0

I'm trying to add third party extension to create a HMVC application using Codeigniter 3.0 But when I'm adding MY_Loader and MY_Router files into the core folder and MX folder in the Third_party folder, it generates a fatal error: Fatal error:…
Ganesh Aher
  • 1,118
  • 3
  • 21
  • 51
7
votes
2 answers

Codeigniter HMVC from CLI: not entering controller

I'm trying to run code from the CLI just as said in the CI documentation, but for some reason, maybe because of using the HMVC extension, it won't enter the specified controller. I have found no additional documentation about CLI execution in the…
luis.ap.uyen
  • 1,314
  • 1
  • 11
  • 29
3
votes
1 answer

Codeigniter URL issues in routes.php

In my application fornt end is MVC and backend HMVC. I have an issue in backend urls.I define all my front end urls in routes.php.(not backend) like this $route['(.+)/(.+)/(.+)'] = "homes/abc/$1"; But this affect my backend working(case 3 parameter…
robins
  • 1,668
  • 6
  • 33
  • 69
3
votes
1 answer

CodeIgniter routing link in routes.php

I am confused when I try to route from localhost/admin to localhost/index.php/admin localhost/index.php/admin - this link working fine. I have tried: $route['admin'] = 'index.php/admin'; $route['default_controller'] =…
abhishek
  • 47
  • 6
3
votes
1 answer

Codeigniter need to connect from one module to another

I want to connect from one controller in one module to another controller in another module. I want to go from my login module to my dashboard module and use a function inside the dashboard module. Just basically switch from my login module to my…
Earl Gile
  • 73
  • 3
  • 9
3
votes
1 answer

code igniter Modular Extensions - Access level to MX_Router::_set_default_controller() must be public (as in class CI_Router)

I get the popular Modular Extensions - HMVC installed from https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc and set it up with codeigniter 2.2.2 BUT when everything should be working fine, I get this error Access level to…
Nassim
  • 2,879
  • 2
  • 37
  • 39
3
votes
1 answer

Best way to debug my way through a newly acquainted large PHP app and detect dead code?

Today I am faced with a spaghetti of some new unknown code for a webservice, and I need to make sense of it. The code is using CodeIgniter with a HMVC extension which helps, but the problem is that it contains many unused/old/etc... files/folders.…
Crocodile
  • 5,724
  • 11
  • 41
  • 67
3
votes
2 answers

Why HMVC instead of MVC for Codeigniter?

I searched HMVC and know what it is and its advantages. Modularization: Reduction of dependencies between the disparate parts of the application. Organization: Having a folder for each of the relevant triads makes for a lighter work…
kalaba2003
  • 1,231
  • 3
  • 20
  • 33
3
votes
0 answers

How can I setup PHPUnit for a CodeIgniter project with HMVC

I have a project in CodeIgniter 2.1.3 using HMVC. How can I setup PHPUnit for a CodeIgniter project with HMVC?
ThiagoKrug
  • 95
  • 1
  • 4
2
votes
1 answer

Image error in hmvc CodeIgniter

Image Location : application / modules / user / views / img / food.jpg and my script : Can you tell me the best way to show the image profile ?
Gusti Erlangga
  • 69
  • 1
  • 12
2
votes
4 answers

how to access library in CI HMVC?

my current controller & library are listed follow... >application/ - config/ - controllers/ - ... - models/ - modules/ - module1/ - controllers/ - Test_cont.php - models/ - views/ - libraries - Test_lib.php …
Amin
  • 681
  • 4
  • 9
  • 27
2
votes
1 answer

Codeignither Form validation error HMVC

I am doing a form on Code Ignither 3 HMVC each time I try to save the items in the form I get validation error for three of the form fields out off four. Please see view file for my code: `">
bsquad
  • 66
  • 8
1
2 3
8 9