News for hackers. Stuff that matters.
Re:Whitehouse.gov Chooses WordPress, Again by viraptor on Saturday January 23, 2021 @09:18PM (#25888371)
> just a single file zipped up or scp'd

And now your page displays a white page. Error in the log is an exception with no stacktrace/location. This was my experience in production a few times.

It's a fun system if it works, but without a testing pipeline and a staging environment it's a lottery with a possible mystery breakage on every update/change.

Re:Whitehouse.gov Chooses WordPress, Again by organsnyder on Saturday January 23, 2021 @09:43PM (#25888565)
> It's a fun system if it works, but without a testing pipeline and a staging environment it's a lottery with a possible mystery breakage on every update/change.

That describes every platform, programming language, layer of the stack, etc. that I've ever worked with.

Re:Whitehouse.gov Chooses WordPress, Again by viraptor on Saturday January 23, 2021 @10:13PM (#25888760)
There's a whole possible scale of responses and of encouraged workflow though.

Wordpress and a lot of php community does actually like the "drop in some code and it usually works" approach. This encourages continuing on that path.

On the other side, the failure can be handled in many ways. "This module could not be loaded and will be ignored." is one. Ensuring some preparation / validation is needed before upload is another.

Let's not go to extremes like "you're expected to have a staging environment for your personal blog because the framework cannot possibly help you".

Re:Whitehouse.gov Chooses WordPress, Again by Something1234 on Saturday January 23, 2021 @09:48PM (#25888595)
At the end. All of our tooling sucks. Although I have to say generally the apache error log guides me to the right place.
Re:Whitehouse.gov Chooses WordPress, Again by hluska on Sunday January 24, 2021 @12:13AM (#25889490)
If your log only shows an exception without any kind of stack trace or location, I’m sorry but Wordpress is not the problem.
Re:Whitehouse.gov Chooses WordPress, Again by viraptor on Sunday January 24, 2021 @03:47PM (#25895820)
It's not the main problem, but it also could do better. A system encouraging drop in additions could have a way of validating them and blocking plugins which fail.
Re:Whitehouse.gov Chooses WordPress, Again by hluska on Monday January 25, 2021 @05:36PM (#25909909)
I agree completely and think that’s a great idea!