The joy of programming....

The joy of programming....searching and debugging for nearly 3 hours...not getting a clear error...just a stupid crash! Then tracing the script causing the error...and noticing error reporting was disabled all this time! Know what it was? A STUPID SEMI COLON!!!! ";" :gun:

After that fix, it worked within 15 minutes! Testing and deploy in production an hour later! At least solved it before the weekend! :D

Yes, this was a work thing in PHP. ;)
  • Like
Reactions: newo

Comments

PHP is the best. I've been using it for roughly 24 years. Pure PHP with no framework. Frameworks drive me nuts with the code bloat.
 
  • Like
Reactions: Archerite
PHP is the best. I've been using it for roughly 24 years. Pure PHP with no framework. Frameworks drive me nuts with the code bloat.
I transitioned from Visual Basic 6, VBA and VB.NET to PHP about 15 years ago! Damn! time really flies by.... Introduced me to the "new" syntax and is the reason I could pick up C/C++ much easier in a couple years after starting with PHP.

I am the same. Basically wrote my own framework from scratch.Hiding all the header/footer/sidebar stuff in functions and array to have a "render" function at the end to assemble the HTML and javascript. And a few years ago put PUG templates in for easier HTML form templates and stuff like that. :D
 
  • Like
Reactions: newo
I think I went through vb4, 5, 6 then asp 3 classic. Once I went web and intranet apps I never looked back because the web was so much easier than console executables that you had to compile
 

Blog entry information

Author
Archerite
Views
247
Comments
3
Last update

More entries in Personal Blogs

More entries from Archerite

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I love it for most things most stores you just shows the receipt online and they scan it
    +1
  • K3Nv2 @ K3Nv2:
    Makes it easy for incompetent restaurant staff that don't know how to hear an order
  • BigOnYa @ BigOnYa:
    Mostly for big purchases, I want it in my hands before I pay. Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc) But yea if I can order online, then pickup at store is ok, but not all places offer that.
  • cearp @ cearp:
    > Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc)

    Thing is, if you break it driving back to your house, it's your fault. But if the delivery driver damages it, it's not your fault.
    +1
  • K3Nv2 @ K3Nv2:
    Most people that haul big tvs have empty trucks or know enough not to set it face down
  • BigOnYa @ BigOnYa:
    Then I gotta send it back and wait another week or two. I have a pickup truck, with a extended cab, so no prob for me.
  • K3Nv2 @ K3Nv2:
    Most manufacturers pack it well enough where they aren't that dumb to let it happen
  • BigOnYa @ BigOnYa:
    They building a new Microcenter store near by me, is kinda scary. That's my favorite place, I'm like a kid in a candy store there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, what's a microcenter?
  • K3Nv2 @ K3Nv2:
    Cool I'll make you ship me stuff
    +1
  • K3Nv2 @ K3Nv2:
    Microcenter sells high quality microwaves
  • BigOnYa @ BigOnYa:
    Computer store basically, but they sell everything, like game systems, tvs , 3d printers, etc
    +1
  • K3Nv2 @ K3Nv2:
    I've seen i9/mobo deals for like 400
  • BigOnYa @ BigOnYa:
    Yea been itching to build a new pc, mine is like 3-4 years old, ancient in pc tech time. Still using a sata SSD even.
  • K3Nv2 @ K3Nv2:
    That's still high tech to ancientboi
    +2
  • BigOnYa @ BigOnYa:
    Kinda cool, I can buy a second Xbox for guests, and download all my purchased digital games to it, and play on both xboxs same time. Didn't know they allowed that. 2 xboxs per Xbox account.
  • AncientBoi @ AncientBoi:
    :rofl2: A toaster is "High Tech" to me
    +2
  • K3Nv2 @ K3Nv2:
    No we told you to stop taking baths with them
    +1
  • BigOnYa @ BigOnYa:
    Is crazy to think, you used to be able to build a decent PC for $300-400. Those days are way gone.
  • K3Nv2 @ K3Nv2:
    $600 gets you a decent one
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, too expensive
  • K3Nv2 @ K3Nv2:
    Uremums expensive
  • BigOnYa @ BigOnYa:
    Uremums cheap, she even takes coupons still. She put a dollar on her head, and said "all you can eat, under a dollar."
  • K3Nv2 @ K3Nv2:
    Gotta save a dollar where you can get a dollar
    +1
    K3Nv2 @ K3Nv2: Gotta save a dollar where you can get a dollar +1