| Summary: | Problems with PHP includes in web pages | ||
|---|---|---|---|
| Product: | Community | Reporter: | DJ Houghton <dj.houghton> |
| Component: | Website | Assignee: | phoenix.ui <phoenix.ui-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jeffmcaffer, kim.moir |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
DJ Houghton
Where is this running? Are you using require_once($_SERVER['DOCUMENT_ROOT'] . "(path)"); The file is: /home/data/httpd/download.eclipse.org/equinox/drops/N20101006-2000/index.php and we have lines like: require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); This is strange because we have the same requires statements in other web pages and they work ok. Denis: Kim, Jeff and I are still looking into this. Perhaps it is a misplacement of our _projectCommon.php file or something like that. Since the other pages are working, I'll close this for now so you don't waste any more time looking into it and if we have specific problems we can re-open this. It would be infinitely better if PHP pages intended for the general public be hosted on www.eclipse.org -- it has high quality bandwidth and more processing power than download.eclipse.org. In the end it was likely just some bogus paths. As for rendering php on download.eclipse.org, yeah, likely better on www but that would require more php coding than we likely have time for right now. Currently all the php is local to and customized for an individual build with a lot of the logic in Java at build time. We'd have to shift that to have the build output the basic data and have the processed in php for rendering. |