Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#13353 closed defect (bug) (invalid)

post not found error

Reported by: christian_gnoth Owned by:
Priority: low Milestone:
Component: General Version:
Severity: normal Keywords:
Cc: Focuses:

Description

Hi,

I have inserted few posts per SQL Insert into the wp table. Most of the posts are fine and visible.

Few are not visible - I get a "404 not found error". The post is there - I can edit the post, but is not found.

for example:
/2009/04/27/whats-ahead-for-mortgage-rates-this-week--april-27-2009/

Only after an update without changes the post is visible - what could be the reason?

Change History (3)

#1 follow-up: @nacin
16 years ago

  • Milestone Unassigned
  • Resolutioninvalid
  • Status newclosed

Please try the support forums: http://wordpress.org/support/

#2 in reply to: ↑ 1 @christian_gnoth
16 years ago

  • Resolution invalid
  • Status closedreopened
  • Version2.9.2

Replying to nacin:

Please try the support forums: http://wordpress.org/support/

if all posts are there in the mysql tb and possible to edit them, all is fine with most of them - maybe some problem in wp processing the content?

#3 @dd32
16 years ago

  • Keywords post not found removed
  • Resolutioninvalid
  • Status reopenedclosed
  • Version 2.9.2

If you find a bug, Please re-open the ticket, I'm closing this as invalid again, due to there being no reason to believe this is a bug. Updating the post in WordPress means either the data is being re-written, or some data you've inserted is being corrected, which is resulting in the post now being visible.

If at all possible, i'd suggest you include the WordPress library and call wp_insert_post() directly instead of manipulating the database directly.

Note: See TracTickets for help on using tickets.