[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 180: Cannot modify header information - headers already sent by (output started at [ROOT]/feed.php:1)
IntegraMOD Home of phpBB Integrated Modifications 2006-08-30T14:37:57-07:00 https://integramod.com/forum/feed.php?f=17&t=210 2006-08-30T14:37:57-07:00 2006-08-30T14:37:57-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=14601#p14601 <![CDATA[Re: CGI Error on Security 1.0.3 update]]> Statistics: Posted Author: davidgreen73 — Wed Aug 30, 2006 2:37 pm


]]>
2006-05-26T16:53:01-07:00 2006-05-26T16:53:01-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7500#p7500 <![CDATA[CGI Error on Security 1.0.3 update]]>
I still think the fix would be good to have, simply because it does affect some people (probably a very small group).

Statistics: Posted Author: Jason Sanborn — Fri May 26, 2006 4:53 pm


]]>
2006-05-26T07:13:55-07:00 2006-05-26T07:13:55-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7437#p7437 <![CDATA[CGI Error on Security 1.0.3 update]]>
I haven't had a chance to create a test site on my server yet. Plan on doing that later today.

Statistics: Posted Author: Jason Sanborn — Fri May 26, 2006 7:13 am


]]>
2006-05-25T23:39:30-07:00 2006-05-25T23:39:30-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7383#p7383 <![CDATA[CGI Error on Security 1.0.3 update]]>
Also I note that once on old integraMOD there was one person who could never get the Integramod info link in ACP.

A

Statistics: Posted Author: Adrian Rea — Thu May 25, 2006 11:39 pm


]]>
2006-05-25T07:42:10-07:00 2006-05-25T07:42:10-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7284#p7284 <![CDATA[CGI Error on Security 1.0.3 update]]>
This issue seems to be involving Windows and IIS running php either as a CGI plugin (which is what I do locally) or as an ISAPI filter (which is what my server runs).

As an additional FYI, when I wasn't connected to the net, it gave no error at all. It simply stated that it couldn't retrieve the information (as expected).

Statistics: Posted Author: Jason Sanborn — Thu May 25, 2006 7:42 am


]]>
2006-05-25T04:27:16-07:00 2006-05-25T04:27:16-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7237#p7237 <![CDATA[Re: CGI Error on Security 1.0.3 update]]>

I'm not going to create a username there to post once, so if you like you can relay this.

My way works fine if the site is online, if you have a test site on your PC using EasyPHP or similar, then naturally its going to crash out because its on your local on not the net.

None the less, i will consider when i update it, changing it to something more similar using fsocket instead of file.
I am happy to return any productive comments from this.

A

Statistics: Posted Author: Adrian Rea — Thu May 25, 2006 4:27 am


]]>
2006-05-23T21:20:55-07:00 2006-05-23T21:20:55-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7085#p7085 <![CDATA[CGI Error on Security 1.0.3 update]]>
Maybe someone who's been a member over there can give more feedback on the situation?

Statistics: Posted Author: Jason Sanborn — Tue May 23, 2006 9:20 pm


]]>
2006-05-23T21:02:23-07:00 2006-05-23T21:02:23-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=7081#p7081 <![CDATA[CGI Error on Security 1.0.3 update]]>

Have you considered relaying this to Austin, the Mod's creator?

Thanks again, good diagnosis and treatment <img>

A

Statistics: Posted Author: Adrian Rea — Tue May 23, 2006 9:02 pm


]]>
2006-05-22T18:39:48-07:00 2006-05-22T18:39:48-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=6952#p6952 <![CDATA[CGI Error on Security 1.0.3 update]]> Statistics: Posted Author: Jason Sanborn — Mon May 22, 2006 6:39 pm


]]>
2006-05-22T18:38:30-07:00 2006-05-22T18:38:30-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=6951#p6951 <![CDATA[CGI Error on Security 1.0.3 update]]>
OPEN: adminindex.php

