[eluser]amites[/eluser]
Hello,
to jump right to it I'm having trouble with my first CI site and am running into 2 challenges that are giving me trouble
the first is that the CSS is not rendering once I switched from a local windows server to a Linux server
I updated the config.php to reflect the new root URL, I've checked the code and it is rendering the link properly
the other is an error that is showing up with the parser,
Fatal error: Call to a member function parse() on a non-object in /system/application/views/rsvp.php on line 7
which looks like:
Code:
<?php
$this->load->library('parser');
$data = array(
'title' => 'RSVP',
'header' => ''
);
$this->parser->parse('partial/header', $data); // Line 7
$this->load->view('partial/menu');
?>
the control is:
Code:
<?php
class Rsvp extends Controller {
function Rsvp(){
parent::Controller();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('validation');
}
function index(){
// set validation rules
$rules['name']="required";
// more rules
$this->validation->set_rules($rules);
if ($this->validation->run()==FALSE){
$this->load->view('rsvp');
} else{
// display success web page
$this->load->view('validator_success');
}
}
}
?>
any thoughts will be greatly appreciated