Questions tagged [hmvc-codeigniter]
19 questions
32
votes
5 answers
CodeIgniter HMVC object_to_array() error
HMVC : https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/downloads
After downloading CI and copying over the HMVC, I'm getting the following error:
An uncaught Exception was encountered
Type: Error
Message: Call to undefined…

whisky
- 533
- 1
- 6
- 14
1
vote
1 answer
Codeigniter Version Upgradation - 2.1.4 to 3.1.11 in HMVC Structure
In one of our Codeigniter Project we are facing issues while upgrading it's version from 2.1.4 to 3.1.11.
We have followed Codeigniter Official site to upgrade the version but as we have HMVC Structure that method is not working properly.
We have…

Swati Bhardwaj
- 11
- 1
1
vote
4 answers
Removing index.php in Codeigniter HMVC
I am tried to remove index.php in Codeigniter HMVC. But I Could not complete with the following code.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1…

SaranGaneshan
- 35
- 9
1
vote
2 answers
Codeigniter HMVC tutorials
I am looking for online tutorials or books that cover in-depth Codeigniter HMVC. Most of the online tutorials I have found only cover the very installation of HMVC. And I can not find any books at all on Codeigniter HMVC. All help greatly…

Earl Gile
- 73
- 3
- 9
1
vote
1 answer
Codeigniter HMVC modules locations
In my codeigniter application I'm using codeigniter HMVC.
And it works fantastic!
But I want to have 2 modules folders:
one in the application/controllers/ folder
and one in the applications/ folder.
I can't figure out how I need to change the…

Ruben-va
- 11
- 3
0
votes
0 answers
unable to get data from request using HMVC using modules in Codeigniter
This is a function from Codeigniter, built inside application/modules/myrest/controllers/user.php
function user_registration_post()
{
header('Content-type: application/json');
$postdata = file_get_contents("php://input");
…
0
votes
0 answers
Call to undefined function mysqli_init() codeigniter with php hmvc
hello I have a PHP error
Message: Call to undefined function mysqli_init()
/public_html/system/database/drivers/mysqli/mysqli_driver.php
I checked my MySQLi in server and it is working good and I tried to install packages in the server but the…

ahmed althalgy
- 73
- 2
- 9
0
votes
1 answer
Common model in Codeigniter with HMVC
i've been use codeigniter with hmvc pattern.my folder structure is something like below
Now question is how can i use adminw model in common codeigniter model ?
i've common controller which is as follow

TarangP
- 2,711
- 5
- 20
- 41
0
votes
1 answer
how to use core controller
I make a core controller in HMVC Codeigniter and extend with another core controller but when I call these controllers there was an error show controller not found
Core controller:-
class Ugmt_Controller extends User_Controller
{
public…

ajay kumar
- 3
- 3
0
votes
1 answer
Base url in CodeIgniter HMVC lose www in secondary module
I have a question please... this is my project where I use CI 3x HMVC in Linux hosting I have an error:
.htaccess is this:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
Options -Indexes
### Redirigir la URL sin www a con www ###…

user1228739
- 153
- 3
- 19
0
votes
1 answer
Datatables Ajax call in codeigniter module (HMVC)
I'm recently developing a simple php app for a small company, trying to use HMVC codeigniter (MX extension) and tried a first ajax call in the view for data-tables, but it shows no data. Already checked that function in controller and db are working…

Andy Biancoblu
- 23
- 7
0
votes
2 answers
CodeIgniter: Undefined property when calling the model
I use CodeIgniter 3 with HMVC.
Does anyone know why do I get the following error
Severity: Notice
Message: Undefined property: Login::$login_model
On the second line below. I clearly call the model, but for some odd reason it is not linked…

Marius
- 190
- 1
- 9
0
votes
2 answers
Default controller (under modules) not loading under HMVC, CodeIgniter, throws 404 err
Just migrated my CI from localhost to live. Everything works fine on localhost with same settings.
Here're the folder/file structure and contents of…

Kabeirs
- 3
- 3
0
votes
0 answers
Switching between multiple databases using hooks in hmvc codeigniter
I am working with CI3 and I've never ever use hooks before. I have 2 user panel,
Admin (one db)
Users (each user has their own db)
I have a class called switchDatabase in my hooks where I added the following code to switch between multiple…

surma
- 97
- 1
- 9
0
votes
1 answer
$cofig [modules_locations] not loading datatable
I am using HMVC codeigniter 3. I have a folder called admin under and in that folder I have a subfolder called client. In my config file, i have set up the module path like this;
$config['modules_locations'] = array(
APPPATH.'modules/' …

surma
- 97
- 1
- 9