| Summary: | Support for php zip extension | ||
|---|---|---|---|
| Product: | Community | Reporter: | Roland Grunberg <rgrunber> |
| Component: | Servers | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | denis.roy |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/c/orbit/orbit-recipes/+/199882 https://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=27b15ffe0a27a6d5b01f9ea0af9669ab729d91c7 |
||
| Whiteboard: | |||
|
Description
Roland Grunberg
While we "tolerate" PHP scripts on download.e.o we don't necessarily accept the practice. download.e.o serves millions of hits every day, and we don't have the compute cycles for PHP scripts. Best place to run this is on www.eclipse.org. (In reply to Denis Roy from comment #1) > While we "tolerate" PHP scripts on download.e.o we don't necessarily accept > the practice. download.e.o serves millions of hits every day, and we don't > have the compute cycles for PHP scripts. > > Best place to run this is on www.eclipse.org. Understood, so if I'm running into issues with a particular script on www.eclipse.org, and seeing no output even with : ini_set("display_errors", "true"); error_reporting (E_ALL); Is there a standard error reporting location currently in use ? Do I need to override it with "error_log" ? That _should_ work, provided the script compiles with no syntax errors. If you can include the URL on www I can post (or email you directly) what I see in the server log files. Sure. The script is http://download.eclipse.org/tools/orbit/downloads/iplog.php . $ cat compositeContent.xml | curl -v -o index.html -d @- http://www.eclipse.org/orbit/scripts/iplog.php?repoPath='tools/orbit/N-builds/N20161011180623' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 198.41.30.198... * Connected to www.eclipse.org (198.41.30.198) port 80 (#0) > POST /orbit/scripts/iplog.php?repoPath=tools/orbit/N-builds/N20161011180623 HTTP/1.1 > Host: www.eclipse.org > User-Agent: curl/7.47.1 > Accept: */* > Content-Length: 549 > Content-Type: application/x-www-form-urlencoded > } [549 bytes data] * upload completely sent off: 549 out of 549 bytes < HTTP/1.1 200 OK < Date: Mon, 17 Oct 2016 19:13:50 GMT < Server: Apache < Cache-Control: max-age=86400 < Expires: Tue, 18 Oct 2016 19:13:50 GMT < X-NodeID: www-vm1 < X-Frame-Options: SAMEORIGIN < Vary: Accept-Encoding < Content-Length: 0 < Content-Type: text/html; charset=utf-8 < 100 549 0 0 100 549 0 541 0:00:01 0:00:01 --:--:-- 541 * Connection #0 to host www.eclipse.org left intact The only other thing I can think of now is that the script assumes includes are url-aware (allow_url_include). I'm guessing this isn't enabled, and I can always relocate the necessary scripts (currently on download.eclipse.org) but I figured there would be some error spit out. (In reply to Roland Grunberg from comment #4) > The script is http://download.eclipse.org/tools/orbit/downloads/iplog.php . Typo. It's http://www.eclipse.org/orbit/scripts/iplog.php , but it's in the curl call above as well. I'm not seeing anything in the error log. In fact the page is terminating with a 200 OK (and 20 bytes sent to the browser). Sorry I can't help more. I don't even know if an XSL processor is installed on www. (In reply to Denis Roy from comment #6) > I'm not seeing anything in the error log. In fact the page is terminating > with a 200 OK (and 20 bytes sent to the browser). > > Sorry I can't help more. I don't even know if an XSL processor is installed > on www. It seems the XSL processor is installed as that segment of code I have is run. I've confirmed my issue was due to using fully qualified urls in include/require. Copying over the needed files and making the paths relative fixed the issue. I'm now running into 'Fatal error: Call to undefined function zip_open()'. Is there any chance to enable the 'zip' extension ? I would like to check with Matt first. Give me a few days. We try to limit the things we run on www. If you have a workaround, that may be a quicker route. (In reply to Denis Roy from comment #8) > I would like to check with Matt first. Give me a few days. We try to limit > the things we run on www. > > If you have a workaround, that may be a quicker route. Thanks again for looking into it. I'll try and see if there's some way to work around this. Just thought I'd mention I have a workaround for this so we could probably mark this as WONTFIX for the time being. Resolving, as suggested. New Gerrit change created: https://git.eclipse.org/r/c/orbit/orbit-recipes/+/199882 Gerrit change https://git.eclipse.org/r/c/orbit/orbit-recipes/+/199882 was merged to [master]. Commit: http://git.eclipse.org/c/orbit/orbit-recipes.git/commit/?id=27b15ffe0a27a6d5b01f9ea0af9669ab729d91c7 |