managed to fix my hip chat notifications myself, 

they have changed the API slightly!

the is a max limit on the FROM of 25 characters now

also my php.ini is already set as error_reporting = E_ALL & ~E_NOTICE as per instructions on website :P

Simon


On 6 Jan 2016, at 3:38 pm, Adam Armstrong <adama@memetic.org> wrote:

Probably turning off php warnings would be a start :D

Nothing has changed.

Adam.

Sent from BlueMail

On 6 Jan 2016, at 15:22, Simon Smith <simonsmith5521@gmail.com> wrote:
Hi All.

having a strange issue,

my HipChat Notifications stopped working, so be trying to debug them - I just keep getting 400 Bad Request

but i’ve noticed something else weird, after i run the test_alerts.php with -dd

I’m seeing

o Notifying [email] Simon: simon@hestor.com
Load class 'Mail_mime' from '/opt/observium/libs/pear/Mail/mime.php': OK
Load class 'Mail' from '/opt/observium/libs/pear/Mail/Mail.php': OK
PHP Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 153

Strict Standards: Non-static method Mail::factory() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 153
PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 157

Strict Standards: Non-static method PEAR::isError() should not be called statically in /opt/observium/includes/alerting/email.inc.php on line 157

I haven’t changed anything apart from weekly svn up’s

could this error be affecting the hipchat?

I’m setting the contact as

room_id::ROOMID||from::FROMOBSERVIUMEMAILACCOUNT||token::VERYLONGTOKENHERE||url::https://URLOFHIPCHATSERVERWITHSSL

am i missing something or has something changed?

regards

Simon


observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium