425 questions
1
vote
1
answer
1k
views
CodeIgniter 4 with hmvc
I'm trying to work with HMVC in CodeIgniter 4. I worked with it previously but in version 3.10. I can't find the HMVC plugin for CI4.
I want to work with modules for each class and add their ...
0
votes
1
answer
219
views
Calling module controller function from page formulary in CodeIgniter 4.1 HMVC
I'm working in an application HMVC CodeIgniter 4.1, all the routes work fine in navigator:
Navigator adress: http://localhost/myapp/public/index.php/installation/shop-data
My module Routes file ...
1
vote
1
answer
1k
views
Cannot load view from HMVC/Modules Codeigniter4
When I load view from App/Views it's worked but when it's from modules folder it's failed
My autoload
public $psr4 = [
APP_NAMESPACE => APPPATH, // For custom app namespace
'Config' =&...
0
votes
0
answers
73
views
How to create sub modules inside modules folder in CI HMVC design Pattern?
I use CI HMVC design pattern. Currently, this is my module structure:
modules/auth/controllers/backend/Auth.php
modules/auth/models/
modules/auth/views/backend/standart/administrator/login.php
modules/...
0
votes
1
answer
2k
views
Message: Session: Configured save path 'C:\Windows\Temp' is not writable by the PHP process
Codeigniter HMVC application is working fine on Linux hosting and xampp local server but after uploading on Plesk windows hosting it's throwing error. I have tried everything to fix it but still got ...
0
votes
0
answers
196
views
Class not found error in Modules.php: Codeigniter
My project use Codeigniter 2.1.4(HMVC) and all of the sudden I am getting following error while calling any controller:
PHP Fatal error: Class 'Fb_function' not found in
/var/www/html/FB_W/...
0
votes
2
answers
249
views
codeingter3 HMVC 'default_controller' is not working
I am using CI3 HMVC in my project. Now, I am facing problem with routing. I want user to type www.demosite.com and it would automatically call my home module. I do not want to show like www.demosite....
0
votes
1
answer
81
views
auth_override_class_method_http not working with HMVC
Hi I have a config setting like below:
$config['auth_override_class_method_http']['admin']['auth']['post'] = 'none';
I am using this library for my HMVC: https://bitbucket.org/wiredesignz/codeigniter-...
-2
votes
1
answer
1k
views
Codeigniter 4 Modules not working properly
I have been trying to setup codeigniter 4 modules but it seems something is not working properly
it takes me to 404 or not found.
i have gone through this doc : https://codeigniter4.github.io/...
-1
votes
2
answers
460
views
How to use submodules in codeigniter HMVC?
I want to use submodules Codeigniter HMVC. I want to create the following structure in my project.
modules
│ ├── module1
│ │ ├── admin
│ │ │ ├── controllers
├────── Home....
0
votes
1
answer
114
views
Can i use xampp to open my hmvc codeigniter project on mobile?
I have made a web application to store patient records for a doctor and i am using xampp to host it locally.Using xampp i can access my login page of the application just fine by putting my pc's ip ...
5
votes
5
answers
11k
views
Codeigniter 3 HMVC has been broken
Using this HMVC plugin in Codeigniter. (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src/codeigniter-3.x/)
Running fine in another server, but in this server I am getting ...
1
vote
1
answer
1k
views
How to get Modules Name in HMVC Codeigniter
I have a couple of controllers in two modules with same name and both works fine. also i have a function for checking access permission, it uses $this->router->fetch_class(). problem is $this-&...
0
votes
0
answers
88
views
Keep module name in url of hmvc codeigniter
I have integrated hmvc in codeigniter 3.1.*. I have multiple modules locations so now i want url configuration like
http://host_name/module_location_name/module_name/controller/method
In details,
...
0
votes
0
answers
398
views
Simple Codeigniter + HMVC working but how can i working with multiple CI instance like admin and front
First of thank you for my help. I am using CI.3.0 ver. I am using simple CI with HMVC but when i am creating seperate CI then it will not work can any one help me.
MY actutal URL
http://localhost/cms/...
1
vote
1
answer
4k
views
Multi tenancy in codeigniter with different databases selected through sub-domains
I was actually trying to implement SaaS architecture in Codeigniter with single Code-base and multiple databases...
To be clear, consider the following example :
I've 3 clients namely client_1, ...
1
vote
2
answers
754
views
CodeIgniter 3 HMVC ERROR "Unable to locate the specified class: Session.php"
I have a Problem With CodeIgniter 3 HMVC (I use CI 3.1.9 AND php 7.3), When I Create
MYX3_Controller extends MX_Controller
And i call show_404(); In my Method Will show
ERROR "Unable to locate ...
0
votes
2
answers
533
views
How to display filtered database values in HTML table using a dropdown list in CodeIgniter?
I am new to CodeIgniter and the HMVC framework and I am creating a sample test image dropdown in order to get a blueprint on how to solve the big project that I have on due this week. My question is, ...
0
votes
2
answers
745
views
Call to a member function item() on null MX/Modules.php Line Number: 8 ckeditor and kcfinder
I have trouble about ckeditor and kcfinder in codeigniter, i used HMVC from
wiredesignz
codeigniter-modular-extensions-hmvc, when i want to browse images error like this
Fatal error: Call to a ...
0
votes
1
answer
739
views
CODEIGNITER dependent dropdown is not showing selected value when update
I'm a beginner in javascript. I have a dependent dropdown, my problem is that in dependent dropdown when someone is editing, while editing the dropdown is not automatically selected. Here is my form ...
0
votes
0
answers
141
views
Could not get the home page using code-igniter HMVC pattern
I am facing one issue. I could not get the home page while using CodeIgniter HMVC pattern and the below error is coming.
404 Page Not Found
The page you requested was not found.
I am providing my ...
1
vote
1
answer
552
views
In PHP / CodeIgniter more than one transaction started without completing the other; Such as nested transaction
I am using HMVC in Codeigniter
Which have model of inv_module and one is common model
Firstly the $this->inv_module->model stores some data in the database, with the mysql transaction;
then ...
0
votes
0
answers
82
views
HMVC - Adding multiple models
modules
--customers
----controllers
-------customers.php
----models
-------customers_model.php
-------handler_model.php
Hi im trying to load two models in my controllers by using this:
class ...
0
votes
2
answers
2k
views
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 ...
0
votes
1
answer
248
views
how to pass data from controller to custom hooks in codeigniter3
I have a hooks class in my app where I want to send my session data from my controller. but I am having problem passing data. I don't know whether is it possible to send data from controller to hooks.
...