Welcome Guest, Not a member yet? Register   Sign In
Unable to load the requested file: headers/login_nav.php
#1

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?
Reply
#2

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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB