• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ROOT_PATH

#1
pls help!

Been trying to solve this error message below,

Warning: include(C:\xampp\htdocs\blog\blog\admin\topics\app\includes\adminHeader.php): failed to open stream: No such file or directory in C:\xampp\htdocs\blog\blog\admin\topics\create.php on line 25

Warning: include(): Failed opening 'C:\xampp\htdocs\blog\blog\admin\topics\app\includes\adminHeader.php' for inclusion (include_path='.:/path/you/installed/pear/to/') in C:\xampp\htdocs\blog\blog\admin\topics\create.php on line 25.


I am trying to set a root path for my header and sidebar. 
Reply

#2
If they are headers and sidebars they should be placed in the Views folder.

app/Views/include/your_files.php

Then you load them as view files.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.