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