Fork me on GitHub

"PN_Counter is ambiguous" from MediaShare in .764, but fine in Z1  Bottom

  • All,

    I'm in the throes of building a Zik1.0 upgrade for my site, and one of the bits of groundwork is to migrate from PhotoShare to Mediashare - most of that is now going fine, but I'm left with the random image block not playing.

    The first time an image is loaded, the block fails to display, giving the error message

    Quote

    DB Error: getArticles: 1052: Column 'pn_counter' in field list is ambiguous


    If the image refresh interval's set long enough, refreshing the page shows the image - the error only happens on the first display of each image/selection.

    The biggest problem, though, is that when the error is up, the News blocks below it in the page centre don't display at all.

    Thoughts?

    --
    Adrian Chapman
    Webmaster
    Citroen Car Club
    www.CitroenCarClub.org.uk

This list is based on users active over the last 60 minutes.