airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marlon Pierce (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRAVATA-1376) PHP Gateway gives warning messages about header settings
Date Mon, 11 Aug 2014 15:08:12 GMT
Marlon Pierce created AIRAVATA-1376:
---------------------------------------

             Summary: PHP Gateway gives warning messages about header settings
                 Key: AIRAVATA-1376
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1376
             Project: Airavata
          Issue Type: Improvement
            Reporter: Marlon Pierce


This shows up in my local installation but not the primary "test-drive.airavata.org" site.
 

All pages give the following:
Warning: Cannot modify header information - headers already sent by (output started at /private/var/www/PHP-Reference-Gateway/index.php:

The problem is stems from trying to set HTTP header and HTML <head> information in the
same function in utilities.php. This can be resolved by splitting the "create_head()" function
into "create_http_header()" and "create_html_head()". The first function can then be called
in the initial <php ?> lines of each page and the second can be called after <html>>



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message