Menu

BackLinks gone crazy

Help
2003-12-15
2012-10-11
  • Keith Tyler

    Keith Tyler - 2003-12-15

    Non-urgent question:

    Suddenly the BackLinks plugin is reporting each referring page 4 times (and the corresponding tally is 4x the true value).

    I've recently been going through a painful process of upgrading mysql to 4.1.1 without fallout onto the applications. That's the only thing I've done recently, though I don't know if the upgrade or process caused this.

    Looking in the 'page' table, I see only one row for each page, not 4.

    Any page created or edited after the mysql upgrade comes up only once.

    I suppose I can go ahead and make minor edits to each of the old pages... but does anyone have a better explanation/solution?

     
    • Keith Tyler

      Keith Tyler - 2003-12-16

      Never mind... Apparently I must have tried to restore the db backup multiple times... the 'link' table had multiple duplicate rows.

      Solved it by creating a copy of 'link', performing an "insert...select unique" from 'link' into it, and replacing 'link' with the new table.

      I suggest that some kind of uniqueness constraint on 'link' (e.g. "... primary key (linkfrom,linkto)") be added to the table def for 'link'.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.