Not logged in. · Lost password · Register
Forum: Support Bug reports and troubleshooting RSS
Jabber notification doesn't work..
Page:  previous  1  2  3  next 
Avatar
Yves (Administrator) #16
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post ID 8911
For the record, the new library cannot authenticate to Google Talk either. So we haven't won anything by this. I have got a pre-release version of that Blitzaffe Jabber library which should support PHP5. So I'll try and move on to that library, maybe we're lucky at last. If not, there are no further options and Jabber will slowly die for PHP applications. Sad but true. See my jdev-list posting for details about the current situation. No considerable replies to that one...
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
NFG #17
Member since Sep 2006 · 120 posts
Group memberships: Members
Show profile · Link to this post
Aww, that's a real shame.  I had just started trying to get this working yesterday and was really looking forward to it.
Avatar
Dogge #18
Member since Feb 2007 · 44 posts · Location: Miltenberg/Berndiel
Group memberships: Members
Show profile · Link to this post
Geht die Jabber-Notification wieder?
Bei mir geht sie nicht und ich weiß nicht obs am Board oder dem Jabber-Server liegt.
jense #19
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Quote by Dogge:
Geht die Jabber-Notification wieder?
Bei mir geht sie nicht und ich weiß nicht obs am Board oder dem Jabber-Server liegt.
Die Jabber-Klasse erstellt ein Verbindungsprotokoll, dass man mit einer Zeile PHP in eine Datei umleiten kann.  Es ist nicht allzu schwierig, daraus schlau zu werden und die Ursache des Problems zu finden...
Alala, Alala, Gimme three wishes - CSS
Avatar
Dogge #20
Member since Feb 2007 · 44 posts · Location: Miltenberg/Berndiel
Group memberships: Members
Show profile · Link to this post
Also im error.log find ich folgendes:

Jabber error: -2
Backtrace:
  • httpdocs/unb_lib/mail.lib.php : 176 : UnbErrorLog("Jabber error: -2")
  • httpdocs/unb_lib/post.inc.php : 202 : UnbNotifyUser(array(1), 4, "mail.threadwatchnotify-jabber.subject", array(1), "mail.threadwatchnotify-jabber.body", array(4))
  • httpdocs/unb_lib/post.inc.php : 599 : SendWatchNotification(object(IForum), object(IThread), object(IPost), 19, "")
  • board/httpdocs/forum.php : 155 : require("/var/www/vhosts/mdosch.de/subdomains/bo…")

Aber daraus werd ich nicht wirklich schlau. :(
jense #21
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Das meinte ich auch nicht... übrigens:
  1. // returns (int) 0: success
  2. //               -1: can't connect to Jabber server
  3. //               -2: can't authenticate to Jabber server
  4. //               -3: can't sent one of many messages (aborting here)
  5. //               -4: can't send one of one message
  6. //
  7. function UnbJabberSendMessage($to, $subject = '', $body = '')

Lang: Ein bisschen Eigeninitiative ist gefragt (und etwas Programmierkenntnis). In UnbJabberSendMessage mußt Du Dir das Feld $j->log anschauen.  Da steht wirklich alles drin, was beim Verbindungsaufbau passiert.
Kurz: Geht wohl nicht... :-)
Alala, Alala, Gimme three wishes - CSS
jense #22
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Just for the record: [jdev] XMPPHP 0.1 beta announcement...
Hm, nothing more to say, however, I need to trick the board's spam protection. :-)
Alala, Alala, Gimme three wishes - CSS
Avatar
Saxtus #23
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
Ahem... Is this not known? xmpphp
If it is sorry for re-mentioning it...
The Answer to Life, the Universe, and Everything = 42
jense #24
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Quote by Saxtus:
Ahem... Is this not known? xmpphp
I've just provided the announcement in the jdev-list in my previous post... :-)
Alala, Alala, Gimme three wishes - CSS
Avatar
Yves (Administrator) #25
User title: UNB developer & webmaster
Member since Jan 2004 · 3814 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The xmpphp developer has already talked to me and we've been testing the r10 version of the library to send messages. It has been working fine over Google Talk and Openfire with TLS. I assume this can be a pretty good solution to the Jabber connection problems. I just didn't get to replacing the code yet... Hope I can do it within the next days.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
Avatar
Saxtus #26
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
This will make UNB not compatible with PHP4?
The Answer to Life, the Universe, and Everything = 42
jense #27
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Quote by Saxtus:
This will make UNB not compatible with PHP4?
PHP4 is dead, officially.  So, who cares?  Me wouldn't mind to not support broken software with a bad security record...
Alala, Alala, Gimme three wishes - CSS
Avatar
Saxtus #28
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post #24
Quote by jense:
I've just provided the announcement in the jdev-list in my previous post... :-)
To be honest I didn't saw that the announcement had the link at the end.

Quote by jense:
PHP4 is dead, officially.  So, who cares?  Me wouldn't mind to not support broken software with a bad security record...
I've missed the stats of what version of PHP servers are using, please point it to me.
The Answer to Life, the Universe, and Everything = 42
jense #29
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Quote by Saxtus:
I've missed the stats of what version of PHP servers are using, please point it to me.
I'd expect that a large percentage still has PHP4 as default (*).  The main reason is that they don't dare to change it because Joe User uses ancient PHP scripts that certainly break.  However, any provider I know supports PHP5, so, it's really just a matter of documentation what to change (more or less rename forum.php in forum.php5)!

(*) really great: no fixes for more than three month and certainly a plethora of security holes - that's "service" for the customer...
Alala, Alala, Gimme three wishes - CSS
Avatar
Saxtus #30
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
The difference between us is that you don't care but I do.
Instead of me also telling "I don't care" I want to suggest to Yves to keep the old Jabber library as optional for those that are still using PHP4. At least not to break PHP4 compatibility before the jump to UNB2.
The Answer to Life, the Universe, and Everything = 42
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2  3  next 
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 220.9 ms (133.6 ms) · 137 database queries in 146.4 ms
Current time: 2012-02-08, 09:46:47 (UTC +01:00)