Your coding goofs?

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
Post Reply
Venice
Registered User
Posts: 4
Joined: Thu Jun 15, 2017 5:55 pm

Your coding goofs?

Post by Venice » Mon Sep 04, 2017 10:41 pm

Mine? Deleting the skin on my JCink site while editing it. Good times!

How about you?? What is the silliest thing you have ever done.

User avatar
AmigoJack
Registered User
Posts: 4946
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Your coding goofs?

Post by AmigoJack » Thu Sep 14, 2017 9:45 am

If you see your case as coding: deleting a phpBB template file instead of its cache file, but that was always recoverable.

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3257
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: Your coding goofs?

Post by bonelifer » Thu Sep 14, 2017 1:09 pm

None-phpBB related(not even code related). I use mythtv PVR software. I was doing some maintenance. Made a copy of the current mysql db. Doing stuff to the db screwed up. Then for some reason I dropped the DB entries in the backup instead of the current, while preparing to copy over the backup. Luckily I have a backup script that runs every night, so I had a recent'ish backup file. But still really annoying. I now keep two live backups when working on the DB.
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

User avatar
Brf
Support Team Member
Support Team Member
Posts: 50714
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Your coding goofs?

Post by Brf » Thu Sep 14, 2017 1:45 pm

Haha... How about accidentally creating an alias to a folder, and then deleting the folder when deleting the alias? :roll:

User avatar
david63
Jr. Extension Validator
Posts: 12976
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Your coding goofs?

Post by david63 » Thu Sep 14, 2017 3:14 pm

Going back many years I can recall deleting the config.bat file on the office PC which in those days was running DOS and the only way to get it back was recreate it by using "edlin" - for anyone who has never heard of edlin think yourselves lucky - try Googling it!

User avatar
kinerity
Registered User
Posts: 1122
Joined: Mon Sep 01, 2014 1:00 am
Name: Kailey Truscott
Contact:

Re: Your coding goofs?

Post by kinerity » Thu Sep 14, 2017 3:58 pm

david63 wrote:
Thu Sep 14, 2017 3:14 pm
edlin
Oh god, I thought I was the only one that remembered using that! :lol:

User avatar
bonelifer
Community Team Member
Community Team Member
Posts: 3257
Joined: Wed Oct 27, 2004 11:35 pm
Name: William
Contact:

Re: Your coding goofs?

Post by bonelifer » Thu Sep 14, 2017 5:47 pm

kinerity wrote:
Thu Sep 14, 2017 3:58 pm
david63 wrote:
Thu Sep 14, 2017 3:14 pm
edlin
Oh god, I thought I was the only one that remembered using that! :lol:
Started out with Windows 3.11 with Networking using NOVELL in middle school and the first year of high school. By my sophomore year they had switched over to Win95 and still using the NOVELL backend software. So yes I remember edlin and dBase III. We had dBase IV, but it didn't get installed till after I took my business classes. I actually "debugged" why the 5 1/4 drive wasn't "working". It needed to be on before the computer started. Though looking back I assume the teacher actually knew this was and was giving me something to do as I had gotten done with the work and was mostly sitting around bored.
Knowledge Base | phpBB Board Rules | Search Customisation Database
Image
Please don't contact me via PM or email for phpBB support .

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 2228
Joined: Wed May 14, 2014 9:10 am
Name: James
Contact:

Re: Your coding goofs?

Post by HiFiKabin » Sun Sep 17, 2017 9:00 am

I know someone who had a 3.2.0 test forum, then converted the real forum to 3.2.0, and promptly deleted the wrong forum files from the server :oops: :oops:

Luckily the host had backups of the majority of attachments (or so I am told ;) :roll: )

User avatar
AmigoJack
Registered User
Posts: 4946
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Your coding goofs?

Post by AmigoJack » Thu Sep 28, 2017 1:48 pm

Still no actuall coding goof...

User avatar
thecoalman
Former Team Member
Posts: 2286
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Your coding goofs?

Post by thecoalman » Mon Oct 02, 2017 3:22 am

Not coding goof but I got you all beat..... :lol:

Way back in ancient times say around '04 I reused a forum that I had stashed away and moved a bunch of topics into it. Unfortunately it had pruning enabled, think I was using it for classifieds previously. Of course all the posts got deleted in it and that's not the worse part. At the time I was religiously making backups once every couple of days.... the trouble is I made one after moving topics into this forum and deleted the old one.

By the time I realized what happened there was no chance of recovery. I lost about 1200 topic and this was at a time when I only had perhaps 5K of them total. To this day I'm always checking the prune box is not ticked even if it's brand new forum.

Lesson learned.... A nuclear bomb can hit the data center my server is in and at worst I'll lose an hour of data.

https://sourceforge.net/projects/automysqlbackup/

I have scheduled task on my local computer to FTP into the server and download the backups and new files. I'll also set aside archives of the uploaded files in case of corruption, e.g. the backup becomes corrupted. This is something a lot of people don't account for.

Suppose the files on the server become corrupted for whatever reason and you are not aware of it, if you download and overwrite your existing backup they are both toast.

JEFFJOHNSON
I've Been Banned!
Posts: 4
Joined: Fri Oct 13, 2017 9:14 pm

Re: Your coding goofs?

Post by JEFFJOHNSON » Sun Oct 15, 2017 3:19 pm

I always forget to put the closing tags on the end of the HTML..

Post Reply

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 68 guests