FIND:
#======================================================================= |#==== Start];     $this_ver   = $board_config['phpBBSecurity_version'];             if ($newest_ver == $this_ver)             $msg .= 'The newest release is <b>'. $newest_ver .'</b>. The version you are using is             <b>'. $this_ver .'</b>. So I would have to say you are up to date!';         else             $msg .= 'The newest release is <b>'. $newest_ver .'</b>. The version you are using is             <b>'. $this_ver .'</b>. So I would have to say you need to upgrade ASAP!';         }             $msg .= '             </span>';     $msg .= '         </td>';     $msg .= '    </tr>';     $msg .= '    <tr>';     $msg .= '         <th> </th>';     $msg .= '    </tr>';     $msg .= '</table>';     echo $msg;#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |#==== End: ==== phpBB Security ========================================= |   #======================================================================= |


REPLACE WITH:
#======================================================================= |#==== Start];                 if ($newest_ver == $this_ver)         {             $msg .= 'The newest release is <b>'. $newest_ver .'</b>. The version you are using is             <b>'. $this_ver .'</b>. So I would have to say you are up to date!';         }         else         {             $msg .= 'The newest release is <b>'. $newest_ver .'</b>. The version you are using is             <b>'. $this_ver .'</b>. So I would have to say you need to upgrade ASAP!';         }     }     else     {         if ($errstr)         {             $msg .= '<p>Sorry, I was unable to get version data at this time. Please try later.<br>'. $errstr . '</p>';         }         else         {             $msg .= '<p>' . $lang['Socket_functions_disabled'] . '</p>';         }     }       $msg .= '             </span>';     $msg .= '         </td>';     $msg .= '    </tr>';     $msg .= '    <tr>';     $msg .= '         <th> </th>';     $msg .= '    </tr>';     $msg .= '</table>';     echo $msg;#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |#==== End: ==== phpBB Security ========================================= |   #======================================================================= |

Statistics: Posted Author: Jason Sanborn — Mon May 22, 2006 6:38 pm


]]>
2006-04-13T16:19:46-07:00 2006-04-13T16:19:46-07:00 https://integramod.com/forum/viewtopic.php?t=210&p=1464#p1464 <![CDATA[CGI Error on Security 1.0.3 update]]>
Dev Computer: Windows XP Pro // IIS 5.1 // PHP 4.4.2 Running as CGI
IntegraMOD 1.4.0 // phpBB 2.0.19 // phpBB Security 1.0.3

Live Server: Windows 2003 // IIS 6 // PHP 4.4.2 Running as ISAPI
IntegraMOD 1.4.0 // phpBB 2.0.19 // phpBB Security 1.0.2

When I updated my Dev Computer to phpBB Security 1.0.3, the CGI module for PHP crashed and the ACP Panel returned a CGI Error. I haven't updated my live site for obvious reasons.

Now, when reading through information relating to this, I have tracked the error down to the following location:

File: admin/index.php
Line Number: Around 77
Line Value: $secfile = @file('http://phpbb-tweaks.com/secver.txt');

When I comment out the above line, the module no longer crashes, and I can open my ACP. Only problem is the feature for alerting me to if an update is needed for phpBB Security always says that it can't get the version data.

Now, the obvious work-around would be to comment out the entire section that was added to that file:

/*#======================================================================= |#==== Start];     $this_ver   = $board_config['phpBBSecurity_version'];             if ($newest_ver == $this_ver)             $msg .= 'The newest release is <b>'. $newest_ver .'</b>. The version you are using is             <b>'. $this_ver .'</b>. So I would have to say you are up to date!';         else             $msg .= 'The newest release is <b>'. $newest_ver .'</b>. The version you are using is             <b>'. $this_ver .'</b>. So I would have to say you need to upgrade ASAP!';         }             $msg .= '             </span>';     $msg .= '         </td>';     $msg .= '    </tr>';     $msg .= '    <tr>';     $msg .= '         <th> </th>';     $msg .= '    </tr>';     $msg .= '</table>';     echo $msg;#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |#==== End: ==== phpBB Security ========================================= |   #======================================================================= |*/


The problem with doing that is that the feature goes away. The thing is, the same feature works fine for phpBB and for IntegraMOD, and the update information is displayed as expected. So I know there is a way to get that to work without using @file to the remote site. Unfortunately, my knowledge of PHP is quite limited. That is why I post this issue here. Perhaps one of the PHP gurus here might be able to restructure this code to still work, so that users on Windows based systems won't have this issue.

Statistics: Posted Author: Jason Sanborn — Thu Apr 13, 2006 4:19 pm


]]>