• cakejoy
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I am trying a basic public-accessible website and built one page to just display info that uses the standard controller, great, it works fine.

 

I then wrote an extension to get the related objects necessary, and it still works, UNTIL I try to actually USE one of the public variables (they have just a standard get and set) in the VF page.  I get the following error: 

Authorization Required 
You must first log in or register before accessing this page. 
If you have forgotten your password, click Forgot Password to reset it.

 

I have checked and under the Public Access Settings for that Site, I do have the Extension available.  I also checked and have given that profile Read access to the objects I access in the Extension.

 

Any help on debugging this further?  I can't figure out how to even do a System.debug on a Site, it's in my Extension to see if we ever get there, but I don't know how to get this to show up on the System Log :-(