Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Calendar Base Extension > Depopulated Dialog Boxes
Total Posts: 11 - Pages (2): [1] 2
user picture Author: Calum MacLeod
Posted: Apr 28 2008 - 12:56 PM
Subject: Depopulated Dialog Boxes
When I look at my list of 50 calendar-event records shown in my calendar system folder (calstore), I find that all the items are listed as expected in the form below:

11-09-08 10:50: Remembrance Service V
10-05-08 18:30: Communion V
10-05-08 11:15: Communion V
10-03-08 19:30: Kirk Session Prayer Service V
08-03-08 12:45: Salad Lunch V
07-06-08 12:45: Salad Lunch V
06-08-08 12:45: Salad Lunch V
06-01-08 11:15: Communion V
05-30-08 19:30: Kirk Session Prayer Service V
05-18-08 11:15: Sunday School Awards V
05-11-08 11:15: Confirmation V


When looking at the front end rendering, I noticed that, for some reason (which could well have been my own carelessness), some of the items appeared not to have been assigned a category, even though I thought I had done so.

Then, when I clicked onto a random calendar event in order to edit it to include the missing category, I discovered that the name of the event, the dates and times, were missing. The recurrence, location and organiser were retained. The fact that correct dates and times are shown in the labelling of the calendar record prove that the information had already been enterred.

When I press on regardless and re-enter the missing information, all goes well until I attempt to save the record. The "Maybe you need to refresh your login" prompt comes up. Thus, I am prevented from updating the record.

Several records are affected by this malaise. As far as I can tell, the lack of information has not affected the front end view.

As the site is more or less empty apart from odd areas that I am using as a learning platform, there would be not too much inconvenience in starting again. However, I had enterred 50 records, complete with recurrences, recurrence exceptions, location, organiser. I would not like to think that this is going to become too familiar an exercise
Author: Manfred Hungerland
Posted: Apr 28 2008 - 01:24 PM
Subject: re: Depopulated Dialog Boxes
Is the Problem still there when you turn the Caching off for this Pages?

Manfred
user picture Author: Calum MacLeod
Posted: Apr 28 2008 - 05:53 PM
Subject: re: Depopulated Dialog Boxes
Sorry!
My experimental site became unstable and crashed on me, Manfred.
When I have fixed it, I shall return to ask you about switching off caches.
Currently, I do not know how to do that.
I am reinstalling (with the latest wec-typo3 starter pack).
Cheers,
Calum
user picture Author: Calum MacLeod
Posted: May 01 2008 - 05:56 AM
Subject: re: Depopulated Dialog Boxes
I found the cache tick box and have selected different expiry times, etc. - all to no avail.

I have now finished manually restoring my data for the calendar. Event records had lost their links to categories, location and organiser. Categories had lost their links to the specific calendar I was choosing. All is now restored.

However, I have hit the same old problem (cache?) when it comes to viewing. I can view using event, list, day, week, month without problem but when it comes to Year view, this message comes up.
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 20029 bytes) in typo3/sysext/cms/tslib/class.tslib_content.php on line 3007


I could increase the php memory (currently 128Mb) but I have a lot more data to add, so I doubt if that would solve things in the long term. Fifty items seems too small a number to cause problems in a calendar of the aspirations and calibre of Calendar Base.

Cheers,
Calum
Author: Jeff Segars
Posted: May 01 2008 - 09:33 PM
Subject: re: Depopulated Dialog Boxes
Calum,
Are we talking 50 events entered in the backend or just a couple recurring events? Which Calendar Base version are you using?

As for your previous problems with event data not showing up and getting a message about refreshing your login, this generally indicates a Javascript error of some sort on the backend page. You can check your database directly using a tool like phpmyadmin and make sure your data is actually there, but odds are that it is. Most of the time, the problem is a newly installed extension that adds some backend-related functionality. Sorry I didn't see this earlier, but maybe that will help for future reference.

Thanks,
Jeff
user picture Author: Calum MacLeod
Posted: May 02 2008 - 05:38 AM
Subject: re: Depopulated Dialog Boxes
Hi Jeff,
I have version 0.17.2 of Calendar Base installed. Shortly after I first encountered the problem, I made a fresh installation of the starter package and Calendar Base. This problem has now resurfaced in the new installation. I was anticipating it this time

I have about 50, mostly recurrent, items; about a couple of dozen categories and organisers and half a dozen locations. The locations are just different parts of the church premises and I have not included googlemap co-ordinates or whatever for them - merely the label saying Church Hall or Vestry and so forth. This calstore also includes about 10 exceptions to the recurrent items.

Maybe I am not using the Calendar properly -

This is what it looks like:
http://cardonaldparishchurch.com/church/index.php?id=103

Most other calendars that I look at on the web have far fewer items.

Maybe I should split my calendar up into several calendars and then reintegrate them.
I am not clear how possible that might be. Nevertheless, I suspect that fifty recurrent items ought not trouble mysql.

Thanks,
Calum

Author: Manfred Hungerland
Posted: May 02 2008 - 06:11 AM
Subject: re: Depopulated Dialog Boxes
Hi Calum

is it possible that you have ponited the Yearview to a Page that does not exist?
Does it work on your lokal installation? ( Testinstallation )

If you want you could send me a BE-Login and i have a look. ( To the Email in the Profile )
Maybe you should take a diffrent Template / or change width for the Calender view in General.

Shalom
Manfred
user picture Author: Calum MacLeod
Posted: May 02 2008 - 06:45 AM
Subject: re: Depopulated Dialog Boxes
Manfred,
Have sent you a login by email.
I have not tried my settings out on the local site yet.
I only set up the local site a few minutes ago
I would appreciate your having a look at how I have set things up and feel free to correct anything that you think likely to cause a problem.
Thanks,
Calum
user picture Author: Calum MacLeod
Posted: May 02 2008 - 06:14 PM
Subject: re: re: Depopulated Dialog Boxes
Manfred,
Thanks very much for checking my Calendar Base installation.

First, you discovered that there were several events for which I had not enterred categories. Whilst checking through the events to discover which ones had empty category fields, I discovered that the calendar field was empty in one or two as well. All such errors were then corrected.

You demonstrated that when different sets of categories are selected using the filter, the Year View works properly. Thus, it seems to me that you have narrowed the issue down to categories.

I have about 30 categories, divided into 3 large groups and one or two that are smaller. If I selected one parent category, the categories below appear. However, if select a couple of parent categories, such as Seniors and Youth, only or the other appears. It is as if there is a limit to how many recurrent items Calendar Base YEAR VIEW is willing to display together.

Thanks very much for looking at the problem and identifying why the YEAR VIEW might be crashing. I do not think that it can be put down to merely absent categories as I have applied categories to all my events now. Indeed, the problem invariably happens when I pick the option "Show all categories, don't care about selection below". Only if the categories are limited to some extent can they be made to appear.

As the representation at Year View level is in the form of dots, it is possibly not the most useful of views. Although I think it would be nice if more could be done to allow more categories to display at that level, the effort required might not be commensurate with the benefits to be obtained by the user community.

Manfred may have other comments to add or to modify what I have said. I can adjust the use of the Calendar to accommodate the limits that his investigation has help me to identify.

Hope that these comments might help someone else at some point.

Cheers,
Calum
Author: Manfred Hungerland
Posted: May 05 2008 - 02:55 AM
Subject: re: Depopulated Dialog Boxes
Hi Calum

an other way is maybe usefull for you:

I could make different views for the categories.
Let's say a view for all one of the 3 Main Groups or so?

Shalom
Manfred
Total Posts: 11 - Pages (2): [1] 2
You must login to post a message to this conference.