Topic on Extension talk:SemanticComments

Error in MW 1.23, SMW 2.0

4
Krabina (talkcontribs)

Hi, I just upgraded from MW 1.20, SMW 1.8.0.5 to MW 1.23 and SMW 2.0. I downloades SC for MW 1.23 and recieve the following error: Fatal error: Call to undefined function wfLoadExtensionMessages() in .../extensions/SemanticComments/includes/CE_GlobalFunctions.php on line 87

Krabina (talkcontribs)

ah, the lastest dev version works!

Krabina (talkcontribs)

correction: it works, but it breaks Special:Specialpages:

Warning: require_once(.../includes/SpecialPage.php) [function.require-once]: failed to open stream: No such file or directory in .../extensions/SemanticComments/specials/Comment/CE_CommentSpecial.php on line 37

Fatal error: require_once() [function.require]: Failed opening required '.../includes/SpecialPage.php' (include_path='...:.../includes:.../languages:.../pear:.../vendor/phpunit/php-text-template:.../vendor/phpunit/php-timer:.../vendor/phpunit/php-file-iterator:.../vendor/phpunit/php-code-coverage:.../vendor/phpunit/phpunit:.../vendor/symfony/yaml:.:/usr/lib/php:/usr/local/lib/php') in .../extensions/SemanticComments/specials/Comment/CE_CommentSpecial.php on line 37

Krabina (talkcontribs)

the fix was easy: in /extensions/SemanticComments/specials/Comment/CE_CommentSpecial.php on line 37

replace

require_once( $IP . "/includes/SpecialPage.php" );

with

require_once( $IP . "/includes/specialpage/SpecialPage.php" );
Reply to "Error in MW 1.23, SMW 2.0"