User talk:Bigvir
From MediaWiki.org
[edit] Broken link
Hi!
I was trying to install the GeoGebra extension but the link to http://www.geogebra.org/webstart/unsigned/unpacked/ is broken. I got: Error 403. Denied access
How can I download that files? Thanks in advance... Helder 18:39, 6 March 2010 (UTC)
- I have no problem with downloading e.g. geogebra.jar from http://www.geogebra.org/webstart/unsigned/unpacked/
- Maybe trouble with protection software? At my school we have problems with dansguardian. See also personal mail.
- Bigvir 19:58, 8 March 2010 (UTC)--
[edit] Avoiding errors in error log
From apache error log
-
- [Thu Mar 11 20:18:45 2010] [error] [client 10.41.3.15] PHP Notice: Undefined index: substimage in /var/www/html/cats/extensions/GeoGebra/GeoGebra.php on line 81, referer: ...
- [Thu Mar 11 20:18:45 2010] [error] [client 10.41.3.15] PHP Notice: Undefined index: usesignedjar in /var/www/html/cats/extensions/GeoGebra/GeoGebra.php on line 102, referer: ...
- [Thu Mar 11 20:18:45 2010] [error] [client 10.41.3.15] PHP Notice: Undefined index: uselocaljar in /var/www/html/cats/extensions/GeoGebra/GeoGebra.php on line 104, referer: ...
This can be avoided by replacing these three lines
-
- $imgBinary = htmlspecialchars(strip_tags($args['substimage']));
- $useSignedJar = $args['usesignedjar'];
- $useLocalJar = $args['uselocaljar'];
with something like
-
- $imgBinary = isset($args['substimage']) ? htmlspecialchars(strip_tags($args['substimage'])) : '';
- $useSignedJar = isset($args['usesignedjar']) ? $args['usesignedjar'] : '';
- $useLocalJar = isset($args['uselocaljar']) ? $args['uselocaljar'] : '';
--PrimeMogul 03:17, 12 March 2010 (UTC)