Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 22nd, 2003, 10:58 AM
bigdavejonnyt's Avatar
bigdavejonnyt bigdavejonnyt is offline
lord of err; master of umm
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: uk
Posts: 92 bigdavejonnyt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 47 m 40 sec
Reputation Power: 6
Send a message via ICQ to bigdavejonnyt
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
Quote:
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

Reply With Quote
  #2  
Old May 23rd, 2003, 04:54 AM
bigdavejonnyt's Avatar
bigdavejonnyt bigdavejonnyt is offline
lord of err; master of umm
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: uk
Posts: 92 bigdavejonnyt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 47 m 40 sec
Reputation Power: 6
Send a message via ICQ to bigdavejonnyt
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 ??

Reply With Quote
  #3  
Old May 26th, 2003, 07:27 AM
melonfire melonfire is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 45 melonfire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Maybe turn on session support?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > patUser installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway