Problem with ExtCalendar recurring event
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 29
- Joined: Sun Mar 26, 2006 6:13 pm
Problem with ExtCalendar recurring event
I am using Joomla 1.0.11 and the latest version of ExtCalendar. I've had no difficulties adding single session events. I added a recurring event (a weekly event), but when I saved it, it didn't appear on the monthly view. I went to category view and the category showed an event present - when I click on the category, I this error:
Fatal error: Cannot access empty property in .../com_extcalendar/lib/event.inc.php on line 241
Now I can't move forward to the next month - it gives me the same error.
Any suggestions?
Fatal error: Cannot access empty property in .../com_extcalendar/lib/event.inc.php on line 241
Now I can't move forward to the next month - it gives me the same error.
Any suggestions?
-
- Joomla! Ace
- Posts: 1070
- Joined: Mon Aug 22, 2005 7:53 pm
- Location: Ilkley, West Yorkshire, UK
- Contact:
Re: Problem with ExtCalendar recurring event
Hi, I've not used ext-calendar for recurring events very much I must admit, but I have tried to add a recurring event over the next three months on my test site and had no problem.
You say you are using the latest version of extcal, but don't say which version this is? I'm using Joomla 1.0.11 with ExtCal 0.9.1 with latest events V.0.7.2 and minincal V.0.8.2 Which are you using please?
Also, can you check if the directories that Joomla require to be writable for both components and modules are indeed writable?
You say you are using the latest version of extcal, but don't say which version this is? I'm using Joomla 1.0.11 with ExtCal 0.9.1 with latest events V.0.7.2 and minincal V.0.8.2 Which are you using please?
Also, can you check if the directories that Joomla require to be writable for both components and modules are indeed writable?
My sites: http://dragonrider.co.uk, http://wharfedalefestival.co.uk and several others
-
- Joomla! Apprentice
- Posts: 29
- Joined: Sun Mar 26, 2006 6:13 pm
Re: Problem with ExtCalendar recurring event
Current version is ExtCal 0.9.2 ...
-
- Joomla! Apprentice
- Posts: 29
- Joined: Sun Mar 26, 2006 6:13 pm
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
Re: Problem with ExtCalendar recurring event
Hi,
a search would have given you some results..
what's you line 241 look like?
My best guess is: if ($this->$recur_nextStartStamp) $target_stamp = $recur_nextStartStamp;
comment it out or change that to
if ($this->recur_nextStartStamp) $target_stamp = $this->recur_nextStartStamp;
if you change it, you might want to add a var definition for recur_nextStartStamp further up the file - otherwise you'll get a warning (or just ignore the warning..)
Otto
a search would have given you some results..
what's you line 241 look like?
My best guess is: if ($this->$recur_nextStartStamp) $target_stamp = $recur_nextStartStamp;
comment it out or change that to
if ($this->recur_nextStartStamp) $target_stamp = $this->recur_nextStartStamp;
if you change it, you might want to add a var definition for recur_nextStartStamp further up the file - otherwise you'll get a warning (or just ignore the warning..)
Otto
- bopritchard
- Joomla! Enthusiast
- Posts: 149
- Joined: Tue Oct 04, 2005 11:44 pm
Re: Problem with ExtCalendar recurring event
both of these solutions get rid of the error but not the problem...now all of my recurring events display multiple time per day
http://beaconbaptistpublications.com/in ... &Itemid=44
http://beaconbaptistpublications.com/in ... &Itemid=44
Ottobufonto wrote: Hi,
a search would have given you some results..
what's you line 241 look like?
My best guess is: if ($this->$recur_nextStartStamp) $target_stamp = $recur_nextStartStamp;
comment it out or change that to
if ($this->recur_nextStartStamp) $target_stamp = $this->recur_nextStartStamp;
if you change it, you might want to add a var definition for recur_nextStartStamp further up the file - otherwise you'll get a warning (or just ignore the warning..)
Otto
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
- bopritchard
- Joomla! Enthusiast
- Posts: 149
- Joined: Tue Oct 04, 2005 11:44 pm
Re: Problem with ExtCalendar recurring event
same problem, and it's just in the monthly view
Ottobufonto wrote: http://forum.joomla.org/index.php/topic,92963.0.html maybe...
one quick search in the forums.
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
Re: Problem with ExtCalendar recurring event
just do the suggested fix if its same problem. solved - hooray.
Edit: are you sure you fixed the correct loop? are you sure you fixed it in the print_monthly_view function?
Edit: are you sure you fixed the correct loop? are you sure you fixed it in the print_monthly_view function?
Last edited by Ottobufonto on Tue Oct 03, 2006 4:28 pm, edited 1 time in total.
-
- Joomla! Intern
- Posts: 60
- Joined: Fri Oct 14, 2005 2:39 pm
- Location: Cleveland, OH, USA
- Contact:
Re: Problem with ExtCalendar recurring event
Could someone PLEASE incorporate this fix into the security update?
Stephen
Stephen
- bopritchard
- Joomla! Enthusiast
- Posts: 149
- Joined: Tue Oct 04, 2005 11:44 pm
Re: Problem with ExtCalendar recurring event
mine still isn't fixed...same problem
RSGracey wrote: Could someone PLEASE incorporate this fix into the security update?
Stephen
-
- Joomla! Apprentice
- Posts: 20
- Joined: Thu Oct 05, 2006 12:17 pm
Re: Problem with ExtCalendar recurring event
I am currently using ExtCal 0.9.2, and the latest mods (mod_extcalendar_latest-0.7.2.6 and mod_extcalendar_minical_0_8_3_RC2) and I am getting the same error as the OP:
Fatal error: Cannot access empty property in C:\PATH\Site\components\com_extcalendar\lib\event.inc.php on line 241
I have changed line 241 of the file and the error is gone but mod_extcalendar_latest-0.7.2.6 shows the same event (weekly) 4 times.
I have tried to find the lines mentioned here: http://forum.joomla.org/index.php/topic,92963.0.html
but they are in 2 places at the extcalendar.php. And since I don't have the problem at the monthly or weekly view, where should I search for a fix for the latest events mod?
Thanks in advance for any help.
Fatal error: Cannot access empty property in C:\PATH\Site\components\com_extcalendar\lib\event.inc.php on line 241
I have changed line 241 of the file and the error is gone but mod_extcalendar_latest-0.7.2.6 shows the same event (weekly) 4 times.
I have tried to find the lines mentioned here: http://forum.joomla.org/index.php/topic,92963.0.html
but they are in 2 places at the extcalendar.php. And since I don't have the problem at the monthly or weekly view, where should I search for a fix for the latest events mod?
Thanks in advance for any help.
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
Re: Problem with ExtCalendar recurring event
evoker,
try this... change line 223 in mod_latest /mod_extcalendar_latest / extcal_latest_func.php
from
$rowsToAdd[] = $thisEvent;
to
$rowsToAdd[] = clone $thisEvent;
something we've fixed in the forge for the latest_module...
Otto
try this... change line 223 in mod_latest /mod_extcalendar_latest / extcal_latest_func.php
from
$rowsToAdd[] = $thisEvent;
to
$rowsToAdd[] = clone $thisEvent;
something we've fixed in the forge for the latest_module...
Otto
-
- Joomla! Apprentice
- Posts: 20
- Joined: Thu Oct 05, 2006 12:17 pm
Re: Problem with ExtCalendar recurring event
Thank you Otto for you reply.
I should propably make another thread about this but after I make a fresh installation of ExtCal I go to the configuration page and get the following error:
Parse error: parse error, unexpected $end in C:\Projects\test\Site\administrator\components\com_extcalendar\admin_settings.php on line 752
Can anyone help me on this?
I should propably make another thread about this but after I make a fresh installation of ExtCal I go to the configuration page and get the following error:
Parse error: parse error, unexpected $end in C:\Projects\test\Site\administrator\components\com_extcalendar\admin_settings.php on line 752
Can anyone help me on this?
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
Re: Problem with ExtCalendar recurring event
There are some open short open tags in that file..
In admin_settings.php some code-blocks begin with "<?" instead of "<?php" -- thus the file can not be parsed correctly (as your server doesn't seem to permit short open tags).
Just edit the file and replace those occurrences... maybe one or two IIRC.
Otto
In admin_settings.php some code-blocks begin with "<?" instead of "<?php" -- thus the file can not be parsed correctly (as your server doesn't seem to permit short open tags).
Just edit the file and replace those occurrences... maybe one or two IIRC.
Otto
-
- Joomla! Apprentice
- Posts: 20
- Joined: Thu Oct 05, 2006 12:17 pm
Re: Problem with ExtCalendar recurring event
Thanks again Otto,
that did the trick!!
One last thing, as I said I use Joomla (latest version) and at the admin, when I try to edit or create a new category the extcal table appears above the joomla admin menu.
Could I ask for your help on this issue again plz?
Thank you in advance.
that did the trick!!
One last thing, as I said I use Joomla (latest version) and at the admin, when I try to edit or create a new category the extcal table appears above the joomla admin menu.
Could I ask for your help on this issue again plz?
Thank you in advance.
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
Re: Problem with ExtCalendar recurring event
We should rename this into the universal Extcal bug fix thread :-)
Ok edit admin.extcalendar.php and look for function editCategory and function newCategory.
Comment out
pagefooter();
at the end of each function.
Ok edit admin.extcalendar.php and look for function editCategory and function newCategory.
Comment out
pagefooter();
at the end of each function.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Thu Oct 05, 2006 12:17 pm
Re: Problem with ExtCalendar recurring event
Thanks a lot!
Commenting the footer fixed it
Commenting the footer fixed it
-
- Joomla! Intern
- Posts: 80
- Joined: Fri Aug 18, 2006 6:53 pm
Re: Problem with ExtCalendar recurring event
Now another problem. I added two events, and approved them in the frontend. So, the calendar looked beautifully with them in.
But back to the Latest events module, I got it distorting the whole layout with a row of ...
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 50
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 51
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 50
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 51
So... non well formed numeric value? What can be??
But back to the Latest events module, I got it distorting the whole layout with a row of ...
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 50
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 51
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 50
Notice: A non well formed numeric value encountered in C:\Documents and Settings\All Users\Documentos\Web personal\joomla\modules\mod_extcalendar_latest\extcal_latest_func.php on line 51
So... non well formed numeric value? What can be??
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Tue Sep 06, 2005 10:53 pm
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Sep 12, 2007 4:41 pm
Re: Problem with ExtCalendar recurring event
I was getting an error on that line after moving my site to a new host. Commenting it out worked for me. Thanks OttoOttobufonto wrote: Hi,
a search would have given you some results..
what's you line 241 look like?
My best guess is: if ($this->$recur_nextStartStamp) $target_stamp = $recur_nextStartStamp;
comment it out or change that to
if ($this->recur_nextStartStamp) $target_stamp = $this->recur_nextStartStamp;
if you change it, you might want to add a var definition for recur_nextStartStamp further up the file - otherwise you'll get a warning (or just ignore the warning..)
Otto
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat May 25, 2013 12:05 pm
Re: Problem with ExtCalendar recurring event
Try this:
in components/com_calendar/lib/event.inc.php change line 254:
in:
It fixed those problems 4 me...
in components/com_calendar/lib/event.inc.php change line 254:
Code: Select all
if ($this->$recur_nextStartStamp) $target_stamp = $recur_nextStartStamp;
Code: Select all
if(isset($this->$recur_nextStartStamp)){
if ($this->$recur_nextStartStamp) $target_stamp = $recur_nextStartStamp;
}