Ticket #1631 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 2 years ago

rss-functions.php error typo

Reported by: noderat Assigned to: markjaquith
Priority: high Milestone:
Component: Administration Version: 1.6
Severity: major Keywords: rss magpie bg|has-patch bg|commit
Cc:

Description

Revision 2810 has a typo, replace die() with trigger_error() to stop the php error message on access of dashboard.

if (!function_exists('xml_parser_create')) {
			die( "Failed to load PHP's XML Extension. " . 
 						  "http://www.php.net/manual/en/ref.xml.php",
 						   E_USER_ERROR );

should be:

if (!function_exists('xml_parser_create')) {
			trigger_error( "Failed to load PHP's XML Extension. " . 
 						  "http://www.php.net/manual/en/ref.xml.php",
 						   E_USER_ERROR );

as well as the second occurance directly below that snippet.

Attachments

triggererrorpatch.txt (0.8 kB) - added by noderat on 08/28/05 03:36:29.
Patch to fix problem.

Change History

08/28/05 03:36:29 changed by noderat

  • attachment triggererrorpatch.txt added.

Patch to fix problem.

08/30/05 20:03:41 changed by markjaquith

  • keywords changed from rss, magpie to rss magpie bg|has-patch bg|commit.
  • owner changed from anonymous to markjaquith.
  • status changed from new to assigned.
  • severity changed from critical to major.
  • priority changed from highest to high.

09/05/05 22:39:33 changed by markjaquith

  • milestone set to 1.6.

11/14/05 10:21:42 changed by matt

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [3083]) Don't die on me now! Fixes #1631

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted