Announcement

Collapse
No announcement yet.

Universe results too large

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Universe results too large

    The latest complete universe results are too large to be encapsulated in a URI.

    The PTS server responds:

    414 Request-URI Too Large
    The results I'm trying to upload are:
    http://fire-salamander.co.uk/temp/pt...5-09-gecko.xml
    http://fire-salamander.co.uk/temp/pt...-gecko-ocd.xml
    http://fire-salamander.co.uk/temp/pt...5-09-q6600.xml

    I also added 2 lines to report when an upload fails:
    Code:
    diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
    index 7a945a3..1dfef0b 100644
    --- a/pts-core/pts-run-cmd.php
    +++ b/pts-core/pts-run-cmd.php
    @@ -265,6 +265,8 @@ switch($COMMAND)
    
                    if(!empty($upload_url))
                            echo "Results Uploaded To: " . $upload_url . "\n\n";
    +               else
    +                       echo "Error uploading results!\n\n";
                    break;
            case "REMOVE_ALL_RESULTS":
                    $remove_all = pts_bool_question("Are you sure you wish to remove all saved results (Y/n)?", true);
    Edit: It should be pretty easy to use the code demoed here: http://netevil.org/blog/2006/nov/htt...p-without-curl to send the results encapsulated as POST data rather than GET data. You'd need to change the parser on PTS-Global to accept $_GET and $_POST variables though.
    Last edited by uncle_fungus; 05-08-2008, 10:28 PM. Reason: Added link

  • #2
    A proper fix will be coming soon
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      I switched over to using $_POST variables now, while PTS Global is backwards compatible and will continue to work with previous versions of PTS.

      http://phorogit.com/index.php?p=phor...6c1ae956344854
      Michael Larabel
      http://www.michaellarabel.com/

      Comment


      • #4
        Cheers, I can upload my universe test results now.

        Comment

        Working...
        X