conte/profile.php header() function error

Project:RUetd
Version:2.2.2
Component:Code
Category:bug report
Priority:normal
Assigned:martyb
Status:closed
Description

The header() function redirect in the script which is meant for redirecting first time users after they save their information is placed after the template.php has streamed content. This caused an error and need to be reviewed.

Comments

#1

Version:2.3.0» 2.2.2

#2

Status:active» test

Changed from using a PHP header redirect to using a Javascript redirect since the headers were already being written by template.php. Edited 'content/profile.php'. Please test in different browsers since the solution is Javascript it might behave differently

#3

Assigned to:chadmills» martyb

#4

Status:test» closed

Error message no longer appears after first-time user updates personal info. Tested with Firefox 3.6.10 and IE 8.0.

Back to top