CodeIgniter Forums
Unable to load the requested file: headers/login_nav.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Unable to load the requested file: headers/login_nav.php (/showthread.php?tid=73700)



Unable to load the requested file: headers/login_nav.php - arnekick - 05-23-2019

First Is there maybe a discord to ask for help?
Second
These are the partials im using for my template

[Image: gbthse1lhzz21.png]
Now im getting this error

[Image: ljoczkiohzz21.png]
Is there a way to fix this or get more error log so i know what the problem is?


RE: Unable to load the requested file: headers/login_nav.php - InsiteFX - 05-23-2019

We need more information for one template is not CodeIgniter.

CodeIgniter uses views even for partials.

application/views
-- partials
---- login_nav.php
---- inlogscharm.php
---- login_footer.php
-- main_master.php

PHP Code:
$data = ['title' => 'This Page'];

$this->load->view('partials/login_nav'$data);
$this->load->view('partials/inlogscharm'$data);
$this->load->view('main_master'$data);
$this->load->view('partials/login_footer'$data); 

We have no idea what type of template you are using.


RE: Unable to load the requested file: headers/login_nav.php - arnekick - 05-24-2019

(05-23-2019, 03:10 PM)InsiteFX Wrote: We need more information for one template is not CodeIgniter.

CodeIgniter uses views even for partials.

application/views
-- partials
---- login_nav.php
---- inlogscharm.php
---- login_footer.php
-- main_master.php

PHP Code:
$data = ['title' => 'This Page'];

$this->load->view('partials/login_nav'$data);
$this->load->view('partials/inlogscharm'$data);
$this->load->view('main_master'$data);
$this->load->view('partials/login_footer'$data); 

We have no idea what type of template you are using.

Hi i found the solution yesterday before this post showed up. But the solution was that the view files needed the correct permissions i think its called public read in filezilla in order to be loaded.