@TechBill - when things break and you’ve added your own code then that is the highest suspect.
I would recommend giving that code a once-over. Pay specific attention to areas near the failures. There’s a good chance that you’ve added some fancy-quotes
“” instead of the required plain quotes
"" or perhaps missing or mistyped a
If just looking it over doesn’t uncover anything, a good way to quickly narrow things down is:
- Make a copy of the page.
- Remove ALL THE CODE
- Test to make sure the page works again. If it doesn’t – well, then you didn’t remove ALL the code or perhaps it’s something else on the page.
- Add your code back into the page. One section at a time. When it breaks you’ve found (at least one of) the culprit(s).
This is a general technique in problem solving: it’s always easier to start with a working things and slowly add complications. Testing after each. When the test fails you’ve found the complication causing problems.
why is everyone’s own code the most suspect?
because all code has some bugs.
mine, yours, theirs, his, and hers. lots of bugs.
but some bugs eventually get fixed. in a release product being actively used by thousands of users, only the well hidden bugs remain.
but code that you’ve written yourself is being used by just you. you may be the best coder in the world, but will still be a bit buggier than a released piece of software that is being used actively by thousands of users.