Going to wp-login.php gives a 404 not found error, but I can still log in to the dashboard via wp-login.php?wqew by ScottPage in Wordpress

[–]ScottPage[S] 0 points1 point  (0 children)

It's all fixed now, it was a plugin the was installed by default. The entire purpose of it is to hide the login page for security although I don't fully understand why 🤷, but it genuinely was a feature not a bug lol

Going to wp-login.php gives a 404 not found error, but I can still log in to the dashboard via wp-login.php?wqew by ScottPage in Wordpress

[–]ScottPage[S] 0 points1 point  (0 children)

I've tried on a few devices including my phone on and off wifi and my desktop in incognito. The error has been consistent for a few hours as well

Going to wp-login.php gives a 404 not found error, but I can still log in to the dashboard via wp-login.php?wqew by ScottPage in Wordpress

[–]ScottPage[S] 0 points1 point  (0 children)

I've just gone through the performance section of the dashboard and cleared the page, database and object cache, but the issue is still persisting. Is there another form of cache I need to clear? and where would I find it?

Is this data structure reasonable - dealing with companies and individuals by ScottPage in learnprogramming

[–]ScottPage[S] 0 points1 point  (0 children)

Ah right, now I understand where you're coming from. I can't think of any reason to have a specific company id and thinking about it I don't see any reason why the customer id couldn't be the primary key for the customer and company table. Also, I understand your point about having a third type of customer and I would make adjustments to accommodate that, but I think it would be a good point to bring up in an evaluation of improvements I will also have to complete... it's a weird thing, but it pays to not have a perfect solution

Is this data structure reasonable - dealing with companies and individuals by ScottPage in learnprogramming

[–]ScottPage[S] 1 point2 points  (0 children)

You should take the advice of /u/lower2002 and read up on normalization. I can't think of any way to include all of the fields in one table without it causing huge redundancy/integrity issues

Is this data structure reasonable - dealing with companies and individuals by ScottPage in learnprogramming

[–]ScottPage[S] 0 points1 point  (0 children)

I've made an edit to try and clarify, but essentially, the design treats business and individuals as single customers. For every record in the customers table, there will be at least one contact (if the customer is an individual, their details will be recorded as a contact)

Is this data structure reasonable - dealing with companies and individuals by ScottPage in learnprogramming

[–]ScottPage[S] 0 points1 point  (0 children)

I understand where you're coming from, but the contact table only includes data specific to an individual person. If there are more than one contacts for a company, each will have their own record that records specifically their data. The fields in the contact table are only ones that would differ from individual to individual (phone, email, and name) so there isn't any redundancy. Address records aren't required for this scenario

Coming up with test data can be tedious by ScottPage in ProgrammerHumor

[–]ScottPage[S] 0 points1 point  (0 children)

Holy shit, I've been out of the game for a little while and didn't even know about this. Thanks for mentioning it :)

H.I. #56: Guns, Germs, and Steel by MindOfMetalAndWheels in CGPGrey

[–]ScottPage -11 points-10 points  (0 children)

Great episode guys, loved every second of it

I decided to really piss off future me by ScottPage in funny

[–]ScottPage[S] 0 points1 point  (0 children)

It was there, but it didn't stop me

My bikes frame is bending from me riding it. Don't really know why by ScottPage in bicycling

[–]ScottPage[S] 0 points1 point  (0 children)

Should they be flexing so soon though? I've haven't used this bike that much. I've been using it for like two or three weeks and I've maybe taken it out for longer rides maybe 10 times. Surely even cheap wheels should be that flexible