View with Namespace not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: View with Namespace not working (/showthread.php?tid=76698) |
View with Namespace not working - andru3dward - 06-10-2020 Hi, I am trying to create a new view using Namespace but i'm getting an error: Code: CRITICAL - 2020-06-10 14:49:37 --> Invalid file: Applications/Nexus/View/ProductView.php Files schema:
Code: $psr4 = [ Now in Nexus/Controllers i have the Products.php and i'm calling the template with this function: Code: $layout = [ The template function is in app/Common.php and this is a part of the code from function: Code: $adminTpl = ($acp) ? '/admin' : ''; Code: // This If you need more data I will show them. PS: Any help is welcome |