-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attempting to edit an airport yields an internal server error #1314
Comments
Guess we should test this in dev... But don't have acces to the server logs... |
Seems to work fine in my dev environtment... Can you upload a screenshot of what you were trying to save? Thanks |
I guess you changing the name as well? I can't save it if I just change the country due to #1351 If I change it to remove the Let me now try if not an admin |
Without GitHub setup, I seem to get that error...
Seems a good time to resolve https://github.com/jpatokal/openflights/blob/83ab24a/php/apsearch.php#L181 |
Leave comment about token expiring... Display errors from apsearch in red Helps towards jpatokal#1314 Probably broken in jpatokal@c03f720
I probably broke this in c03f720... Tested working now, as seen at reedy#1 @jpatokal this will need deploying at some point... Code is obviously undergoing quite a bit of change atm. Also, worth checking the token you're using has not expired... And whether we want to do #1171 at the same time... Then see if the submission is still broken on the live site |
Leave comment about token expiring... Display errors from apsearch in red Helps towards jpatokal#1314 Probably broken in jpatokal@c03f720
Yes I tried without the |
FWIW, I checked the token on Github and it's a "classic" token that has no expiration date, so not quite sure what the issue is. |
I'll test it later on the live site... |
Yeah.. Still doesn't work. I see it pop up trying to save, but then no error or succeed message... |
Same when adding as new - no more error, and it actually does show a message suggesting it was successful, but there's no sign after that of the newly-added airport via search. |
I'll have more of a play with my developer setup again and confirm that that is still all working (now that updated code is deployed). It should be creating GitHub issues or leaving comments on existing ones, not actually creating or editing airports for most users |
My bad, I didn't realise it wasn't a direct edit / add. That said, I don't see any sign of an issue / comment re the airport I just tried to edit, and then tried add as new (after edit appeared to fail) - Ol Kiombo Airstrip (OLX / HKOK). So maybe the functionality to create an issue / comment isn't working. Although I do see a four year old report (#990) for the same airport with what appears to be correct data (there's three entries for it on OpenFlights now, all of which are either incorrect or incomplete). Just mentioning in case some sort of dupe-report detection blocked an issue / comment being added when I just tried to edit / add. |
Yep, no sign of an issue or comment being created for either my edit or add. See https://github.com/jpatokal/openflights/issues?q=olx - only references to the airport code I used is this issue, and the four-year-old issue I mentioned above. |
@jpatokal Are you seeing any fatal/exceptions in the logs? |
hi, thanks for this great project!
I noticed that VQS airport is in the wrong place on OpenFlights (wikipedia has the right coordinates on the north side of the island) and so tried to submit an update using the form on the site.
However, when I pressed the "save changes" button, I got text reading "internal server error" on my screen. No further information was available in the network trace that I could find, and no issue for the edit was posted here, as far as I can tell.
Thanks for having a look!
The text was updated successfully, but these errors were encountered: