404 Error when adding/updating or deleting event

Hello,

i have to implement the Scheduler for a website running under CodeIgniter and Doctrine with multi-user.
Now, I can view the events which are already in the database, but I cant add, update or delete events, when I try to, I got a JS alert() with HTML code for a 404 error.

Here is my code :
Controller

[code]<?php

class Calendar extends Controller {

function Calendar()
{
	require_once('_js/calendar/codebase/connector/scheduler_connector.php');
	parent::Controller();	
}

function index()
{
	$data['main_content'] = 'home/calendar';
	$this->load->view('template',$data);
}

function student($student)
{
	$data['main_content'] = 'home/calendar';
	$this->load->view('template',$data);
}

function refresh($student)
{
	$res = mysql_connect($host, $login, $pwd);
	mysql_select_db($db);
	$student_id = intval($student);
	$scheduler = new schedulerConnector($res);
	$scheduler->enable_log("log.txt",true);
	$scheduler->render_sql("select * from events where userId = ".$student_id,"event_id","start_date,end_date,event_name,details");
}

}[/code]

in the view :

[code]

[/code]

i got the $student_id in the uri : website/calendar/student/2

I don’t have any error in the log.txt :frowning:

The code of connector and client side looks correct.
Probably issue caused by some problem with CodeIgniter path mapping.