OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Error in "Cannot modify header"

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

Error in "Cannot modify header"

Postby jotmigroup » Thu Apr 12, 2007 3:59 pm

Profesor Alec Smecher:

When I put this http://jotmigroup.com/har/index.php/adm ... sswalkId=1

appears this other:

Notice: Only variable references should be returned by reference in /home/jotmigro/public_html/cos/classes/field/Crosswalk.inc.php on line 166

Warning: Cannot modify header information - headers already sent by (output started at /home/jotmigro/public_html/cos/classes/field/Crosswalk.inc.php:166) in /home/jotmigro/public_html/cos/classes/template/TemplateManager.inc.php on line 127

Help my please...
Best Regards
jotmigroup
 
Posts: 2
Joined: Thu Apr 12, 2007 3:38 pm

Postby asmecher » Thu Apr 12, 2007 10:09 pm

Hi Alejandro,

The message itself is harmless -- to hide it, you can either configure PHP not to display notices or warnings to the browser, or you can apply the patch at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2801 to correct the problem. Let me know if you need help applying the patch.

Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8453
Joined: Wed Aug 10, 2005 12:56 pm

Postby jotmigroup » Fri Apr 13, 2007 8:22 am

Profesor Smecher:
Thank a lot . The first problem is ok. Unfortunately I have another problem: When I put this http://jotmigroup.com/har/index.php/adm ... eCrosswalk
appears this other:

Notice: Use of undefined constant FIELD_TYPE_DATAE - assumed 'FIELD_TYPE_DATAE' in /home/jotmigro/public_html/har/classes/admin/form/CrosswalkForm.inc.php on line 203

etc etc etc (other 13 times)

Warning: Cannot modify header information - headers already sent by (output started at /home/jotmigro/public_html/har/classes/admin/form/CrosswalkForm.inc.php:203) in /home/jotmigro/public_html/har/classes/core/Request.inc.php on line 41

Best Regards
jotmigroup
 
Posts: 2
Joined: Thu Apr 12, 2007 3:38 pm

Postby asmecher » Fri Apr 13, 2007 9:15 am

Hi Alejandro,

That's a typo in the code; see http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2803 for a link to a patch.

Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8453
Joined: Wed Aug 10, 2005 12:56 pm


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: No registered users and 1 guest