mediawiki-extensions / mw-calendar

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

I can't install the calendar #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
created "extensions/Calendar" and uploaded all of the files into that 
directory.

Modified LocalSettings.php with:
require_once("$IP/extensions/Calendar/Calendar.php");

// Puts events into their own namesspace/group (not included in 'main' 
searches... etc)
$wgExtraNamespaces[100] = "Calendars";
$wgExtraNamespaces[101] = "Calendars_talk";
//Note: 'Calendars' is an example, please feel free to use whatever name 
you wish

// Puts the events into Subpages (allows a quick link back to primary 
calendar)
$wgNamespacesWithSubpages[100] = true;
$wgNamespacesWithSubpages[101] = true;

$wgCalendarForceNamespace='Calendars';

then, when I try to load the wiki, I get a PHP error message:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /**/wiki/extensions/Calendar/common.php on 
line 7

Original issue reported on code.google.com by copper.h...@gmail.com on 21 Oct 2009 at 1:12

GoogleCodeExporter commented 8 years ago
You running MW 1.14 or higher?

Original comment by kenyu73 on 21 Oct 2009 at 1:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
mediawiki-1.6.12, it was the latest version that still works with php4 (my host 
doesn't 
support php5 yet).

Original comment by copper.h...@gmail.com on 21 Oct 2009 at 1:29

GoogleCodeExporter commented 8 years ago
That's the issue then, sorry. The calendar uses 1.14 API calls. You'll need to
upgrade to use it.

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

GoogleCodeExporter commented 8 years ago
okay, thanks, I thought that might be the issue but wasn't sure.

Original comment by copper.h...@gmail.com on 21 Oct 2009 at 1:36

GoogleCodeExporter commented 8 years ago

Original comment by kenyu73 on 16 Nov 2009 at 10:56