SyntaxHighlighter is undefined [RESOLVED]

Please report bugs here!

Moderator: Thorsten

Post Reply
guillaume
Posts: 27
Joined: Tue Sep 01, 2009 2:56 pm
Location: Montreal, QC, Canada
Contact:

SyntaxHighlighter is undefined [RESOLVED]

Post by guillaume »

Hi!

I receive a javascript error when accessing a FAQ with Internet Explorer 8.

Line: 279
Erreur : 'SyntaxHighlighter' is undefined

http://www.prospects.com/FAQ
You have to view a faq to get the error.

If I use the IE8 debug function, it says that the following line is the problem:

SyntaxHighlighter.config.clipboardSwf = 'inc/js/syntaxhighlighter/scripts/clipboard.swf';

I saw another post that is similar but it was not on the same line (see last post).
viewtopic.php?f=3&t=10256&p=29404&hilit ... ter#p29404

I'm using phpmyfaq 2.6.0

Thanks !
Last edited by guillaume on Tue Jan 19, 2010 8:40 pm, edited 1 time in total.
der.vogt
Posts: 11
Joined: Thu Jan 07, 2010 4:05 pm
Location: Amsterdam
Contact:

Re: SyntaxHighlighter is undefined

Post by der.vogt »

please check if the javascripts in the inc\js folder are all existing, also fell over this issue and I was missing the javascripts in the folder by what ever reason and my webserver gave me a 404 error when checking with HTTPFox.

You can easily compare when downloading the original install package from Thorsten with your http files folder on your webspace
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: SyntaxHighlighter is undefined

Post by Thorsten »

Hi,

the files have to be readable as well.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
guillaume
Posts: 27
Joined: Tue Sep 01, 2009 2:56 pm
Location: Montreal, QC, Canada
Contact:

Re: SyntaxHighlighter is undefined

Post by guillaume »

It turns out that a folder was missing.

The missing folder is:
/inc/js/syntaxhighlighter/scripts/

I had to download phpmyfaq-2.5.7.zip to get it since it is missing in the phpmyfaq-2.6.0.zip (or tar.gz) download .

Thanks to both of you! :)
Post Reply