• Odd Magento / Fishpig / WordPress error

    If you get an error like:
    Fatal error: Call to a member function select() on a non-object in /home/username/public_html/app/code/community/Fishpig/Wordpress/Model/Resource/Page.php on line 119

    Then, check you’ve not just changed a MySQL username, without updating the fishpig configuration, or otherwise Fishpig can’t access the MySQL database for some reason. It seems to store a MySQL login in Magento config. I’ve not yet found exactly where, I’ll update this post with more once I understand more about what it’s doing.


    It presented as the main Magento site throwing the following error:

    exception ‘Zend_Exception’ with message ‘dbModel read resource does not implement Zend_Db_Adapter_Abstract’


    Which it seems that most everyone will tell you to clear your cache to fix. You *will* need to clear your cache, probably. Just, after fixing the MySQL connection issue.


    The following line is to make it easier for people googling to find this post:
    Fatal error: Call to a member function select() on a non-object in /public_html/app/code/community/Fishpig/Wordpress/Model/Resource/Page.php on line 119 magento fishpig


    This post my making sure  https://xkcd.com/979/ doesn’t happen from me.

  • Hame Run

    I’ve recently got into playing Monster Hunter 4 Ultimate on the 3ds, and this term comes up from the community from time to time. It’s a little cryptic to ‘grok’, unless you’re deep in the community, so here’s a quick post explaining it.

    Put most simply, it’s a quest/monster hunt run done as fast (and insanely) as possible. As my good friend Visi explained:

    “It’s basically where you take in heavy bowguns and stunlock the mob”

    So, bowguns being a weapon you can deploy, and stunlock, force the monster to be constantly stunned; locked into stun.

    And that’s it. If you want to know what ‘hame’ means, read on…

    ‘Hame’, also known as はめ in japanese, is the vulgar term for having sex, or in other words fucking. So, in Monster hunter terms, a hame run is a run in which you fuck the monster over.

  • Three Mobile Hotspot MITM Attack?


    Is three performing a Man In The Middle SSL attack/proxy on my mobile hotspot?

    Loading paypal:


    Well hello NSA & GCHQ lol.

    Funnily enough after searching Google for this issue and then retrying I don’t get some asshat trying to proxy my SSL connection. Or if they are they have a ‘genuine’ root certificate from a valid CA.

  • In response to UKIP gloating on facebook..


    So, this popped up via my town’s facebook group. I couldn’t resist responding. If you’re curious, here’s the wikipedia page on the Indian mars probe.

    My response to this, and the assorted “Yeah!”, “We should give them nothing” etc, I responded as follows;

    Do you understand what an amazing achievement that was? The normal cost of any western probe to Mars? Hell, I’d gladly pay more tax I can’t afford to for that stunning gem.
    It was, and still is absolutely incredible they did it for so little, and with
    so little. It’s giving them a reason to strive, to push for something different, for knowledge and understanding and plain old new technology. You know, just that thing humanity must get more of quickly, or watch our world burn from a fire of our own making. We fail, we get to watch our grandchildren or our great grandchildren die. All of them.

    I probably shouldn’t have, and hyperbole just a bit on the All Die prediction, but eh, we do nothing about oil running out & climate change, we’re probably all screwed. We’re still probably all screwed anyway, but..

    I wonder if this has anything to do with the slow-motion civilization collapse depicted in my current read, Ready Player One?


  • After Death (mind-dump thoughts on digital death)

    So, here’s something that’s been coming to mind of late, especially with the recent death of Leonard Nimoy.

    Our digital lives varnish after our death. Oh, don’t get me wrong, they’ll last a little longer than our deaths — the server this blog is hosted on for example will stay running. However, it won’t get maintained, that’s what I do, so over time it’ll get hacked, or will break. My brother might take over maintaining it for a while, but in the end, the words and thoughts stored here (some hidden from public view) will vanish.

    Archive.org is great, it’ll keep a copy of these words for posterity.. but who’ll ever read them?

    I’m not sure if I’m morbid at the moment, or it’s just depression talking, but this all feels so.. transient. These words won’t have the lasting power of those stored on a book, in the end they’re stored on media that’ll die a lot faster than a book degrades, stored correctly. Not to mention, they’re stored in a particularly complex format, that isn’t human readable in any way without the right filter and conversions.

    I guess, this is really just underlining the importance of Archive.org and their ilk. Not that I suppose anyone’ll care about what’s stored here.. much as the most read post here is my brother’s posts on linux beep music 😉

  • Low Carb Hot Chocolate

    One of my bosses sent me this, his favourite easy recipe for a nice hot chocolate style drink. Saving it here so I remember to do it..

    Half a tin of coconut milk in a saucepan.
    Stir in as much cocoa as you want, and chunks of chocolate too, if you like it thick.
    Add some xylitol to sweeten.
    Pour into a mug.
    Thick, astonishingly satisfying and good for you.

    (Obviously, only pour into a mug once all the cocoa has mixed and chocolate melted – I use a whisk, and add a capful of vanilla essence too).

  • R.A.O.K

    An explanation more beautiful than my words could ever be:
    Giving Is The Best Communication – Thai Mobile Ad…: http://youtu.be/JPOVwKPMG8o

    The World full of horrible injustices, life is cruel and unfair. Survival of the fittest is now survival of the richest.

    And the worst thing?
    It feels like you’re just too powerless, poor or insignificant against the size if it.

    Starvation, Cancer, HIV, Natural disasters whatever.

    Well the truth is there is something you can do to change the world.

    And its cheap, and simple and should make someone smile.

    Its called A Random Act Of Kindness or RAOK.

    Just do one small thing to improve the life of a stranger.
    See that a Girl sobbing? Go give her a tissue.
    Give your elderly neighbour a Christmas card or invite him round for a cup of tea.
    Hold the door open for someone.
    Carry a lighter just in case someone asks for a light.
    Give out free hugs (I did this once. It was hugely fun. I made sure I got all the people with the saddest expressions 😉 ).

    Have a think. Be good to people, even if you don’t know them.

    Leave a note that says ‘pass it on’

    Now you may never know the difference that a small random act of kindness makes to that stranger. But this is not about fame or fortune, its about changing the world one small random act of kindness at a time.

    My hot tip? Why just one RAOK?

    Share the love.

    And Dear stranger,
    If you find this, pass it on, and have a brilliant week!
    (I know my name is on here, but who I am doesn’t matter. Thank me by doing a RAOK and asking them to pass it on 😉 )