Hey David Thanks for the update, glad you made progress. We all learnt something new, you learnt to check the logs and I learnt if I mock programming languages I'll incur the wrath of Chris Mattmann ; )
If there are things we should be doing documentation or tutorial-wise feel free to offer up suggestions or, in keeping with community stuff , let us know and we'll get you wiki access so you can improve it yourself! Any other OODT based questions, just ask away on the list , that's what we're here for. Tom On 29 Feb 2016 16:17, "Liu, David (3902-Affiliate)" <[email protected]> wrote: > Thanks Tom, > > Indeed, after taking a more careful look at the apache errors/php errors, > I realized that I had multiple copies of the profile login module which > made it difficult to figure out which code was the actual code running. > > One copy of my code was running with jpl's implementation of > authentication while the other was Apache’s. > > So I changed all of my code to point from Jpl’s into Apache’s and now the > login works! > > If there is a lesson that I learned, it’s not be a noob and look more > carefully at all possible error logs… > > Thanks guys for all your help! Now I have to go bother Chris Mattman > specifically now. > > Cheers, > David > > > On Feb 23, 2016, at 3:33 PM, Tom Barber <[email protected]> wrote: > > > > I'm not a PHP dev(you might have fathomed), but knowing what my brother > > does, just get it to dump them to the page and you will be able to see if > > its throwing up over the OODT code or lack of import or something. > > > > On Tue, Feb 23, 2016 at 11:30 PM, Liu, David (3902-Affiliate) < > > [email protected]> wrote: > > > >> Sigh, silly me, that probably should have been the first or second > thing I > >> should have been doing. I was just looking at apache error logs the > whole > >> time. > >> > >> Thanks Tom! > >> David > >> > >>> On Feb 23, 2016, at 3:26 PM, Tom Barber <[email protected]> > wrote: > >>> > >>> Might be a silly question, but have you switched on the PHP error logs > in > >>> php.ini to see what errors its spewing out? > >>> > >>> Tom > >>> > >>> On Tue, Feb 23, 2016 at 11:20 PM, Liu, David (3902-Affiliate) < > >>> [email protected]> wrote: > >>> > >>>> Hi Andrew, > >>>> > >>>> I’m sending you this email through formalized channel instead of your > >>>> private email box! > >>>> > >>>> I tried following your instructions ( > >>>> https://gist.github.com/andrewfhart/72f0e0ce0c54b76d0bf4) > >>>> and was successful for the most part. However, when I got to the end > >>>> following copying pasting the profile module, I tried visiting the > >>>> http://balance-test/profile/login > >>>> and got the following error on my console: > >>>> The webpage shows up blank. However, http://balance-test works > >> perfectly > >>>> fine! > >>>> > >>>> I’ll continue to investigate but maybe it’s some issues with my local > >>>> environment. > >>>> > >>>> Kind Regards, > >>>> David > >>>> > >>>> On 2/12/16 11:00 AM, "Andrew Hart" <[email protected]> wrote: > >>>> > >>>> Hi David, > >>>> > >>>> There are any number of possible reasons for this. Most of them, > >>>> unfortunately are environment specific and difficult to diagnose > >>>> remotely. I just created a new Balance site from scratch on a clean > >>>> machine, and was able to get to the point where the profile module > >>>> loaded correctly using just the copy-and-paste method from the > >>>> instructions, so I think there's something going on with your local > >>>> environment (mod-rewrite? permissions? difficult to say without more > >>>> information). I've compiled each step I took into a gist, linked > below. > >>>> If you still have difficulties, please write again, and I'll be glad > to > >>>> help you investigate further. > >>>> > >>>> https://gist.github.com/andrewfhart/72f0e0ce0c54b76d0bf4 > >>>> > >>>> Best, > >>>> Andrew. > >>>> > >>>> > >>>> > >>>> On Feb 10, 2016, at 10:51 PM, Liu, David (398G-Affiliate) < > >>>> [email protected]> wrote: > >>>> > >>>> Good Evening Andrew Hart, > >>>> > >>>> I was referred by Chris Mattman from JPL to consult you regarding an > >>>> issue I’m having with the Balance profile module. I was wondering if > you > >>>> can help me? > >>>> > >>>> I am currently working for JPL Data Sicence and Technology division. > We > >>>> are trying to deploy the ECAS system which uses various OODT’s modules > >>>> including Balance profile module( > >>>> https://github.com/apache/oodt/tree/master/balance/modules/profile). > >> The > >>>> instructions to install the Balance profile module states that I > should > >>>> copy paste the profile folder into my balance web application’s module > >>>> folder (which is currently in /usr/local/ecas/ui/modules). However, > >> after > >>>> restarting apache, I’m still getting 404 when I visit my locally > hosted > >> web > >>>> application url: http://localhost/ecas/profile/login (screenshot > >> below). > >>>> The url to my balance web application http://localhost/ecas works > fine > >>>> however. > >>>> <PastedGraphic-1.tiff> > >>>> This issue seems to indicate that I haven’t successfully installed > >>>> profile. Is there another step to installing profile other than > copying > >>>> pasting the profile folder into my web app’s module folder? > >>>> > >>>> I’m also wondering if it’s my apache conf file which I customized for > >> the > >>>> ECAS web application as well. > >>>> > >>>> Thanks so much for your guidance! > >>>> > >>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >>>> David L. > >>>> Data Scientist > >>>> Data Science and Technology > >>>> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA > >>>> > >>>> > >>>> > >> > >> > >
