Need help with POST script for qa.php.net

From: Date: Fri, 21 Mar 2014 01:05:38 +0000
Subject: Need help with POST script for qa.php.net
Groups: php.qa php.webmaster 
Request: Send a blank email to php-webmaster+get-18548@lists.php.net to get a copy of this message
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. 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. Does someone have access to server logs? Is this an fs permission problem? Is there a way around this? 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.

« previous php.webmaster (#18548) next »