[EventCalendar] Fatal Error with Big Calendar

Rick Boatright rboatright at gmail.com
Mon Oct 27 20:22:38 UTC 2008


ok then,   away evil pointers....

Rick


On Mon, Oct 27, 2008 at 2:39 PM, Marc Griffin <marc at overallquilter.com>wrote:

> I think you might be right. This site is hosted on 1and1 ... and I've had
> problems like this before.
>
> Anyway, I deleted the & from eventcalendar3.php line 359, day.php line 72
> and template-functions.php line ... ? (I forgot) and it successfully
> activated.
>
>
> On 10/27/08, firetree_ec3 at spamex.com <firetree_ec3 at spamex.com> wrote:
>>
>> It's probably a PHP version conflict.
>> I use PHP 5.2.X, and use the & all the time (even though I don't need to)
>> for clarity.
>>
>> catchall account
>>
>> On Oct 27, 2008, at 3:22 PM, Rick Boatright wrote:
>>
>> This works for me...
>>
>> The offending line says:
>>
>> foreach ($day->events as $key=&$val) {
>>
>> which is attempting to use a POINTER to the day events array.
>>
>> I'm not sure what is the current best practice here.    I can certainly
>> delete the &.
>>
>> Guys????
>>
>> Rick
>>
>>
>> On Mon, Oct 27, 2008 at 2:04 PM, Marc Griffin <marc at overallquilter.com>wrote:
>>
>>> Hello Again,
>>>
>>> Everything works fine on my local copy of the web site, but when
>>> attempting to upgrade the live site, I get the following fatal error when
>>> activating the 3.1.2.bigcal.1 plugin:
>>>
>>> *Parse error*: syntax error, unexpected '&', expecting T_VARIABLE or '$'
>>> in *
>>> /homepages/29/d107127458/htdocs/overallquilter/wp-content/plugins/event-calendar-big/eventcalendar3.php
>>> * on line *359
>>>
>>> *I am unable to duplicate the error on my local copy*.
>>>
>>> *Any help is appreciated!
>>>
>>> Marc
>>>
>>> _______________________________________________
>>> Blog: http://wpcal.firetree.net/
>>> EventCalendar at firetree.net mailing list
>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>
>>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
>>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20081027/faeb7cc9/attachment.htm


More information about the EventCalendar mailing list