Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26976 invoked from network); 21 Mar 2014 18:18:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2014 18:18:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=themattficken@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=themattficken@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: themattficken@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:62007] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/09-65185-E828C235 for ; Fri, 21 Mar 2014 13:18:55 -0500 Received: by mail-lb0-f177.google.com with SMTP id z11so1881267lbi.8 for ; Fri, 21 Mar 2014 11:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wlA7O3MGDyVQ/4fW3RK1h2f8c2xNpEy/3JbWxmt0hDI=; b=GHQSPL1HKJQfdcvC3RiiFb80Q3SXWrCVfx65OzIZI3j/QxqmQnP/due6DuK4dZ3VF2 1cuP3gY24zDmc27GU+cbcEdKg3e2dOH9k0zhwWwc3YYNBYRe31EKmDEfnSIbLYQuv3G2 IaY/HVutTLLoQS19hiBzbH9hriktmOiBaHCZxTqh6AfH9cKTvmTEbKibdYj8z0OkExJg c/nwBMYJAixqKW8GA6gp1Hao+JaOLBH/tVyhfvXmghkVaUgS36lqSYY7uiy1gJHrX8ja 5oVdo+EroULrrCZKnmLhBPUhAiBPp3fpSgNTGZF0sxss0Y0DrmK1G1dgmgcXuRjdXWVb xLXQ== MIME-Version: 1.0 X-Received: by 10.152.42.144 with SMTP id o16mr35295462lal.9.1395425931563; Fri, 21 Mar 2014 11:18:51 -0700 (PDT) Received: by 10.112.76.5 with HTTP; Fri, 21 Mar 2014 11:18:51 -0700 (PDT) Date: Fri, 21 Mar 2014 11:18:51 -0700 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary=001a11c33ef2f61cfe04f521eaeb Subject: Need help with POST script for qa.php.net From: themattficken@gmail.com (Matt Ficken) --001a11c33ef2f61cfe04f521eaeb Content-Type: text/plain; charset=ISO-8859-1 Hi, As discussed earlier, I am adding a script to qa.php.net to publish test reports. It seems that while my script(pftt_report.php) can create directories, it can not create files(test reports) in those directories. This all works locally for me (builtin web server), but silently fails on qa.php.net. I don't get any error or warning message, I get the success message the end of the script prints. I have it returning the directory contents which does not include the file I just uploaded. Who has access to the server logs? Is this an fs permission problem? Is there a way around this? I need a directory with write permission for apache and with an htaccess file that allows read access for all users. There is a POST script, qa.php.net/pftt_report.php, which I upload a test report file to (just a plain HTML file) and the script is supposed to store the html file in a directory for that branch(5_5, etc...) and revision(5.5.10rc1 etc...). There are some other scripts that then read those directories to list those HTML files which the user needs to be able to read. Initially, it was going to store HTML test reports in /reports/(/reports/php_5_5/5.5.5.10rc1/phpt.html), but I tried moving it to/reports/db/ since the existing run-tests infrastructure writes sqlite files there. Since the files my script stores need to be readable by users,I modified the .htaccess file in /reports/db to allow that. The run-tests infrastructure uses sqlite files, while I'm using pregenerated HTML test reports, which need to be readable by users.Otherwise, there aren't any differences. --001a11c33ef2f61cfe04f521eaeb--