DISQUS

Apocryph: Got Laconi.ca installed on my DreamHost account | apocryph.org

  • Mike Keliher · 1 year ago
    Thanks for putting this together. I really appreciate it, as I'm certainly not experienced in this realm and I'm struggling to learn from other sites that don't explain things well.

    One question: I have things set up, but when my page loads (http://mbtest.unjournalism.com), I see this error up top:

    "DB_DataObject Error: Connect failed, turn on debugging to 5 see why"

    I, too, am on Dreamhost, if that matter. Any ideas off the top of your head? I don't expect full-on Laconi.ca support from you, but if you have any ideas on where to start, I'd appreciate it.

    For what it's worth, when you say, "I then ran the MySQL command line client to run the db/laconica.sql script to populate the database" -- I haven't been able to figure out exactly how to do that, but I used Dreamhost's phpMyAdmin to "import" the laconica.sql file into the database I created for Laconi.ca. I'm not sure if that's the right thing to do or not.

    Thanks again...
  • anelson · 1 year ago
    I'm not by any means expert in PHP (in fact, I avoid it whenever I can). I too had the 'Connect failed' message, and before I could figure how how to "turn on debugging to 5", I realized it was caused by messed up DB connection settings in config.php. The 'Connect failed' message is a generic DB_DataObject error and not specific to Laconi.ca; I'm sure instructions on how to turn on debugging and what to do after that can be had on Goggle.

    phpMyAdmin import should work fine too. The MySQL command line is

    mysql -u username -p -h mysqlhostname databasename < db/laconica.sql

    As long as the database objects got created, you're fine.

    Good luck w/ the DB error!
  • Dan Brickley · 1 year ago
    Great :) I've added a link to this post from http://laconi.ca/Main/LaconicaOnDreamhost (feel free to help integrate the notes there ...). Seems a few of us are trying to get it all working. Any luck with xmpp or syndication yet?
  • anelson · 1 year ago
    Cool. I've not played with XMPP or syndication yet. If I get a chance to I'll update the post (and maybe the wiki).
  • Babs · 1 year ago
    I got error in installing pear!!

    pear install DB_DataObject#mysql
    WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
    Skipping package "pear/DB_DataObject", already installed as version 1.8.8
    No valid packages found
    install failed
  • Jordan Brough · 1 year ago
    Thank you for taking the time to write this up. With your guide, I was able to get two instances of laconi.ca up and running on dreamhost servers.