Download & Extend

.install file: Cannot modify header information

Project:pgapi - Payment Gateway API
Version:6.x-1.2-beta4
Component:Code
Category:bug report
Priority:normal
Assigned:gor
Status:closed (fixed)

Issue Summary

The .install files for pgapi and it's sub-modules contain blank lines after the closing "?>" php tag. This results in php errors like:

Cannot modify header information - headers already sent by (output started at /home/rcourtna/workspace/drupal/sites/all/modules/pgapi/pgapi.install:52) in /home/rcourtna/workspace/drupal/includes/common.inc on line 319.

(See "PHP Code Tags" section of http://drupal.org/coding-standards).

The attached patch removes the closing php tags from all .install files.

AttachmentSize
pgapi_closephp.patch1.86 KB

Comments

#1

Status:needs review» reviewed & tested by the community

Yep, patch looks good.

#2

Version:6.x-1.x-dev» 6.x-1.2-beta4
Assigned to:Anonymous» gor
Status:reviewed & tested by the community» fixed

#3

Status:fixed» closed (fixed)