Bug 203633 - www/mediawiki124: Uploading files fails due to PHP Fatal Error
Summary: www/mediawiki124: Uploading files fails due to PHP Fatal Error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 07:49 UTC by packet
Modified: 2015-10-09 08:09 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description packet 2015-10-08 07:49:18 UTC
From my error log file:

[Thu Oct 08 09:26:53.379989 2015] [:error] [pid 34302] [client XXX] PHP Fatal error:  Class 'XMLReader' not found in XXX/includes/libs/XmlTypeCheck.php on line 133, referer: https://XXX/wiki/Spezial:Hochladen

The error goes away if php-xmlreader is installed. I suggest declaring a dependency on php-xmlreader in the port. www/mediawiki125 might have the same problem, although I didn't check.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-10-09 07:17:53 UTC
A commit references this bug:

Author: wen
Date: Fri Oct  9 07:17:15 UTC 2015
New revision: 398903
URL: https://svnweb.freebsd.org/changeset/ports/398903

Log:
  - Add missing depend to fix upload error

  PR:		203633
  Submitted by:	packet@nerdheim.de

Changes:
  head/www/e107/Makefile
  head/www/e107/distinfo
  head/www/mediawiki123/Makefile
  head/www/mediawiki124/Makefile
  head/www/mediawiki125/Makefile
  head/www/punbb/Makefile
  head/www/punbb/distinfo