Closed bree-z closed 3 years ago
@drdrew42 It sounds like the configuration on your end is adding an extra /webwork/. Can you take that out?
Just wanted to ping this, as it's still an issue on hardg.com/webwork.
Thanks!
Ive got the url set to https://hardg.com/webwork/?webwork=1
is that not correct?
@bree-z Can you please share a link to a WW problem exhibiting the problem so that I can do some testing?
Sure. It happens for any problem when I click on 'Respond to this Question' when not logged in. Here are some examples:
Problem: https://hardg.com/webwork/#:problemId=CUNY/CityTech/Precalculus/setPolynomial_Division/long-division-monic-linear-rem.pg:questionId=89 404 URL: https://hardg.com/webwork/webwork/wp-login.php?redirect_to=/webwork/#:problemId=CUNY/CityTech/Precalculus/setPolynomial_Division/long-division-monic-linear-rem.pg:questionId=89
Problem: https://hardg.com/webwork/#:problemId=Library/NAU/setTrigOtherFunctions/OtherPer.pg:questionId=85 404 URL: https://hardg.com/webwork/webwork/wp-login.php?redirect_to=/webwork/#:problemId=Library/NAU/setTrigOtherFunctions/OtherPer.pg:questionId=85
@bree-z Can you please link to the WeBWorK problem where you're originating so that I can test the entire flow?
(For reference, I just tried from this URL http://146.111.135.122/webwork2/WW-Dev/Polynomials_-_Division/1/ and it worked properly. Maybe we're using different WW installations?)
Sorry, I think I may have been unclear, and was using 'problem' when I should have said 'question'. When I encounter this issue, I'm starting from https://hardg.com/webwork/, not the WeBWorK site. Here's what I did:
When I first created this ticket, I was testing this:
For non-authenticated users, Respond link leads to login page; after login, you're led to question in Single view.
It was added to the testing spreadsheet after #150.
Thanks!
Thanks for clarifying. I guess I didn't read your initial question clearly enough.
I've put a fix in place for this.
Thanks Boone. This looks good!
I'm now prompted to log in, and after logging in I'm taken to the question page.
When I click on 'Respond to this Question' as a non-authenticated user, I get a 404 error rather than being prompted to log in. The URL of the 404 is: https://hardg.com/webwork/webwork/wp-login.php?redirect_to=/webwork/#:problemId=CUNY/CityTech/Precalculus/setDifference_Quotient/intro-diff-quot.pg:questionId=31
This happens both from the list and single views.