CodeIgniter Forums
'Unable to load the requested file' error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: 'Unable to load the requested file' error (/showthread.php?tid=10739)



'Unable to load the requested file' error - El Forum - 08-11-2008

[eluser]schidy[/eluser]
I call the below function,
parser.parse(var1, var2, TRUE, TRUE ) with the folowing arguements.
var1 : a variable with the html tags.
var 2: array which has datas to be replaced in to var1.

On calling this function I get 'Unable to load the requested file' error.Kindly help.


'Unable to load the requested file' error - El Forum - 08-11-2008

[eluser]xwero[/eluser]
How do you call it, where is the function stored and does the function contain filesystem functions?


'Unable to load the requested file' error - El Forum - 08-11-2008

[eluser]schidy[/eluser]
How do you call it, where is the function stored and does the function contain filesystem functions?
----------
I call it from my main controller class to generate a piece of dynamically updated html code.
And then i insert this code in to the main html file.

parser class and parse method are in code igniter libraries folder.

The error is generated from code igniter, Loader->_ci_load(..) method. I could not understand this method clearly.