03.18.08

Windows Media Player Plugin for Mozilla

Posted in Web Development at 3:04 pm by bwalker

While developing and testing video/audio features for the PR project I found WMP caused Firefox to crash consistently upon closing (video/audio would play once, then any subsequent actions resulted in a browser crash).

Error (something to the extent of):

Windows Media Player Plug-in Dynamic Library

This plug-in has performed an illegal operation…

This did not occur in the previous PR release, so I’m guessing it may represents an incompatibility between WMP and more recent Firefox updates. I found this related technote (http://kb.mozillazine.org/Windows_Media_Player#Installing_the_new_plugin) which accurately described the problem I was having. I tested the plug-in and surprisingly it worked. I say surprisingly because the download site seems to be almost a year old. In addition, the new plug-in seems to be able to manage the configuration settings better than before. I’d like to suggest this plug-in be added to future updates for the rest of the department, but we may want to find out if others experience similar issues with WMP under the latest release of FF (2.0.0.12) and/or what specifically is causing the crash. I have my theories, but with the new plug-in I may not be able to test them. I’d like to know if anyone else encounters this.

Plug-in Download site: http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx

Items: Summary Tables Update

Posted in PHP, Web Development at 2:22 pm by BrianS

The number produced by summary table 8 in the items utility were not quite correct. The researchers noted that the means by which calculation of answer selection was performed was not quite as they wanted it.

Luckily table 8 uses a new summary table generation technique I borrowed from the school reports. The data, display, and summarization code is segregated to a certain degree (though not as much as would be preferred). This allows me to update one aspect of the script without having to monkey around too much with other aspects.

The data is currently stored in a data array that is organized to allow for relatively easy access. The summary information is currently compiled inline in the code. While this isn’t ideal, the method used (summary arrays) should allow for better segregation in the future. The calculation of concern is stored in its own function, answer_selected(). That function includes some basic versioning capability and so I was able to add a new version of the calculation that matches the researchers expectation without changing anything else in the code.

I think a modification of this technique would work well for all tables in the utility and should not require significant investment in development time. As additional tables need work I may investigate adding them as components of the new summary table script (summary_table.php).

03.17.08

Stupid Dreamweaver Bug

Posted in Web Development at 10:38 am by bwalker

After making some seemingly insignificant changes to a css file, Dreamweaver CS3/9 suddenly crashed. System restart did not work nor did recreating user config. Before re-installing I chanced upon this blog entry on Google groups. Look for a comment by David Powers regarding a bug wherein if a file is exactly 8,192kb (or a multiple of), the site caching fails and the application crashes. Amazingly he was right. I added a few bytes to the file and problem solved. This has got to be the stupidest thing I’ve heard in a while.

03.13.08

Assessment Items Utility Updates

Posted in Web Development at 11:37 am by BrianS

A note on various updates to the Items Utility related to packets and school reports.

Read the rest of this entry »

03.05.08

BOL updates

Posted in PHP, Web Development at 5:43 pm by bwalker

The search upgrades and bug fix have been implemented and uploaded to flora and floradev.

http://flora.p2061.org/benchmarks/

http://floradev.p2061.org/benchmarks/

Search filtering by current bm, old bm, prose has been corrected.

Fulltext viewing is now available for each search result (’fulltext’ link following the truncated text), or all search results (’Output Format’ menu option).

A new results formating option currently labeled ‘Custom1′ is in the Output Format’ menu which displays the results in table format similar to old BOL search result output.

Files updated:
index.php, bol_search_func.php, bol.js

11.29.07

Character confusion: Odd characters on a web page

Posted in MySQL, Web Development at 5:17 pm by BrianS

I was recently doing some clean-up on the content of the database-driven version of Benchmarks. One of the issues I was attempting to address was the presence of odd characters in the content. This is an attempt to explain how to discover what these characters are and how to find them.

Read the rest of this entry »

11.26.07

Dreamweaver Instability

Posted in Web Development at 12:28 pm by BrianS

Lately I haven’t been able to use Dreamweaver to edit ASP or PHP pages without it crashing. After a quick search of the web I found that this is a known problem with a fairly simple solution. See the following KB from Adobe: Dreamweaver CS3 crashes after Daylight Savings Time ends.

The title of the post doesn’t really seem relevant at first, but a quick read of the content of the KB shows it to be exactly the problem I was encountering.

Found via Blogvaria.

10.29.07

Working with OAI

Posted in PHP, Web Development at 3:22 pm by BrianS

We’ve been helping with the development of the PRISMS resource review utility and public interface.

Our most recent task was to find a way to provide access to the data in an exchange format compatible with the NSDL. To do this we were looking for a PHP-based OAI provider that could interface with our MySQL database. We found a capable application in the work of Heinrich Stamerjohanns. He has put together a set of PHP scripts which provides exactly the kind of functionality we needed.

Read the rest of this entry »

08.15.07

PHP Session Timeout

Posted in PHP, Web Development at 6:49 pm by BrianS

The items utility has had a nasty habit of timing out users after a relatively short amount of time. In the past I tried extending the cookie timeout, but that didn’t really seem to help. The problem has been troublesome because it seems to happen almost randomly.

A little web research has led me to another conclusion as to the source of the problem: session data garbage collection.

Read the rest of this entry »

Next entries »