Menu

Call to undefined function: userisadmin

Help
2004-05-26
2004-05-26
  • Carlos Vega

    Carlos Vega - 2004-05-26

    Hello all...

    I'm running the latest version of postnuke and I am trying to get phpGedView to work with it. On it's own, if I go the the modules directory I can install and configure it without a hitch.  It works fine. For example, http://www.mysite.com/modules/phpGedView/ it works fine.  But when I try to do it from with postnuke administration I get the following error when I click on the phpGedView link (from admin area). Does anyone know what the problem is?

    Fatal error: Call to undefined function: userisadmin() in /var/www/html/modules/phpGedView/admin.php on line 30

     
    • Jim Carey

      Jim Carey - 2004-05-26

      Ok - there are no admin functions for the phpGedView module under postNuke administration (perhaps I should write one to remove this problem). You don't need, and shouldn't click on the phpGedView link in the postNuke admin area.

      You link to the phpGedview module by using the following sort of link:

      http://www.mysite.com/modules.php?op=modload&name=phpGedView&file=pgvindex

      This will open phpGedView up in an iFrame.

      If you go directly to the

      http://www.mysite.com/modules/phpGedView/

      type of link it simply opens phpGedView and doesn't do any login checking etc etc.

      So use the first type of link above, and dont go into the PostNuke admin link for phpGedview.

      You enter phpGedView admin functions by logging into phpGedview using the admin userid and then clicking on the admin button.

      Hope that all makes sense ?

      Jim

       

Log in to post a comment.