16

Why did I volunteer to this shit...

I am supposed to maintain 4 old websites (like they were written 10+ years ago..). It's written in PHP, before mysqli, so all the calls to the DB is with mysql functions.. Now the server is to be updated and run PHP7.... guess what? those functions don't exist any more.... Now I have to patch several thousand files to use the mysqli functions... And no, there is no reason to rewrite it more than that, as I'm also developing the new versions om the sites, but those are so far from done and the new server needs the update as soon as possible, so bodging the shit out of this one...

Oh god the amount of repetitive labor 😫☹😭

And I'm not getting paid, because I'm doing it for my scout group... Tho they pay some of the Pizza 😜

Comments
  • 3
    Move them to temporary (naff) hosting on PHP 4.whatever they're using and spend your time getting the new sites finished instead.

    Tell nobody the URL's in the meantime ;)
  • 3
    Scouts is awesome. Getting your Eagle Scout pays off every day.
  • 2
    Labor of love rants are my favorite. ;)
  • 1
    @champion01 I'm danish, so it's not eagle scouts 😉 But we are considered the danish version of the eagle scouts 🙂
  • 5
    #1 reason to create a db wrapper class to wrap native functions. Change the db class, done.
  • 1
    @Folkmann still equally awesome. Major kudos for getting involved. Keep it up!!
  • 0
    @Letmecode Doint that on the new site, but will take longer to do on the current site, and it just has to work for now 😜
  • 1
    it will probably take less time (as well as maintaining your sanity) to start from scratch with a php framework than rewriting old code. Personally, I recommend Laravel. Makes working with a database enjoyable with eloquent. At the end of the day, who will know!
  • 1
    Well, that's a job well done 😜 Now I just have to check it on the new server 😊
  • 0
    @Folkmann good job! Have a beer 🍻
Add Comment