Results 1 to 2 of 2

Thread: htaccess at Admin Area

  1. #1
    Join Date
    Aug 2006
    Posts
    32

    Default htaccess at Admin Area

    Dody, after some playing around with the code, I found that the .htaccess (with auth .htpasswd) at the admin area is causing the error:

    Fatal error: Call to a member function Fields() on a non-object in xxxx on line 368.

    I always use .htaccess to secure all the admin area of my scripts for security reasons. And I think the error is similar to the blocking of access when a visitor tries to visit a secured area.

    Is there any specific patch for this? (just this)

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Try this, put in /admin folder

    .htaccess
    Code:
    AuthUserFile "//home/nicecode/public_html/indexu/demo/admin/.htpasswd"
    AuthName "Username : admin, Password : admin"
    AuthType Basic
    require valid-user
    .htpasswd is like as usual
    Code:
    admin:6ugS4JXY1dY7Q

Similar Threads

  1. .htaccess?
    By enginerunup in forum v5.x
    Replies: 6
    Last Post: 09-07-2006, 08:33 AM
  2. Cannot access Admin area
    By RIChristianscom in forum v3.2
    Replies: 4
    Last Post: 06-15-2006, 07:28 AM
  3. Can't access admin area
    By lexpression in forum v5.x
    Replies: 4
    Last Post: 03-14-2005, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •