That worked.
Thanks.
Thomas
-----Oprindelig meddelelse----- Fra: observium [mailto:observium-bounces@observium.org] På vegne af Tom Laermans Sendt: 4. november 2013 10:53 Til: Observium Network Observation System Emne: Re: [Observium] observium just stops after switching to subscription.
Ok, so there's a syntax error in there according to your PHP.
root@observium1:/opt/observium/includes/debug# php -l ref.inc.php No syntax errors detected in ref.inc.php
Line 187 is an empty line, try rm'ing the file, then svn up again?
Tom
On 11/04/2013 08:23 AM, Thomas Raabo - Zitcom A/S wrote:
php includes/debug/ref.inc.php PHP Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /var/observium/includes/debug/ref.inc.php on line 187
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: 3. november 2013 23:14 To: Observium Network Observation System Subject: Re: [Observium] observium just stops after switching to subscription.
It's of course possible that older versions of PHP break when including ref.
what happens if you run "php includes/debug/ref.inc.php" ?
adam.
On 2013-11-03 22:08, Tom Laermans wrote:
Hi,
Uncommenting that line fixes your issue? How on earth did you even get to uncommenting that? =) It almost certainly is not the cause of the problem.
I'm guessing you have a syntax error in your configuration file, please run php -l config.php and see if it complains about anything.
On 03/11/2013 22:07, Thomas Raabo - Zitcom A/S wrote: If i run discovery.php -h none I get no output.
The only way I could get it going again was to uncomment this line in common.php if (file_exists($config['install_dir']."/includes/debug/ref.inc.php")) { include($config['install_dir']."/includes/debug/ref.inc.php"); $ref_loaded = TRUE; }
Whats my problem? I´am running centos.
Question and answer, bingo =)
Tom _______________________________________________ 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 _______________________________________________ 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