Ticket #22 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Error in apache log. NPC tab not showing anything

Reported by: anonymous Owned by: divagater
Priority: P1 Milestone:
Component: NPC Severity: normal
Keywords: Cc:

Description

All I get is a blank screen and the following error in the apache error_log

PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_STRING in /store/cacti/plugins/npc/controllers/controller.php on line 363, referer: http:

Change History

Changed 5 years ago by divagater

  • status changed from new to closed
  • resolution set to fixed

This issue was directly related to the php-json module that ships with openSuse 10.2. The user upgraded to the latest PHP version to correct the issue.

Changed 5 years ago by divagater

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 5 years ago by divagater

json at and below 5.2.0 is misinterpreting the following line:

return(json_encode(array('success' => false, 'msg' => "An error occurred in $class->$method. See error logs for detail.")));

need to add a space infront and behind the ->

Changed 5 years ago by divagater

  • status changed from reopened to closed
  • resolution set to fixed

Resolved in changeset:144

Note: See TracTickets for help on using tickets.