Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 2 with Doctrine 2
#1

[eluser]ephlodur[/eluser]
Hello All,

I trying to use the new Codeigniter 2.0 I have integrate the Doctrine 2 into the the CI 2 but so far
I cannot even load a view ..

I have a simple code in my controller
I have the following:
class Test extends CI_Controller {



function __construct()

{


parent::__construct();

}



function index()

{
$this->load->view('testv')

}
}
Testv is just display some php tag..

here the error that I get when I try to load the page.
---error 1----
A PHP Error was encountered

Severity: Warning

Message: include(/var/www/html/doctrine/application/views/testv.php) [function.include]: failed to open stream: Permission denied

Filename: core/Loader.php

Line Number: 677
----Error 2-------
A PHP Error was encountered

Severity: Warning

Message: include() [function.include]: Failed opening 'application/views/testv.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php')

Filename: core/Loader.php

Line Number: 677

And I'm using php 5.3 on Centos 5.5




Theme © iAndrew 2016 - Forum software by © MyBB