Binding extra variables with PHP PDO returns no results As I expand the data binding layer for my travelblog.ws project, I keep coming across different ways of breaking the PHP PDO statement class. The recent peculiarity that I've come across was to do with binding more variables than there were bind parameters in the SQL statement. In this situation, PDO will not return any data. In fact this is documented in the API...
Older versions of JD-GUI crashing on macOS Sierra I've noticed today that my version of JD-GUI started crashing whenever I tried to open a jar file to decompile. I was on macOS Sierra and had version 0.3.3 of JD-GUI installed. This was the kind of error and crash report I was getting...
Force PHP GD library to load JPEG images that have invalid data While updating code my my travelblog.ws project I came across an issue where I was not able to upload certain JPEG files to the blog and have them automatically scaled down for thumbnail generation. The files opened fine on my Mac but PHP would not load them.
No sound or microphone when answering calls on an iPhone So this all started when I took my iPhone 6s to the Apple Store to have its battery replaced. They warned me that there was a chance that the phone may be damaged during battery replacement but if that happened, I'd get a replacement phone free of charge. I didn't think that was very likely so just went ahead with it.
Mad Max sound clicking glitch and how to fix it I received the Mad Max game for Christmas this year and have been playing it like mad ever since. I must admit it was hard switching to a game that is not Doom but considering how many new games I've yet to play, it was time to move on. Mad Max is awesome in its own way but it has a very annoying sound glitch on PS4. Every so often the game begins to 'tick' in an endless loop.
Prevent errors during ffmpeg execution in a loop I was using my Odroid XU4 based media server to transcode some videos using ffmpeg when I came across some strange errors appearing on the console. When I would run ffmpeg as a single command, it would work, however running it in a loop presented errors (or rather strange behaviour).
Pulse Secure VPN not working on macOS Sierra and how to fix it If you're running the 5.2 version of the Pulse Secure VPN client and happen to have upgraded to macOS Sierra, you will quickly find that it has lost your settings and is not able to make any connections. Instead it displays the message "Failed to connect to the Pulse Secure Service". Great!
Multiple page PDF scanning does not work in macOS Sierra If you're trying to use the macOS Sierra Image Capture utility and scanning multiple pages to a PDF file and wondering why you're ending up with just the first page, you're not alone. I've found this problem when doing some scans this morning, it seems that even when the 'Combine into single document' option is checked, any pages scanned after the first one are simply ignored.
VMware Fusion stops working after macOS Sierra upgrade I've been running the same version of VMware Fusion on a number of OS X releases and even though it was a rather old verion (6.0.6) it continued to work all the way up to and including on El Capitan. The official documentation stated that configuration was not supported, but it worked. Now I upgraded to macOS Sierra and all hell broke loose. None of my VMs would start and to make it worse the actual Fusion App itself was badly broken.
Fix G Suite SMTP error when adding another owned email address I've recently started moving all my email (personal and all my sites) to Google G Suite, formerly knows as Google Apps for Business. I was quite impressed with the service and was setting up all of my owned email addresses in Gmail when I hit the following error...
Resolving GAE deployment error - 'An error occured while deploying to AppEngine' I was doing some updates to my Guru JSON-RPC Tester recently and when it came to deploying my changes to AppEngine, I was presented with this very uninformative error message - "An error occured while deploying to AppEngine. See the error log for more details". That didn't give me any clue as to what the actual problem was, not to mention the obvious spelling mistake in the error message.
OpenWeatherMap 2.1 version API is now officially dead Not long ago I've written that OpenWeatherMap crippled its 2.1 version API by returning data for the same city no matter what the request was. Now it looks that OWM has completely killed off the 2.1 API endpoints in favour of its (paid) 2.5 version of the API.
Why "Browser API keys cannot have referer restrictions when used with this API" error happens After Google started to force developers to use API keys I changed my code accordingly and for a while everything was working fine. It wasn't until I tested my application on a real server that I started to get the 'Browser API keys cannot have referer restrictions when used with this API.' error. It didn't take too long to figure out why this happens and how to fix it so read on to find out.
Ingress crashing on launch after iOS 9.3.3 update I updated my iPhone 6s to iOS 9.3.3 today and noticed that Ingress started crashing every time I went into it. It looks like just as it zeros in on my location and the map is about to appear, it crashes.
How to stop the iMovie Video rendering error: 10008 On the weekend I was putting together some video footage from separate movie clips that I captured on my dashcam and every time I tried to export my project I'd get a 'Video rendering error: 10008' message. The same thing happened if I tried to share directly to YouTube too. This is how I managed to stop the error and successfully export my movie.
OpenWeatherMap cripples its 2.1 version API I've noticed that for the past few weeks my Photo Frame has been reporting odd weather. Instead of Brisbane, Australia it was giving me weather for Whitby, GB. I didn't pay much attention to it at first but then it got to me, I checked the configuration and that hasn't changed so I figured there must be something odd going on with OpenWeatherMap and turns out I was right.
A better way to handle fixed position DIV elements with form input fields Not long ago I wrote about Mobile Safari scrolling problem with an input field inside a fixed DIV and provided a solution that used a small amount of CSS to make the scrolling issue go away. This worked really well until I discovered that by setting overflow to auto caused the 'scroll' event to never fire. I rely on the scroll event firing so that I can dynamically load more data into a page, so this forced me into finding a better solution and here it is.
Mobile Safari scrolling problem with an input field inside a fixed DIV I've come across an issue in Mobile Safari while working on my travelblog.ws where 'fixed DIV' popup forms would cause the page behind the popup to scroll up as soon as the form was displayed. I narrowed this down to the jQuery .focus() method, but that wasn't the cause of the problem. Once I disabled auto-focusing of the first input field in my forms and manually selected an input field, the same behaviour manifested. I did manage to fix the issue eventually though.
SourceTree Git push fails with rejected tag Error messages I use SourceTree to manage all my Git repositories, it's a great tool but sometimes something goes wrong with remote tags refs in one of my work repositories and I get error messages when I do a push that tells me that a bunch of tags have been rejected. Now I never actually create any tags so this is a little confusing. Cloning a fresh version of the repository fixes this but is not a solution all the time, especially if you have a bunch of stashes. Luckily there is an option in SourceTree to disable pushing tags to remotes.
Windows not recognising digital camera, showing exclamation mark in device manager After I upgraded to windows 10 and then promptly uninstalled it a number of issues started to surface with the Windows 7 installation that weren't there previously. One of these was that whenever the digital camera, a Canon IXY 220F, was connected to the computer, it would not be recognised and would have a yellow exclamation mark next to it in Device Manager. Uninstalling the camera in Device Manager and reconnecting it to the computer would fix the problem temporarily, but after a restart the camera would not be recognised again. After digging through the Event Viewer I was able to find the cause of this problem and found a way to fix it.
JWSC does not play nice with Java 8, works fine with Java 7 The more I work with JWSC, the more issues I seem to find. This new one is related to JavaCompiler and has the same smell as the other JWSC problem I've found. I've not had time to investigate this one in detail, but did find a workaround still.
Workaround for JDeveloper 12c Refactor Rename bug I use JDeveloper on an almost daily basis and when something as basic and fundamental to the product as the rename functionality breaks, it makes you want to tear your hair out. I'm talking about the Refactor Rename feature that has been broken since the 12c release. Luckily there is a workaround.
Deluge not starting on OS X - how to fix it Every now and then my Deluge app fails to start on the home server. This was a little frustrating at first, but then I figured out what was going wrong. This is how to fix Deluge and make it start again.