View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008524 | mantisbt | integration | public | 2007-11-01 03:14 | 2007-11-23 19:00 |
Reporter | mdl | Assigned To | vboctor | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86 | OS | Linux - Slackware | OS Version | 9 |
Product Version | 1.1.0rc2 | ||||
Fixed in Version | 1.1.0rc3 | ||||
Summary | 0008524: core/checkin.php is missing toplevel <? causing the script to fail. | ||||
Description | I have mantis 1.0.6 running at work. I had to modify checkin.php back in March 2007 so that it integrates with my CVS install. Then, I installed 1.1.0rc2 on another server, and this time, the checkin.php was missing the php opening tag, causing the file to be copied back to the cvs client of the person committing a file. I have tons more info on how to make this integration work. I'll submit the patch in a note. | ||||
Steps To Reproduce | add the following line to your "CVSROOT/verifymsg" file: Then, commit a change against the CVS repository. You will see the whole content of checkin.php being sent back by the php interpreter. | ||||
Additional Information | Here's my checkin.php, which works ok for me. I apologize if the text gets garbled. My personal patch is between the line "START CUSTOM" and "END CUSTOM" <fixed> Mantis - a php based bugtracking systemCopyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.orgCopyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.netMantis is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 2 of the License, or(at your option) any later version.# Mantis is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.# You should have received a copy of the GNU General Public Licensealong with Mantis. If not, see http://www.gnu.org/licenses/.
lse ) );
?> | ||||
Tags | No tags attached. | ||||
Oh, sorry the <fixed> </fixed> for triggering a fixed font didn't work |
|
Also, here's the code for config_inc.php:
Basically, I added a cvs-account username to mantis. |
|
Last one: by the way, there's another bug somewhere in there, I just never bothered to fix it: make sure to commit only with just one comment line. Do not spam across multiple lines or the mantis bug ID check will fail. With the above code, you can use either "issue 0000512" or "fixed 0000512" to get the php to read the bug ID as 512. |
|