6

I ran my PHP script file in Firefox, only to be greeted by everything else but my webpage. I scanned through the errors and looked them up on Google. As I was only restricted to a basic text editor, I had no choice but to prepare myself to look through hundreds of lines of code spanning across different files in my project.

Minutes passed, found nothing. An hour has passed, and I can feel my brain power fading away into oblivion, but I still found nothing. I took a stab in the dark and made a few changes in the code, hoping that it'd solve the problem, only to be slapped with a big fat 'nope' in the browser. I lost all hope for the day and decided to give it a rest and come back tomorrow to try again.

New day, new me, fresh new energy to tackle the code! But after one failed attempt at debugging and I was back to the same state as yesterday.

But... at the corner of my eye, something at the end of a line caught my attention. I moved my cursor to that position, pressed the key on top of my pinky finger down, saved the file, and ran the script. It worked.

Who knew how problematic a single missing semicolon could be :3

Comments
  • 0
    You don't have any configured error logs?
  • 2
    Meanwhile Chad Javascript plows through with and without semicolons
  • 0
    @Alice company policy didn't allow me to easily download any software, so just decided to use gedit XD
  • 0
    @myss well at that time I was still a rookie so I didn't know much about the error logs X)
Add Comment