14
johnDoe
8y

Spent around 5 hours last night trying to do honestly one of the most basic things in PHP with a classmate of mine.
We are making a website kind of like Google Photos where the user can upload their images, store some information about the images they uploaded. (Basically just an online photo storage site). For what ever damn reason we could not figure out why our images that the user would upload from a form where not being put into their associated user image folder; Hell for the longest time they weren't even being loaded onto our LAMP server.
We still have no fucking idea what made it start working, we went over our code and iterated it probably over a hundred times and suddenly..... Like I said we have no fucking clue why; it started to work.
Over 2 hours in a hangouts call and around 500 messages later it worked.
I think we all know how this feels.

What a fucking mess.

Comments
  • 1
    @Letmecode PHP Pisses me off so damn much. Sadly I could not use any other languages since my course is based around development with LAMP. Fucking hell its annoying.
    I had another occurrence like this with PHP, spent over an hour wondering why my PHP code wouldn't work on my server.... the problem was a fucking empty line at the start of the file. A damn blank line right at the top of the file made the entire thing not work, I have no idea why but ya. That happened.
  • 0
    @Letmecode I mean.... It works but just so finicky. Half tho time I have no idea what the hell is wrong. Things are syntactically correct, logic is correct but some random ass thing comes up making nothing work.
    What a pain. I wish I could use other server side languages other than PHP (I just haven't learnt any yet)
  • 1
    @Letmecode For my course I had to use PHP unfortunately. I know those other languages (reasonably), just have never done anything backend with them.
    When the times comes to chose something else I will most likely not stick with PHP ;D
  • 4
    The thing with PHP is that the Moon, earth and sun should be aligned at a 45° angle or the earth's moon and mercury should be at 70° angle with Mars or Jupiter and one of it's moons should all align with earth's Moon at 90°.

    It does want stuff like that.
  • 0
    I like PHP
Add Comment