Looks to me like you don't have your config.php set up properly. Specifically, $config['site']['name'] = 'Just another Laconica microblog'; $config['site']['server'] = 'localhost';
Did you delete the first line? If you don't have the first line there, or if it is commented out, you will get the error on line 178 of util.php Did you set the server name to 'laconicasite' ? My guess is that is what happened and causes those links to look the way they do. For my config.php, I have $config['site']['name'] = 'Orient Lodge Microblog'; $config['site']['server'] = 'micro.orient-lodge.com'; As to the XMPP error, I'm going to guess that you don't have XMPP properly installed. Do you have an XMPPHP directory in your install? Do you have an XMPP.php file in that directory? What is the size of the XMPP.php file? There is an old one which is about 3k, which does not have the features necessary to support XMPP. The newer one is about 8K. If you pull down the file http://www.orient-lodge.com/laconicadepends01.tar.gz tar file, that should have all of the dependent files you need, including a current version of XMPP. Hope this helps. Aldon -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marcel Gagne Sent: Thursday, August 21, 2008 1:46 PM To: [email protected] Subject: [Laconica-dev] Bug, and patch, to laconica server's jabber code Hello all, After getting Laconica up and running, I was left with a server that worked well, for the most part, but that did have a couple of troubling issues. When posting an update, it returns me to a blank page with this link: http://laconicasite/notices/new Just that, a blank page. Not a 404 and show source in Firefox comes back blank as well. If I go back to the main page, the update I just posted is there. In my system log, I get this error: Undefined variable: language in /var/www/html/laconica/lib/util.php on line 178 Given that I get this error when I delete a post and the following page reloads appropriately, I looked a little further. I found this: PHP Fatal error: Class 'XMPPHP_XMPP' not found in /var/www/html/laconica/lib/jabber.php I thought that might have something to do with it, so I checked Decafbad's online installation instructions and saw references to this in the comments section. I had already downloaded the Google code xmpphp package and extracted in my lib directory, but it didn't see to help. So I followed the instructions to rename the file and created the symbolic link. Even there, however, the comment doesn't help since jabber.php calls XHPPHP/XMPP.php rather than XMPP/XMPP.php (what the comment actually suggests). So I went looking for this class and found the culprit. On line 26 of jabber.php, it says: class Laconica_XMPP extends XMPPHP_XMPP { There is no such class in XMPP.php (or xmpp.php, which is the original name in the Google code library). Changing the line to . . . class Laconica_XMPP extends XMPP { . . . fixed the problem. Hope this helps somebody. Take care out there. -- Marcel (Writer and Free Thinker at Large) Gagné Note: This massagee wos nat speel or gramer-checkered. Main Websites: www.marcelgagne.com AND www.cookingwithlinux.com Author of the "Moving to Linux" series of books Follow me : http://twitter.com/wftl Join the WFTL-LUG : http://www.wftl-lug.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev _______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
