error codes on header

Support for IntegraMOD 141

Moderator: Integra Moderator

error codes on header

PostAuthor: danieln » Thu Jan 15, 2009 8:39 am

Guys,

I am having these codes at the top of the page once i logged in.

---------------------------------------------
Warning: sprintf() [function.sprintf]: Too few arguments in /home/pleoroom/public_html/forum/includes/page_header.php on line 1675

Warning: Cannot modify header information - headers already sent by (output started at /home/pleoroom/public_html/forum/includes/page_header.php:1675) in /home/pleoroom/public_html/forum/includes/page_header.php on line 2317

Warning: Cannot modify header information - headers already sent by (output started at /home/pleoroom/public_html/forum/includes/page_header.php:1675) in /home/pleoroom/public_html/forum/includes/page_header.php on line 2321

Warning: Cannot modify header information - headers already sent by (output started at /home/pleoroom/public_html/forum/includes/page_header.php:1675) in /home/pleoroom/public_html/forum/includes/page_header.php on line 2323
--------------------------------------

Any idea what's causing this? I've disabled the ctracker but still the error codes appear.

danieln
Newbie
Newbie
 
Posts: 15
Likes: 0 post
Liked in: 0 post
Joined: Sun Dec 21, 2008 9:19 am
Cash on hand: 0.00

Re: error codes on header

PostAuthor: danieln » Fri Jan 16, 2009 7:02 pm

Anyone with any idea about this please?

danieln
Newbie
Newbie
 
Posts: 15
Likes: 0 post
Liked in: 0 post
Joined: Sun Dec 21, 2008 9:19 am
Cash on hand: 0.00

Re: error codes on header

PostAuthor: Watcher » Fri Jan 16, 2009 7:50 pm

sorry i dont know what it means just wait till someone that does know posts here
[img=left]http://worldofarkania.net/Downloads/Sig_logo/Steal_Watcher.gif[/img]
User avatar
Watcher
Integra Member
Integra Member
 
Posts: 183
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 05, 2006 9:26 pm
Cash on hand: 0.00

Re: error codes on header

PostAuthor: Helter » Fri Jan 16, 2009 7:56 pm

what mods have you added? That error just says that you have a file that either is missing the php close tag, or has info after the close tag. It can even be caused by blank lines after the close tag.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: error codes on header

PostAuthor: danieln » Sun Jan 18, 2009 8:45 pm

Hi,

I'm just using the full site with no new addons. But I have commented out this section

----------------
if ( $userdata['session_logged_in'] && $ctracker_config->settings['pw_control'] == 1 )

{

if ( time() > $userdata['ct_last_pw_reset'] )

{

$template->assign_block_vars('ctracker_message', array(

'ROW_COLOR' => 'FFDFDF',

'ICON_GLOB' => $images['ctracker_note'],

'L_MESSAGE_TEXT' => sprintf($lang['ctracker_info_pw_expired'], $ctracker_config->settings['pw_validity']),

'L_MARK_MESSAGE' => '',

'U_MARK_MESSAGE' => '')

);

}

}
----------------------

The error codes does not appear any more now, but I'm not sure if this is the right thing to do?

danieln
Newbie
Newbie
 
Posts: 15
Likes: 0 post
Liked in: 0 post
Joined: Sun Dec 21, 2008 9:19 am
Cash on hand: 0.00

Re: error codes on header

PostAuthor: Helter » Sun Jan 18, 2009 9:56 pm

that is not correct. If you have not added any mods, then there is a problem with your page_header because there are only 1406 lines in it
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]