I have a MySql database being used to hold data for a set of web forums. Everything is working fine except for one quirk.
One of my tables contains all original threads. This table has columns for a unique thread id, author, title, body of the post, which forum it belongs in, etc. The id, author, title, body, date, and forum columns are all set to NotNull. This is confirmed in PHPMyAdmin. The issue I have is that I keep getting empty posts in this table. The posts contain a thread id and a date, but all other info is empty. What's worse is that these are not botched or aborted posts! There are no issues with posting a new thread! I've been through my post script at least a dozen times and I still don't see how this could happen. If nothing else, a script error that tried to insert empty posts would cause a MySql error when inserting null fields into author, title, etc. Yet there are no errors. Has anyone seen this before?
One of my tables contains all original threads. This table has columns for a unique thread id, author, title, body of the post, which forum it belongs in, etc. The id, author, title, body, date, and forum columns are all set to NotNull. This is confirmed in PHPMyAdmin. The issue I have is that I keep getting empty posts in this table. The posts contain a thread id and a date, but all other info is empty. What's worse is that these are not botched or aborted posts! There are no issues with posting a new thread! I've been through my post script at least a dozen times and I still don't see how this could happen. If nothing else, a script error that tried to insert empty posts would cause a MySql error when inserting null fields into author, title, etc. Yet there are no errors. Has anyone seen this before?