View Issue Details

IDProjectCategoryView StatusLast Update
0005763mantisbtscriptingpublic2010-09-19 03:11
Reporterapon Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
PlatformIntelOSSuSE LinuxOS Version8.2
Product Versiongit trunk 
Summary0005763: checkin.php freeze and fail to arvg[1] file.
Description

I'm testing cvs integration using the checkin.php.
Using: SuSE 8.2/apache-1.3.27-99/mod_php4-4.3.1-178, the checkin.php was hanging forever. After some debug I've found out that commenting the line:
###########################################################################

INCLUDES

    ###########################################################################

    # Before doing anything else, start output buffering so we don't prevent
    #  headers from being sent if there's a blank line in an included file
    #ob_start( 'compress_handler' ); <- This one

It didn't hang anymore. (Don't ask me why, I no nothing about php4)
Firt problem solved (I guess)

Second, I've found out that $argv[1] was not returning the first argument. Actually, it was returning just nothing. So used "$_SERVER['argv'][1]" instead and it did ok.

None of this happend on a SuSE 9.0 box.
Using apache-1.3.28-77/mod_php4-4.3.3-189.
With this conf it work just perfect. I think it may the php4 version.

Steps To Reproduce

Get a running mantis 1.0.0a3 or above.
Comment the line ob_start on mantis_dir/core.php
cp the attached checkin.php to mantis_dir/core/checkin.php
It may be a good idea to hava a test cvs repository, but if not the same test can be made by calling on command line, like "php mantis_dir/core/checkin.php test.txt"

TagsNo tags attached.
Attached Files
checkin.zip (1,334 bytes)

Relationships

related to 0011732 closeddhx Remove built-in source code integration support 
has duplicate 0005762 closedthraxisp checkin.php freeze and fail to arvg[1] file. 

Activities

dhx

dhx

2010-03-31 04:27

reporter   ~0024964

Won't fix as this old source code integration support is being dropped in favour of using a more modern plugin approach with the SourceIntegration plugin.

Refer to 0011732 for more details and feedback.