Events dissapears

I have a new problem. This is the first time I have seen it.

I insert 3 events for example, tuesday, wednesday and thursday. If I change views from week to month, to day, to week again, this kind of changes 2 or 3 times, I just see one event. Other 2 events dissapeared.

Any idea??

Which code you are using for adding such events?

Be sure that
a) all events has unique IDs
b) events doesn’t share same object for start of end date

I am using all files as they are on internet. I haven’t change anything. I have discovered that the last event is which stays after the others dissapeared.

My init function is this one:

[code] function init() {
scheduler.xy.margin_top=30;
scheduler.config.multi_day = true;
scheduler.config.xml_date="%Y-%m-%d %H:%i";

	scheduler.config.first_hour = 8;
	scheduler.config.last_hour = 23;


	//define how text inside event bar looks
	scheduler.templates.event_text=function(start,end,event){
		return "Text:<b> "+event.text+"</b><br>"+"Descr."+event.details;
	}


	scheduler.data_attributes = function(){
		var empty = function(a){ return a||""; }
		return [["id"],
				["text"],
				["start_date",scheduler.templates.xml_format],
				["end_date",scheduler.templates.xml_format],
				["rec_type",empty],
				["event_length",empty],
				["event_pid",empty]];
	} 

	scheduler.config.details_on_create=true;
	scheduler.config.details_on_dblclick=true;
	scheduler.init('scheduler_here',null,"week");
	scheduler.load("events.php?uid="+scheduler.uid());
		var dp = new dataProcessor("events.php");
	dp.init(scheduler);


	
}[/code]

Do you need anything else?

Code snippet is correct and must not provide any problems.
Can you provide exact steps, which need to be repeated, to reconstruct the issue.

I edit. I have discovered what was failing. I was :blush: I was using calendar but my database was off so events were deleted. Now all events are shown with no problems

Thanks