observium just stops after switching to subscription.
![](https://secure.gravatar.com/avatar/63e085ca6dd4686ec2f18098fed70f3c.jpg?s=120&d=mm&r=g)
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.
Thomas
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Err... so I had to read "uncommenting" as "commenting" ?
Tom
On 03/11/2013 23:13, Adam Armstrong wrote:
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
![](https://secure.gravatar.com/avatar/63e085ca6dd4686ec2f18098fed70f3c.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/63e085ca6dd4686ec2f18098fed70f3c.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
I'd love to know why this happens.
Especially, in Thomas's case, on a clean svn checkout...
adam.
On 2013-11-04 18:34, Thomas Raabo - Zitcom A/S wrote:
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 _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/63e085ca6dd4686ec2f18098fed70f3c.jpg?s=120&d=mm&r=g)
Debug :) until I found what caused the code to exit.
[root@mgmt3 observium]# php -l config.php No syntax errors detected in config.php
Thomas
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tom Laermans Sent: 3. november 2013 23:09 To: Observium Network Observation System Subject: Re: [Observium] observium just stops after switching to subscription.
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
participants (3)
-
Adam Armstrong
-
Thomas Raabo - Zitcom A/S
-
Tom Laermans