Ticket #698 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

intransitionmovie.com returns 405 on submit

Reported by: sam Owned by: sam
Priority: major Milestone: Maintenance
Component: Live server Keywords:
Cc: ed, chris Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.25

Description

http://www.intransitionmovie.com/screenings/share-your-screening/

vid Atcheson (david@…) sent a message using the contact form at
https://www.transitionnetwork.org/contact.

I couldn't find any contact info at http://www.intransitionmovie.com/, but am
hoping you can help. When I visit
http://www.intransitionmovie.com/screenings/share-your-screening/index.html
and put in my email address and hit Enter, I get:

Hi I checked this and it returns a 405 error for me too.

http://www.intransitionmovie.com/screenings/share-your-screening/

405 Not Allowed
nginx/1.4.4

Hoping this can be fixed so we can let you know about our screening on April
8 at the Hawaii State Capitol auditorium.

Aloha,

  • David Atcheson, Transition Oahu

I'll do some initial investigation

Change History

comment:1 Changed 3 years ago by sam

  • Owner changed from sam to ed
  • Status changed from new to assigned

http://www.intransitionmovie.com/wp-login.php (from Password doc)

And the standard /wp-admin

Both return 404. Ed do you know has the admin path been changed for this site?

Thanks

Sam

comment:2 Changed 3 years ago by ed

We're pulling the plug on this site see ticket #538 sorry for the confusion - we were ready a couple of weeks ago but haven't pulled it yet...

comment:3 Changed 3 years ago by chris

  • Cc chris added

The errors are because the site has been archived, it's not longer running WordPress on Apache, it's now simply static HTML running on Nginx. There wasn't time to do things like edit out the forms or check everything when it was initially archived these things can be fixed now if needs be on ticket:538, sorry I have only just discovered the existence of this ticket -- I would have explained sooner.

comment:4 Changed 3 years ago by ed

In that case, we need a banner across the of every page on the archived site. I'll commetn on #538

comment:5 Changed 3 years ago by chris

There are 351 pages with HTML forms with the POST method:

cd /web/intransitionmovie.com/www
grep -rl 'method="post"' | grep html | wc -l
351

It isn't practical to edit these manually due to the time it would take so I suggest creating a custom 405 error page which explains that the site is a non-interactive archive. This would take between 15 mins to do it it is wanted.

comment:6 follow-up: ↓ 7 Changed 3 years ago by ed

Not something you can do in the stylesheet? SAM?

comment:7 in reply to: ↑ 6 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.0 to 0.25

Replying to ed:

Not something you can do in the stylesheet?

That's a really good idea!

I have added the following CSS to /web/intransitionmovie.com/www/wp-content/themes/tnmovie/custom.css:

form input, form textarea, form p, form table { display: none }
form:before { content: "The form that was here has been removed as this site has been archived" }

It's a hack but it does the job!

See:

comment:8 Changed 3 years ago by chris

Regarding the original ticket description, I'd suggest sending David at Transition Oahu a reply saying we are sorry that the site isn't functional any more but that we have now made this clear on the site and also send a tweet out about his screening and add it to the newsletter if it goes out in time and tell him that this has been done.

comment:9 follow-up: ↓ 10 Changed 3 years ago by ed

  • Owner changed from ed to sam

I've not had any replies from Sam about this - is that because Sam reported but doesn't own it and isn't getting email updates? I'm setting him to owner.

SAM please see various activities above and follow up David as Chris suggests, ta.

comment:10 in reply to: ↑ 9 Changed 3 years ago by chris

Replying to ed:

I've not had any replies from Sam about this - is that because Sam reported but doesn't own it and isn't getting email updates? I'm setting him to owner.

Sam should have been getting emails as the creator of the ticket, if needs be I can check the email logs.

comment:11 Changed 3 years ago by ed

Sam to follow up as discussed on 26/03

comment:12 Changed 3 years ago by sam

  • Status changed from assigned to closed
  • Resolution set to fixed

Hi I have emailed David suggesting he adds the event to the main site as an event partner & offered to Tweet it too.

Chris has fixed the form issue, so closing the ticket..

Thanks

Sam

Note: See TracTickets for help on using tickets.