Posted by Sunil Mohan on May 15, 2007 at 5:00am
| Project: | Import / Export API |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
I tried to write a module using the import export api. When I tried send a header, php complained that output already started. It turns out the minixml library has two php files which have a blank line at the end which are causing this problem. The attached simple patch fixed the problem for me and let me send headers properly.
| Attachment | Size |
|---|---|
| 01_remove_minixml_blank_lines.patch | 1.03 KB |
Comments
#1
That's true, and those closing PHP tags should be removed completely.
@Sunil: Please always provide patches with a root path based on the project, i.e. from inside importexportapi, not outside.