MyBB Community Forums

Full Version: Portal Error?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I placed the portal.php in a different directory, so it would look like this:
http://url.com/ -> portal.php
http://forums.url.com/index.php -> forums
I changed the variable (the first one) at the the top, but it displays this error:

The following warnings occurred:
Warning [2] Cannot modify header information - headers already sent by (output started at /usr/www/gp/public/portal.php:1) - Line: 1548 - File: inc/functions.php PHP 5.2.12-pl0-gentoo (Linux)
File	Line	Function
[PHP]	 	errorHandler->error
/inc/functions.php	1548	header
/inc/class_session.php	360	my_setcookie
/inc/class_session.php	98	session->load_guest
/global.php	56	session->init
/usr/www/gp/public/portal.php	37	require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /usr/www/gp/public/portal.php:1) - Line: 1548 - File: inc/functions.php PHP 5.2.12-pl0-gentoo (Linux)
File	Line	Function
[PHP]	 	errorHandler->error
/inc/functions.php	1548	header
/inc/class_session.php	365	my_setcookie
/inc/class_session.php	98	session->load_guest
/global.php	56	session->init
/usr/www/gp/public/portal.php	37	require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /usr/www/gp/public/portal.php:1) - Line: 1548 - File: inc/functions.php PHP 5.2.12-pl0-gentoo (Linux)
File	Line	Function
[PHP]	 	errorHandler->error
/inc/functions.php	1548	header
/inc/class_session.php	106	my_setcookie
/global.php	56	session->init
/usr/www/gp/public/portal.php	37	require_once

Sorry if the above is a bit messy, anyhow, thanks!
Did you use notepad to edit it?? Upload a new copy of it and edit it in wordpad or notepad++ or something, some extra characters have been added to the top of the file.
Thanks! That worked perfectly!