#1
  1. lord of err; master of umm
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    uk
    Posts
    98
    Rep Power
    12

    patUser installation


    hi

    got the first page working fine - having a little more 'fun' trying to prevent other pages from being visible without login.

    first page - index.php works logs in, creates session id and shows restricted content on the page.

    there's a url on index.php to a page called batchlist.php.

    and in batchlist.php i've added the line as per the article
    PHP Code:
    $uid $u->requireAuthentication("displayLogin"); 
    but i get the message
    Fatal error: Call to a member function on a non-object in D:\web\me\modules\batchlist.php on line 8

    any thoughts ?
    rgds
    bdjt
  2. #2
  3. lord of err; master of umm
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    uk
    Posts
    98
    Rep Power
    12

    patUser usage


    having re-read the article and realised that it isn't a set of instructions, but that it makes assumptions i've got rid of my error message above - but i can't stop it throwing up a login screen on every page....

    any thoughts ??
    rgds
    bdjt
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    45
    Rep Power
    13
    Maybe turn on session support?

IMN logo majestic logo threadwatch logo seochat tools logo