Extension talk:GeoGebra

Can't work with tube-beta.geogebra.org/scripts/deployggb.js

2
This post was hidden by Ikeji Mo (history)

It seems that tube-beta.geogebra.org/scripts/deployggb.js no longer works with GeoGebra extension. I was able to solve the problem by changing GeoGebra.body.php to refer to www.geogebra.org/scripts/deployggb.js. Please check the problem if possible.

Reply to "Can't work with tube-beta.geogebra.org/scripts/deployggb.js"

Changelog

5
Changes from version 1.0m to 1.0n

If GeoGebra extension does not find the geoGebra.jar file at www.geogebra.at/webstart, it looks for the file at the places where MediaWiki stores the media files (i.e. *.jpg). So if you have installed a MediaWiki at a local server (wamp, lamp, server2go,...) e.g. for testing purposes, you can use GeoGebra extension offline, that means, without connection to the web.

This post was posted by He7d3r, but signed as Bigvir.

Changes from version 1.0n to 1.0p

New parameter useLocalJar. For testing purposes, you can force the extension to use the geogebra.jar file locally installed (this means, geogebra.jar uploaded to your MediaWiki) instead of using the one from www.geogebra.at/webstart.

This post was posted by He7d3r, but signed as Bigvir.

Changes from version 1.0p to 1.0q

This post was posted by He7d3r, but signed as Bigvir.

Changes from version 1.0q to 1.0u

Add function function url_exists() to check, if acces to remote applet is possible.

url_exists() replaces the old code with fopen. The old code didn't work correctly at wikis with allow_url_fopen off.

allow_url_fopen is set in php.ini. Some internet service providers do not grant access to php.ini.

This post was posted by He7d3r, but signed as Bigvir.

Changes from version 1.0u to 2.0p

If geogebra.jar is not found at www.geogebra.at, or if using useLocalJar="true", GeoGebra extension looks for geogebra.jar at another place:

Version 1.0u looked for geogebra.jar in the file repository of the wiki. This caused problems, when geogebra.jar changed to be only a starter for other geogebra*.jar files, e.g. geogebra_main.jar, geogebra_gui.jar etc.

Version 2.0p now looks for geogebra.jar in the /extension/GeoGebra subdirectory of the wiki. So you have to upload all geogebra*.jar files using FTP.

A minor change was necessary, because $_SERVER['DOCUMENT_ROOT'] did not work correctly. This post was posted by He7d3r, but signed as Bigvir. Reply to "Changelog" Compatibility 1 Reply to "Compatibility" Hook error 1 Thanks, IAlex, for correcting my "hook error". This post was posted by He7d3r, but signed as Bigvir. Reply to "Hook error" Error: File does not exist 1 Hi, for unknown reasons, the applet loads one time over two tryes , I suppose it is a cache related problem regarding the log : 10:01:24 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/b/n.class [Tue Jun 07 10:01:26 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/af.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/z.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/z.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/f.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/F.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/v.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/D.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/i.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/o.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/b.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/s.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/g.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/cD.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/m.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/b/C.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/k.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/u.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/ak.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/bD.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/bW.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/kernel/algo2command.properties [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/c/c.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/e/c.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/dA.class [Tue Jun 07 10:01:27 2011] [error] [client 192.168.1.242] File does not exist: /var/www/mediawiki/extensions/GeoGebra/geogebra.jar/a/aJ.class  mailto:sancelot@free.fr This post was posted by He7d3r, but signed as 213.41.233.134. Reply to "Error: File does not exist" MathJax and Geogebra in the same page 5 Please can you give me an URL of a Wiki page where the error occurs. Just to tell me "a problem occurs" is not enough to start investigations. http://wikiciencias.casadasciencias.org/wiki/index.php/Per%C3%ADmetro_de_uma_circunfer%C3%AAncia If I add #$wgShowExceptionDetails = true; in LocalSettings.php, I get this: Thanks

Invalid marker: UNIQ394e8f8e45bbe3f0-MathJax-27-QINU Backtrace:

3. 2 [internal function]: MathJax_Parser::StripMath(Array)
4. 3 /var/www/html/casadasciencias/casadasciencias.org/wikiciencias/html/wiki/extensions/MathJax/MathJax.php(291): preg_replace_callback('/((\\\())(.*?)(...', 'MathJax_Parser:...', '<span style="fo...')
5. 4 [internal function]: MathJax_Parser::Stage2(Object(Parser), '<span style="fo...', Object(StripState))
19. 19 {main}

Sorry for late response...

Looking at wikiciencias.casadasciencias.org I see no errors.

If the error is still there: Maybe I use another browser and/or operating system so please tell the information what this page shows to you: http://www.mybrowserinfo.com/detail.asp

If the error disappeared: Maybe you found a solution to the problem (e.g. change in configuration using LocalSettings.php). So please tell the world here how you solved the problem.

Now I use a different version or method for MathJax and works. Thank's for the help.

Reply to "MathJax and Geogebra in the same page"

Moving to code repository

4

To get rid of the warning box "This extension stores its code inside a wiki page. Please be aware..." I will try to move the code to the MediaWiki code repository. To avoid doubling work, I will wait until this repository has moved from SVN to GIT.

User:^demon is Chad (I didn't know that either - until now) and you'll find some emails from him in the archives. Maybe he was referring to the same thread I suggested above?

Reply to "Moving to code repository"

Extend for usage in templates

2

In case anyone is trying to use this as part of a template, you just have to add

// recursive parse in case we are inside a template
if($wgVersion >='1.16') { foreach($args as &$arg) {$arg = $parser->recursiveTagParse($arg, \$frame );
}
}


just above

...
// retrieve URL of image file substituting GeoGebra applet if Java ist not installed
...