Last modified: 2009-05-22 22:58:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20882, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18882 - I can't get Extension:SyntaxHighlight GeSHi to work
I can't get Extension:SyntaxHighlight GeSHi to work
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
Macintosh All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-22 22:20 UTC by joshua vogelstein
Modified: 2009-05-22 22:58 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description joshua vogelstein 2009-05-22 22:20:17 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
Comment 1 Roan Kattouw 2009-05-22 22:58:55 UTC
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).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links