Why Double Post On The Front Page - Photi - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Why Double Post On The Front Page - Photi (1535 Views)
| Why Double Post On The Front Page - Photi by uvalued(op): 7:48am On Feb 04, 2017 |
i just checked nairaland frontpage and i saw double post...what coukd have caused it?
|
| Re: Why Double Post On The Front Page - Photi by Nobody: 7:52am On Feb 04, 2017 |
Shit happens |
| Re: Why Double Post On The Front Page - Photi by directonpc(m): 9:08am On Feb 04, 2017 |
Setting topic ID column as unique could save nl from such embarrassment. And even make promoting/updating a topic that is already on fp easier (e.g live football scores). I hope seun will consider that in the future. |
| Re: Why Double Post On The Front Page - Photi by ProNdubuisi: 4:22pm On Feb 06, 2017 |
And getting to fp, is a manual thing o, if it was an algorithm thing i would have said that, one person created two similar posts, even with topic_id as primary key it could still happen. My question is, are both posts from the same person? |
| Re: Why Double Post On The Front Page - Photi by ProNdubuisi: 4:28pm On Feb 06, 2017 |
directonpc:database queries don't generate a single row twice, unless the same information is contained on multiple rows. It could be an error in code, i have seen that in PHP before(i know NL doesn't use php). queries in PHP are returned using foreach loop, which returns the result twice, one accessed by a number index, and the other accessed by the table_column_name as index. notice that the result appears just one after the other. Only seun can tell what happened sha. |
| Re: Why Double Post On The Front Page - Photi by directonpc(m): 5:49pm On Feb 06, 2017 |
ProNdubuisi:What is this one saying? Someone that thinks it's crap too should hit like |
| Re: Why Double Post On The Front Page - Photi by Seun(mod): 11:06pm On Feb 06, 2017*. Modified: 12:05pm On Feb 07, 2017 |
The supermods submitted each link twice and for some reason was slow to correct it. |
| Re: Why Double Post On The Front Page - Photi by directonpc(m): 7:22am On Feb 07, 2017 |
Seun:Ok. Though it will be very nice if you could totally patch the backend. That way the mod can't submit a topic twice(multiple times) or ever worry about correcting that. |
| Re: Why Double Post On The Front Page - Photi by ProNdubuisi: 11:29am On Feb 07, 2017 |
ProNdubuisi: ProNdubuisi: directonpc:I told you front page was a manual thing, and seun has confirmed that, it may or may not be a programming error as i rightly pointed out. Why do Nigerians like to bully others online even when they don't know better. |
| Re: Why Double Post On The Front Page - Photi by directonpc(m): 1:40pm On Feb 07, 2017 |
ProNdubuisi:Must u speak? |
Please Rate My Nairaland.com Front Page Mock Design In HTML/CSS/JS • How To Move Your Trend To Front Page. • Can't A Thread From This Board Make Front Page?? • 2 • 3 • 4
An Analogy Of Solar Electricity With Alcoholic Beer • If You Can Create A Ponzi Site And You Are In Port Harcourt. We Need U • Software Engineers Needed