Closed (fixed)
Project:
DITA integration for Drupal
Version:
6.x-1.0-beta4
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2011 at 17:25 UTC
Updated:
13 Nov 2011 at 16:40 UTC
When uploading DITA topics via the form at: /uploaddita, the uploaded topic rendering is garbled. It looks fine when viewing the DITA XML, but not the default rendering.
The Error Log is showing the following errors:
DOMDocument::loadXML(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /var/www/html/sites/all/modules/contrib/dita/dita.export.inc on line 48.
and also:
DOMDocument::loadXML(http://blah/sites/all/modules/contrib/dita/dtd1.2/technicalContent/dtd/c...): failed to open stream: no suitable wrapper could be found in /var/www/html/sites/all/modules/contrib/dita/dita.export.inc on line 48.
Comments
Comment #1
shudson310 commentedSolution is to edit your php.ini file to allow fopen:
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-...
allow_url_fopen = On
Comment #2
shudson310 commentedBase DITA topic type is also not rendering:
Comment #3
mimrock commentedComment #4
mimrock commented