Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter v4.5.5 bug fix released
#8

(This post was last modified: 10-11-2024, 09:33 AM by kwangu.)

I manage to CI 4.5.5 using composer and it works fine except when I try to make HMVC its when am encountering an error Invalid file. module view its not loading e.g Modules/Shop/Views/shops.php does not load as if the file doesn't exist but its there

..but when I move the fie to main view folder App/Views/index.php it works. below is my code
public function index()
{
return view('Shop/index');
}
The above code does work trying to load view file fin shop module but when I move the file to main view as show above it loads
public function index()
{
return view('index');
}
Am wondering why is controller able to be recognized but view its not
Reply


Messages In This Thread
CodeIgniter v4.5.5 bug fix released - by kenjis - 09-07-2024, 01:57 AM
RE: CodeIgniter v4.5.5 bug fix released - by kwangu - 10-11-2024, 09:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB