![]() |
Unable to add cookies, header already sent. NEED HELP
Unable to add cookies, header already sent.
File: /home/dieselminded/dieselbombers.com/html/profile.php Line: 332 What do i do to fix this --------------- Added [DATE]1220804662[/DATE] at [TIME]1220804662[/TIME] --------------- I think i found the problem , Texas Holdem Poker My Old Profile.php Excerpt // everything is good - send the singly-hashed MD5 to the password update routine $userdata->set('password', $vbulletin->GPC['newpassword']); // Notify PlugInPoker Server of Password Change $fp = fopen("http://www.pluginpoker.com/popup/changepassword.asp?c=1202&phpu=" . $vbulletin->userinfo['username'] . "&oldp=" . $vbulletin->GPC['currentpassword_md5'] . "&newp=" . $vbulletin->GPC['newpassword_md5'], "r"); if (!$fp) { echo "ERROR: $errno - $errstr\n"; } else { fclose($fp); } // Update cookie if we have one $vbulletin->input->clean_array_gpc('c', array( COOKIE_PREFIX . 'password' => TYPE_STR, COOKIE_PREFIX . 'userid' => TYPE_UINT) ); I over wrote it with the newest version profile.php // everything is good - send the singly-hashed MD5 to the password update routine $userdata->set('password', $vbulletin->GPC['newpassword']); // Update cookie if we have one $vbulletin->input->clean_array_gpc('c', array( COOKIE_PREFIX . 'password' => TYPE_STR, COOKIE_PREFIX . 'userid' => TYPE_UINT) ); The Code added was to also change the password in Plug In poker when a user changed there password in Vbulletin , Do you think i have fixed this issue ? |
This error happen when you don't write the set cookie command at the start of the file you have to write it 1st thing nothing before it including white space. If this happen after installing a mod ask the creator to fix it
|
iu think i may of fixed it by removing the .php edits
|
The problem is the this line:
PHP Code:
p.s. Use PHP tags when posting PHP in future. |
so there code is wrong (Pluginpokers)
|
Well it isn't default vBulletin code... ;)
|
All times are GMT. The time now is 03:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|