| Summary: | Need access permission for Juno planning web site | ||
|---|---|---|---|
| Product: | Community | Reporter: | David Williams <david_williams> |
| Component: | Website | Assignee: | phoenix.ui <phoenix.ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | wayne.beaton, webmaster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | 360557 | ||
| Bug Blocks: | 361007 | ||
|
Description
David Williams
I bet this request got lost since I left title the same as earlier one, so, I've changed title ... any issues? You need to use the portal_ro class, then everything should be fine. -M. As far as I know, I do use (only) the portal_ro classes ...
At the top of SimultaneousReleaseOverview.php is
require('/home/data/httpd/eclipse-php-classes/system/dbconnection_portal_ro.class.php');
And, in a few places use $dbhc = new DBConnectionPortalRO();
It includes some other fairly standard stuff, but one thing maybe not so standard is it includes (indirectly)
require_once($_SERVER['DOCUMENT_ROOT'] . "/projects/classes/common.php");
Could that "projects classes" be what has the "rw" stuff?
I tried commenting out that "include" and indeed the script then runs without the authorization error ... but, as you'd expect, does not display any data.
Keep in mind ... I just copied over stuff from the "indigo" directory, and thought I'd just have to change some strings to "juno".
Perhaps, there's something "undefined" on server side database (for juno) so even running the "read only" scripts eventually, at some level, causes a write attempt to initialize some tables for the first time?
In fact, I just checked the Portal, and so far there is no flag for "simultaneousrelease" metadata, for "juno". Should that be a separate bug request? (Last year we handled all at same time, in bug 321522).
Maybe once that flag exists the "rw" problem will go away ... but, in parallel, you might check permissions for www.eclipse.org/indigo and confirm they are only "ro" ... what ever they are, I think we'd need to match for www.eclipse.org/juno ... as far as I know, there's something deep in the supplied scripts that requires rw and maybe we just have never tracked down what?
I've updated the scripts to go through $App rather than directly try to hammer on the database. I'm now seeing a "Execution from Invalid Path (portal_rw). This attempt has been logged. Please contact webmaster@eclipse.org" message when I access the page. Webmaster, can you please open access to the databases for /juno/planning ? I've made the necessary additions to the portal. Webmaster, can you please push these out at your earliest convenience? I've fixed your database access. (In reply to comment #6) > I've fixed your database access. Indeed you have. David, it looks like it's working. There's just no content to display. We'll have to wait for the portal push to get content. I've pushed the portal live. -M. Thanks all. I've "signed up" webtools, and it displays at least relatively correctly ... http://eclipse.org/juno/planning/SimultaneousReleaseOverview.php So, will open new bugs if/when there's more to do. Thanks again. |