Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] is it something wrong?
#1

[eluser]nuclearmaker[/eluser]
what is the problem with this code?

Code:
$this->load->library('simplepie');
        require(APPPATH.'libraries/simplepie_youtube.inc');
#2

[eluser]InsiteFX[/eluser]
Try this:
Code:
require(APPPATH.'libraries/simplepie_youtube.inc');

$this->load->library('simplepie');

InsiteFX
#3

[eluser]nuclearmaker[/eluser]
im still getting blank page
#4

[eluser]Jaketoolson[/eluser]
does that file have a .php extension?
Code:
require(APPPATH.'libraries/simplepie_youtube.inc.php');
#5

[eluser]nuclearmaker[/eluser]
no .php extension.
but no problem in plain php, if i use
Code:
require(APPPATH.'libraries/simplepie_youtube.inc');
#6

[eluser]LuckyFella73[/eluser]
Like Jaketoolson allready hinted:
Your library has to have the ".php" file extension!
The loader class assumes that libraries are files
with that extension ("EXT" is defined as ".php" in index.php).




Theme © iAndrew 2016 - Forum software by © MyBB