Archive for the ‘Bugs’ Category

Buggy Specials Chars with non-English Keyboard in Flash

Saturday, January 17th, 2009

I just experienced a realy weird problem with flash: I had a form in a flash. The form works fine in Internet Explorer. But in Firefox (not tested in other browsers) some special characters (capital umlauts, at-sign (@) didn’t work. The at-sign worked by pressing shift-2 (that’s default on EN-keyboards, but not on DE). After some searching I found out that removing the wmodeparameter fixes that. I’m not a flash guy so I can’t really explain it. While investigating my problem I found two articles describing wmode: Flash: wmode = transparent = evil (Firefox) (German) and Flash, DHTML Menus and Accessibility (English).

Security Hole in WordPress-myGallery

Thursday, June 28th, 2007

We just had an issue with the great WordPress-plugin myGallery. It includes the two config-files /wp-config.php and /wp-admin/admin.php and doesn’t use the WordPress constant ABSPATH, but a GET-Parameter for the path of these files. Since this parameter isn’t checked, it’s possible to pass an URL as path. This passed file is executed locally with the web server’s rights.
In our case the remote script installed a warez-server on our web server.

I recommend waiting for a new version of myGallery and set the permissions of wp-content/plugins/mygallery/ to 000. Disabling the plugin will not help, since the scripts will stay accessible.

T_PAAMAYIM_NEKUDOTAYIM

Wednesday, May 9th, 2007

A colleague experienced a very strange error in PHP:

Parse error: syntax error, unexpected ‘[‘, expecting T_PAAMAYIM_NEKUDOTAYIM in script.php on line 123

We quickly found the error but it took a little googleing to find out what PHP meant by T_PAAMAYIM_NEKUDOTAYIM; it’s hebrew and means double-colon. It’s no bug but a kind of joke.

Strange JavaScript-error in Internet Explorer 6

Thursday, March 1st, 2007

Today I encountered a strange error-message in Internet Explorer 6. The German error message read

Die Seite http://www.acme.com/ kann nicht geöffnet werden.
Vorgang abgebrochen

In English it reads

Internet Explorer cannot open the Internet site http://www.acme.com/
Operation aborted

After this alert IE shows just an unspecific page could not be opened page. Long google-journeys later I found the cause. IE6 does this sometimes if you try to change the DOM-Tree before it’s been completely loaded. So if you wait until the page is loaded completely with your scripts it should work nice. I use Simon Willison’s addLoadEvent.

Strange Border-Bug

Saturday, February 24th, 2007

I have just found a strange bug in Firefox (2.0.0.1). I have an element with overflow:auto, a border-width of two pixels and a margin set in cm. The right border-width is 1 px in Firefox. Very strange. Removing the overflow or setting a margin in em fixes the border…
Test-Page

Screenshot:

border-bug.png

Box height in Internet Explorer 6

Wednesday, February 14th, 2007

Recently I discovered an interesting bug while reading the Drupal-Forum. A div with a height smaller than the font-size will be rendered to high in Internet Explorer 6.
If you build pages with fancy designs you will often have this problem, e.g. if you have graphical ornaments which are wrapped in a container of exact the graphics’s height.
Here’s an example.

The bug is also reported on Bug Report.

Page optimized by WP Minify WordPress Plugin