OwnCloud bug

Not going to make this a long and complicated post, just wanted to toss this out there in case any body else finds themselves in my situation.  I was playing around with OwnCloud and enabled the Subphonic add-on and suddenly my install quits working completely citing some bogus Apache nonsense.  Not to be deterred I got on ssh and hit up the box and immediately checked /var/log/apache2/error.log and here is what I found

[Sun Jun 03 09:17:30 2012] [error] [client] PHP Fatal error: Class 'OCP\App' not found in /var/www/apps/subphonic/appinfo/app.php on line 10
[Sun Jun 03 09:18:55 2012] [error] [client] PHP Fatal error: Class 'OCP\App' not found in /var/www/apps/subphonic/appinfo/app.php on line 10

Just as I figured Subphonic was the culprit, however not being able to login to OwnCloud to disable it I was left with no choice but to either re-install the whole thing (which I didn’t want to do) or manually disable it in the database where all the config settings live.  Took maybe a minute or two of poking around to figure out the structure of the database and locate where the setting was stored, for simplicity sake all you need to do to disable it is connect to the mysql database and run the following query

UPDATE oc_appconfig SET configvalue = 'no' WHERE appid = 'subphonic' AND configkey = 'enabled';

And obviously you can change this to disable whatever random thing you happen to have enabled which breaks OwnCloud by changing the appid to the necessary name, hopefully this helps someone out there who may not be overly comfortable with command line SQL manipulation.


Something Unexpected

So I broke down the other day after talking to a co-worker about the iPad and bought one. Generally I’m pretty anti-apple as far as most things go, however I wont even lie this thing is pretty nice so far even if its only the iPad 2 and not the 3rd gen model.

Battery life on it is pretty damn good, I can putz around on the internet surfing and reading things for hours without even thinking about charging it, in fact I think I’ve only had to plug it up to recharge once since I bought it. The camera leaves a bit to be desired, but then I have several other options like my HTC Evo Shift or Kodak Play if I really need a decent picture taken. As with any expensive piece of technology I picked up a case, for this device it was a Griffin rubber and plastic case much like the design that Otter Box uses except I made sure it would cover up the Apple logo on the back of the tablet as I have no need to flaunt that logo.

As far as Apps are concerned there are some drawbacks, like most of the SSH clients that I have tried so far are slow on wifi even when the access point is within eyesight of the device. Occasionally Safari will flake out and not follow links when I am doing searches on google, but that may just have been due to a pending update that I had yet to apply. I gave a RDP client a spin and was sorely disappointed, it took forever to load on a wifi connection so I can only imagine how painful it would be across a 3g connection.

When I began looking seriously at tablets one of my biggest concerns was input; I have used tablet computers in the past like the Fujitsu Stylistic and LifeBook however they had keyboards, in the case of pure tablets you often only have your fingers as input. The price of keyboards for the iPad are still a little steep for my liking, but I was fortunate to find that my roommate had a spare Logitech from when he bought an Acer Iconia (that proved to be quite poorly designed and made). That and a cheap 15$ stylus makes the iPad a much more pleasant computing experience as opposed to only using fingers to tap out messages, blog posts, URLs and facebook comments. Perhaps the only thing I would change about the input is support for a bluetooth mouse as even with a stylus it can be a little tricky to select text for copy and paste or drawing out complex designs.

All in all I’m quite pleased with the iPad, the experience has reinforced my belief that Apple’s strong point is in mobile devices such as the iPad, iPod and the iPhone as opposed to their laptops and desktops which are unfortunately vastly overpriced for the hardware they contain.