[06:35:44] hi, I was going to see if I could get some help with my installation of semantic mediawiki. I am trying to get the calendar working but I had some trouble and now any webpage that has semantic formatting on it comes up blank [06:38:38] UCSDgradstudent: sounds like you have some php error - check the logfiles for details [06:38:51] by default it'll show a blank page instead of user-visible errors [06:41:42] ok thanks ill look right now [06:42:09] the apache log file? [06:42:23] or semantic media wiki log file? [06:44:10] [Tue Mar 26 23:32:00 2013] [error] [client 99.101.9.72] PHP Fatal error: Call to a member function setPrintRequests() on a non-object in /usr/share/mediawiki/core/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php on line 79, referer: [06:51:14] ok here is all of the errors: Warning: Missing argument 2 for ParamProcessor\ParamDefinition::__construct(), called in /usr/share/mediawiki/core/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php on line 589 and defined in /usr/share/mediawiki/core/extensions/Validator/includes/ParamProcessor/ParamDefinition.php on line 175 Notice: Undefined variable: name in /usr/share/mediawiki/core/extensions/Validator/ [07:05:24] Thanks!!!! I got the calendar back after your help bonsaikitten! [07:05:40] ding! :) [14:00:41] New review: Yury Katkov; "> The parser object is the wrong place for injecting additional transactional (specified through a h..." [mediawiki/extensions/SemanticMediaWiki] (1.8.x) - https://gerrit.wikimedia.org/r/53980 [15:00:47] New review: Yury Katkov; "if count($options) returns 0 then there will be problems with $options->item( 0 ), I suppose." [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/53270 [15:17:32] New review: Mwjames; "It depends and what you are trying to achieve but in general it comes down to the fact that your try..." [mediawiki/extensions/SemanticMediaWiki] (1.8.x) - https://gerrit.wikimedia.org/r/53980 [17:19:15] New patchset: Yaron Koren; "Added qqq values for the two new messages" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/56180 [17:22:30] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/56180 [17:29:39] Hi I am getting this error when I try to use a form to create an event for an event calendar. Could someone help? Thanks. [17:29:43] Unexpected non-MediaWiki exception encountered, of type "Exception" exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in /usr/share/mediawiki/core/extensions/SemanticForms/includes/SF_FormPrinter.php:440 Stack trace: [17:43:20] Also am trying to set up this event calendar. I have it showing an event calendar but no events. I did Special:Ask query for [[Has event start::+]] and it shows two events when I use Format a Broad Table and Table and CSV but not Eventcalendar [17:45:10] UCSDgradstudent: for the first issue, I'm guessing that upgrading either PHP or Semantic Forms will fix the issue. :) [17:45:42] There was previously a problem where SF required a feature that not all recent PHP versions support, but I think that's fixed now. [17:46:05] For the second issue - what's the full query you're trying to call? [17:46:05] Thanks yaron.. I just tried that at 10:24 but I'll try again [17:46:31] ? [17:47:04] I did an update of both after you submitted to gerrit [17:47:46] Oh, I see - no, it's not related to the change I just made. [17:48:01] What version of PHP are you running? [17:48:09] ya Im all up to date right now [17:48:21] So is the problem still there? [17:49:19] ya it is unfortunately [17:49:30] What version of PHP are you running? [17:49:56] PHP 5.3.3-7+squeeze15 [17:50:43] looks old.. do you think it would help if I update it? [17:51:51] Hm, that's strange. [17:52:04] Maybe, I don't know. [17:52:27] It wouldn't hurt, I don't think. [18:00:41] ok ill try that [18:03:18] ok nm it says its up to date to the laters versoin [18:03:47] The copyright was 2009/2010 so thats why I thought it was old [18:05:25] There have definitely been more recent versions of PHP than 5.3.3... [18:07:52] ya i thought so.. anyways im doing apt-get install php5 on an ubuntu distro [18:08:22] Reading package lists... Done Building dependency tree Reading state information... Done php5 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. [18:08:41] Thats what it says, should I uninstall it? and reinstall it? [18:21:44] Hey Joren, can you answer a question about SubPageList? [18:23:46] Totally mangled your name, Jeroen. Sorry about that. [18:39:33] Bleh, connection problem. Jeroen, did you see my message earlier? The one where I messed up your name (sorry)? [21:11:56] Hi all. [21:12:36] Is anyone able to help me with a Semantic Forms question? I'm trying to set up a super_page parameter. [21:26:03] Frank___: what's the question? [21:26:31] I a category of pages with subpages. [21:26:57] I've set up a form to create/edit those pages and subpages, which works great. [21:26:59] I' [21:27:47] I'm trying to work out how to put a link into the template so that it adds a subpage to the current page. [21:28:49] Okay - so did you add "super_page=" to the #forminput call? [21:29:10] I was trying to figure out how to use super_page properly. [21:29:36] What does your #forminput call look like? [21:33:32] This is what's inside my form page: [21:33:39] {{#forminput:form=TechnologyEditWithForm|query string=namespace=Technology}} [21:34:40] I tried adding super_page={{PAGENAME}} to my query string, but that made every page title look like "Technology:TechnologyEditWithForm/pagename" [21:35:56] What do you want the super-page to be? [21:36:15] Oh, I see. [21:36:35] I want the super page to be whatever page I was on when I clicked the "make subpage" link that led to the form. [21:36:39] In addition to the #forminput call in the form page, there should be one in the template that each of those pages uses. [21:37:21] ...instead of a "make subpage" link. [21:37:31] Oh, I thought that was just for using in Form: pages. [21:37:48] That makes a lot more sense with super_page={{PAGENAME}} [21:39:10] That works, great! [21:39:57] Cool! [21:42:24] Thank you, I really appreciate it.