AliGrant.com
 
Valid XHTML 1.0!

Valid CSS!

Powered by PHP

Get FireFox

1&1 Internet


Archived News

PHPLdapAdmin crashingTuesday 30th July 2013
I've been using PHP LDAP Admin to act as a web-interface to my LDAP directory server - which in turn I use for my address book. I went to update some entries recently and have been stumped by getting a "Connection to the server was reset while the page was loading" error when submitting my changes.

I searched around for a while to try and resolve the issue but to no avail. I even put a clean install and the same thing happened. Fortunately I'm a dab-hand at PHP, so found the script that was getting posted to and put in a test script - which also failed. This meant it was nothing to do with the script itself.

After more digging I found that it was to do with what was being sent to the server, causing PHP to exit. The issue appears to be the same as the one reported in Bug #60928 - alas this has been closed against PHP version 5.3.9 - and currently I'm on 5.4.15.

I took the plunge and removed the module to see if it resolved the issue and sure enough, it did. I'm not going to bother to report this as my experience is that if there has been a bug that has been closed already then you have to fight for people to pay attention - which is not worth the effort in signing up to yet another web-site in order to logon.

Annoyingly though, in order to remove mbstring, I had to remove v1.1 of the Zend Framework - why am I using such an old framework? Well that'll be the latest my hosting provider supports.


Amazon Cloud Player - device authorisationMonday 1st July 2013
Amazon have recently added "AutoRip" to their "CloudPlayer". This allows you to download any CD you've bought from Amazon as an MP3.

Not sure how this stands legally, as often CDs I buy on Amazon are gifts for other people - and now I have access to music I no-longer own. Still, as I have bought these for other people it tends to mean I don't want it myself!

Anyway, in order to download through your browser (or any other supported client), you need to 'authorise' your device. Amazon allows you to have 10 devices authorised, with a 30 day cool-down period when removing a device.

So I have authorised my web-browser on my PC, but the next time I logged in, I need to authorise it again. What's going on? I have my browser set to discard cookies when I log off (you should all do this) - so you need to make sure your browser saves the relevant cookie.

The one in question is for host ".amazon.co.uk" (or whatever country you are in), and the cookie name is "authorizedDeviceId". Mark this as being permanent and you won't need to authorise that browser again.

Of course, there is nothing stopping you from importing this cookie into other browsers and using the same authorisation slot. Naturally this will probably go very wrong if you're not the person who is logged in to Amazon, so I don't think you could use this to liberally share your MP3 collection, but it does give you a bit more flexibility.


Previous Next