Jump to content

User talk:Wanglong/Mw tools

Add topic
From mediawiki.org
Latest comment: 13 years ago by 46.158.220.144 in topic Mw_tools package no longer available

Fatal error with Semantic Media Wiki

[edit]

Hi, thank you for this tool it looks very useful. I've got a problem with it though:

Fatal error: Call to undefined function wfprofilein() in 
/home/wikijava.org/public_html/w/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php
on line 367

Around that line there's the following:

function smwfInitContentLanguage($langcode) {
  global $smwgIP, $smwgContLang;
  if (!empty($smwgContLang)) { return; }
  wfProfileIn('smwfInitContentLanguage (SMW)'); // this line throws the error
  $smwContLangClass = 'SMW_Language' . str_replace( '-', '_', ucfirst( $langcode ) );
  if (file_exists($smwgIP . '/languages/'. $smwContLangClass . '.php')) {
  include_once( $smwgIP . '/languages/'. $smwContLangClass . '.php' );
}

Any idea on how to solve this?

Thanks, Giulio

Conflict with extension: configure

[edit]

Thank you for your devotion and hard word at first.

  • The MW tools script is taking the first important step in the direction of a comfortable backup and recovery strategy.
  • The security is a significant issue that should be addressed.
  • There is a conflict when using extension:configure simultaneously. MW tools works fine when turning extension:configure off in LocalSettings.php. It would be fantastic if that is removed.

Many thanks. Wolfgang




Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.amateurradiowiki.us Port

--98.204.15.128 00:00, 21 October 2008 (UTC)Reply

Mw_tools package no longer available

[edit]

The site generates «error 404», as far as I see.

Does anyone have a backup of the package? —46.158.220.144 06:38, 7 May 2011 (UTC)Reply