Last modified: 2009-05-22 22:58:55 UTC
I'm on a mac os x (ver 10.5.5), running: MediaWiki 1.13.2 PHP 5.2.6 (apache2handler) MySQL 5.0.41 My mediawiki lives in /Users/myusername/Sites/mediawiki-1.14.0/ i added a folder called SyntaxHighlight_GeSHi to the /extensions/ folder in my mediawiki folder. It contains: README SyntaxHighlight_GeSHi.class.php SyntaxHighlight_GeSHi.i18n.php SyntaxHighlight_GeSHi.php and a folder called geshi, with 3 subfolders: /contrib/, /docs/, /geshi/, and one additional file: geshi.php When i try to add the line: require_once("extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"); to the end of my LocalSettings.php file, my wiki pages go blank. if i then add require( 'geshi/geshi.php' ); or require(dirname(__FILE__).'/geshi/geshi.php'); or require('/Users/myusername/Sites/mediawiki-1.14.0/extensions/Syntax_Highlight_GeSHi/geshi/geshi.php'); nothing changes. any ideas? many thanks, joshua
Bugzilla is for filing bugs, it is not a support forum. It's best to ask this question elsewhere, e.g. on IRC. My two cents: instead of require_once("extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"); you should probably use require_once("$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"); Also note that require('/Users/myusername/Sites/mediawiki-1.14.0/extensions/Syntax_Highlight_GeSHi/geshi/geshi.php'); has the path spelled wrong (there's no underscore in Syntax_Highlight).