Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360597 - Need access permission for Juno planning web site
Summary: Need access permission for Juno planning web site
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Website (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: phoenix.ui CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 360557
Blocks: 361007
  Show dependency tree
 
Reported: 2011-10-11 19:57 EDT by David Williams CLA
Modified: 2011-10-17 20:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2011-10-11 19:57:12 EDT
+++ This bug was initially created as a clone of Bug #360557 +++

Next step ... the site needs "permission" to access the portal database (I think). 

Trying

http://eclipse.org/juno/planning/SimultaneousReleaseOverview.php

I get back a response that says whats pasted below

= = = = = = = = 

Execution from Invalid Path (portal_rw). This attempt has been logged. Please contact webmaster@eclipse.org
Comment 1 David Williams CLA 2011-10-13 11:42:12 EDT
I bet this request got lost since I left title the same as earlier one, so, I've changed title ... any issues?
Comment 2 Eclipse Webmaster CLA 2011-10-13 13:46:27 EDT
You need to use the portal_ro class, then everything should be fine.

-M.
Comment 3 David Williams CLA 2011-10-13 15:53:36 EDT
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?
Comment 4 Wayne Beaton CLA 2011-10-14 15:42:00 EDT
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 ?
Comment 5 Wayne Beaton CLA 2011-10-14 15:46:46 EDT
I've made the necessary additions to the portal. Webmaster, can you please push these out at your earliest convenience?
Comment 6 Denis Roy CLA 2011-10-14 15:58:35 EDT
I've fixed your database access.
Comment 7 Wayne Beaton CLA 2011-10-14 16:01:26 EDT
(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.
Comment 8 Eclipse Webmaster CLA 2011-10-17 16:01:35 EDT
I've pushed the portal live.

-M.
Comment 9 David Williams CLA 2011-10-17 20:29:06 EDT
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.