Entries by Kevin Godden

HTML / Javascript – Setting hash without browser scrolling.

Q: I set a document’s hash using:   document.location.hash = ‘#my-hash’;   But this always causes the browser to automatically scroll to the top of the region identified by the hash. How can I set the url’s hash without the page scrolling?   A: On newer browsers you can use the new HTML5 History API […]

#Drupal 7 on #RaspberryPi

Class, just found this post that makes mention of Drupal 7 successfully hosted on a Raspberry PI!   http://www.raspberrypi.org/phpBB3/viewtopic.php?f=9&t=5199   Brilliant, it’s like chocolate and mint, my two favourite things brought together, I have have just found myself a new hobby!  

Drupal 6 – strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings

Recently we came across this red/pink error message on an old(ish) Drupal 6 site that is running on shared hosting: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() … blah blah blah … It seems that this PHP warning […]

Class not Registered #64bit Active#Perl win32::OLE

If you are getting an error message along the lines of ‘Class Not Registered’ when using Win32::OLE to create a COM object when using 64Bit ActiveState Perl and you are sure that the class is registered then it may be because the COM dll is 32bit and the 64bit perl process can’t load it….   […]