Closed (works as designed)
Project:
Install Profile API (obsolete)
Version:
6.x-2.0
Component:
CRUD functions and includes
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2009 at 16:27 UTC
Updated:
7 Aug 2010 at 18:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
niQo commentedIt seems a line is missing in the code: var $content is not set => eg. $content = ob_get_contents();
Here is a patch which use file_get_contents instead of "ob_" functions.
Comment #2
James Andres commentedThe install_content_copy_import_from_file() function requires an opening PHP tag,
<?php, at the top of each CCK export file.I agree that this behaviour is a little strange, since install_views_ui_import_from_file() doesn't require an opening tag and install_node_export_import_from_file() doesn't require an opening tag.
The counter argument is that having an opening tag at the top of each ".inc" file is important for security. On a misconfigured apache installation the CCK/views/node_export dump would be viewable in the browser (given a direct URL to the dump file).
Comment #3
James Andres commentedClosing this, the issue appears to have died off or been resolved.
Comment #4
safani commentedThis issue is not resolved I am having the same issue and I have no WYSIWYG editors enabled, I have also tried the php suggestion to no avail.