GeSHI problem

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
dimer24
Posts: 2
Joined: Thu 10. Jun 2010, 23:51

GeSHI problem

Post by dimer24 »

Hello

it is my second try, i did the same in the German phpwcms Support Deutsch but i did not se my Thema.
Sorry when I make a problem with this.

My Problem how can Higlightening mi Cod with GsSHI.

When is go to the
http://www.nierhaus.ch/Test.php
Then the code will be fine.

The Code in the Test.php file is

Code: Select all

<?php
include_once ('include/geshi/geshi.php');

$source = '$foo = 45;
for ( $i = 1; $i < $foo; $i++ ){
  echo "$foo\n";  --$foo;
}';

$language = 'php';
$geshi = new GeSHi($source, $language);
echo $geshi->parse_code();

?>
Wath must i Do that I can show Highlightening Code.
I did try it in HTML Code an others.
It this a problem with the Editor?

Second Problem
Why cann I see mi Thema http://www.nierhaus.ch/


Thanks for your help

Dimer24
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: GeSHI problem

Post by juergen »

Hi there and welcone.

By Spam prevention each first post has to await confirmation by an admin.

Your account has non enabled php support now ! Thats the reason.
Post Reply