mediawiki-extensions / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 2 forks source link

Trouble with viewing history of a page. #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Wiki Version:1.13.3
Calendar Version:v3.8.2 (8/10/2009)

Problem: First it was working quite well, but when I've added about ten 
events. I've got this message on the screen when I tried to compare two 
versions.

Fatal error: Call to a member function getURL() on a non-object in /var/
www/wiki/wwwroot/extensions/Calendar/common.php on line 172

Original issue reported on code.google.com by olegk...@gmail.com on 20 Aug 2009 at 10:03

GoogleCodeExporter commented 8 years ago
I'll try to reproduce. Thanks for the report!

Original comment by kenyu73 on 20 Aug 2009 at 6:12

GoogleCodeExporter commented 8 years ago
Here is an example of code.
.....
<calendar useeventlist="2" enablerepeatevents="15" charlimit="50" 
lockdown="lockdown"
subscribe="SA:TOWorkingCalendar/TO Calendar" name="TO Calendar" />
.....
But history of the page, where TO Calendar was placed (SA:TOWorkingCalendar) is
viewable without any errors.

Original comment by olegk...@gmail.com on 21 Aug 2009 at 5:56

GoogleCodeExporter commented 8 years ago
Please upgrade to 3.8.3. I reworked that code.. has nothing to do with 10 
events or 
or history. If any of your events has a "period", the code would try to convert 
it 
to an image.

Original comment by kenyu73 on 21 Aug 2009 at 1:34

GoogleCodeExporter commented 8 years ago
;o) I have another little bug.
On the page, where I'm using subscribed calendar I see this message.
...
Notice: Undefined variable: tag_dayweekyear in
/var/www/wiki/wwwroot/extensions/Calendar/Calendar.php on line 396
...
On the page where the calendar is - all right.
I fixed it into .htaccess file (php_flag display_errors Off).
Looks like it's working well. Thank you.

Original comment by olegk...@gmail.com on 21 Aug 2009 at 2:41

GoogleCodeExporter commented 8 years ago
tag_dayweekyear

I forgot to initialize that variable, it's a harmless warning... but will be 
fixed in
the next release.

Original comment by kenyu73 on 21 Aug 2009 at 2:51

GoogleCodeExporter commented 8 years ago

Original comment by kenyu73 on 15 Sep 2009 at 7:10