[RC5] Participant Retirements don't work

Chris Jones fiddles at distributed.net
Wed Dec 31 07:20:31 EST 2003


There's bound to be problems... we havent been able to test it till now, and thats 
only because decibel has now sent the page live.

Perhaps someone with more PHP knowledge than I can take a look at the page - its 
probable that I missed something when i converted it over to pgsql

Chris
fiddles at distributed.net

On 31-Dec-2003, Floppus wrote:
> Pretire.php doesn't seem to work in any case I have encountered (4 different
> cases) of which some were from a team-member to a team-member, and one was
> from a non-team-member to a team member. I have no test material for
> retiring to a participant outside a team.
> 
> Source:
> http://cvs.distributed.net/viewcvs.cgi/*checkout*/stats-html2/participant/pretire.php?rev=HEAD&content-type=text/plain
> 
> First, which is only administrative; in the header is referred to the
> variable EM, where in the code EMS is used.
> 
> Secondly; what have I experienced:
> 
> 1) It's not clear (enough) to users where to use their ID-number or their
> ID-e-mailaddress
> 
> 2) By default, the "project_id=8" is not included in the link, resulting in
> a header which says OGR-25, even if the participant that is retiring only
> did RC5-72. I know this has nothing to do with Pretire.php itself, but it
> seems to confuse people.
> 
> 3) When following the default procedure, a blank screen appears after
> clicking the e-mail address to which should be retired. When looking at the
> source of the page, the page is </HTML>ed as it should, but there's nothing
> in the page.
> 
> 4) When trying to look up the participant that was retired, it will not show
> up, which would be normal if the retirement was actually done. After the
> next statsrun however, the participant can be searched for as before.
> 
> 5) when manually adding the e-mail ID to the link (i.e. &EMS=test at moo.com)
> the page where the e-mail address to retire to can be clicked appears, with
> below it the following error (the text only ofcourse, but this is where it
> goes wrong).
> 
> $result = $gpart->retire($destid);
>       if ($result == FALSE) {
>         print "
>           <h2>Retire Procedure Failed</h2>
>           <p>Ahh well, i'll try again later...</p>";
> 
> I'm sorry that I'm not able to narrow down what's exactly wrong yet, but I'm
> no PhP expert (yet ;)).
> 
> I hope this information can help the real coders a bit.
> 
> Floppus
> 
> 
> 
> 
> 
> _______________________________________________
> rc5 mailing list
> rc5 at lists.distributed.net
> http://lists.distributed.net/mailman/listinfo/rc5


More information about the rc5 mailing list