[TYPO3] TYPO3 Calendar

Livius Agrippa livius_agrippa at yahoo.com
Mon Jan 30 08:44:55 CET 2006


Hi Mario,

I have played few hours with this extension and I found some problems.
I will take one by one and discuss this problem. Maybe I will make some 
mistakes but I just want to give you some feedback.

1. I saw that it is a problem with database. Every time when I try to 
check the extension in Extension Manager menu entry:
Update needed:
Changing fields
	ALTER TABLE tx_cal_phpicalendar_events CHANGE freq freq varchar(128);
	Current value: varchar(128) default ''
	ALTER TABLE tx_cal_phpicalendar_events CHANGE byday byday varchar(128);
	Current value: varchar(128) default ''
	ALTER TABLE tx_cal_phpicalendar_events CHANGE bymonthday bymonthday 
varchar(128) default '' ;
	Current value: varchar(128) default ''
	ALTER TABLE tx_cal_phpicalendar_events CHANGE bymonth bymonth varchar(128);
	Current value: varchar(128) default ''

I think you should change in the ext_tables.sql the following lines:
	freq varchar(128),
	byday varchar(128),
	bymonthday varchar(128) DEFAULT '' ,
	bymonth varchar(128),
in
	freq varchar(128) DEFAULT '',
	byday varchar(128) DEFAULT '',
	bymonthday varchar(128) DEFAULT '',
	bymonth varchar(128) DEFAULT '',
For me this problem disappeared.

2. I have 2 same web sites installed at home and also on one web hosting:
Home configuration: Windows XP + apache 2.0.54 + php 5.0.4 + mysql 
4.1.13 + Typo 3.8.0 and in FE appears this error:
Fatal error: Cannot redeclare class tx_cal_calendar in <typo3 
folder>\typo3conf\ext\cal\controller\class.tx_cal_calendar.php on line 30

On the web hosting the operating system is Linux and the rest of the 
configuration is almost the same + Typo 3.8.0 and it appears 2 errors:
a. in BE when I press the List menu entry in all the pages not only in 
"calendar" sys-folder:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL 
result resource in <typo3 folder>/t3lib/class.t3lib_db.php on line 754

Warning: Cannot modify header information - headers already sent by 
(output started at <typo3 folder>/t3lib/class.t3lib_db.php:754) in 
<typo3 folder>/template.php on line 601

b. in FE in the page where I have inserted calender extension:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL 
result resource in <typo3 folder>/t3lib/class.t3lib_db.php on line 741

Warning: Cannot modify header information - headers already sent by 
(output started at <typo3 folder>/t3lib/class.t3lib_db.php:741) in 
<typo3 folder>/tslib/class.tslib_fe.php on line 2612
but the design of calender appears.

I hope this information will help you. I will wait your next version of 
this extension because I think this extension is very powerful and very 
good looking.

Best regards,
Livius


Mario Matzulla wrote:
> Hi Livius,
> 
> can you give me more details about your installation. I have tested the
> extension on TYPO3 3.8 to TYPO3 4.0beta2.
> 
> Regards,
> Mario
> 
> Livius Agrippa wrote:
>> Hi Mario,
>>
>> Your extension looks very promising but I tried to install this and it
>> appeared an error.
>> Fatal error: Cannot redeclare class tx_cal_calendar in
>> <typo3>\typo3conf\ext\cal\controller\class.tx_cal_calendar.php on line 30
>> Do you know how to avoid this?
>>
>> Best regards,
>> Livius
>>
>> Mario Matzulla wrote:
>>
>>> Hi list!
>>>
>>> I have uploaded a new calendar extension: cal
>>>
>>> Some people might think: "Not another calendar again". But hopefully
>>> with YOUR help this will become THE calendar.
>>>
>>> Please have a look at it and tell me what you think (here or at the
>>> calendar NG).
>>>
>>> The features:
>>> - full recurring event support
>>> - private and public events
>>> - subscribe to events
>>> - and all the other stuff a calendar needs... :)
>>>
>>> Cheers,
>>> Mario



More information about the TYPO3-english mailing list