Fork me on GitHub

Deleted news story authors  Bottom

  • Hi, wasn't sure where to post this.

    In .8, I get errors returned by News_user_view(): Error! Sorry! A problem was encountered while loading items [pnusergetvars] at line 273 in file /PN800/includes/pnUser.php

    I believe this is because the users with the ID's being passed to pnUserGetVars have been removed. So, what is the best solution to this? I don't really want to delete the articles.

    I assume I should change all the ID's in the stories table. But I could also create dummy users with the appropriate ID's. Any other ideas, what is the best approach?
  • Well, not deleting users in the first place would have been the best approach - there's a reason this isn't recommended :)

    I would change each of your deleted user ids to point to a single dummy 'deleted' user, to maintain data integrity.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Indeed, I did it years ago though, when I knew no better.

    Isn't the delete function there for a reason then? icon_wink

    Will do that then, thanks

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