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.