function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforce@14salesforce@14 

can anyone help me to solve this error.

Hi All,
  
I create one custom vf page for portal login and i try to login in that login page.
At that time i am getting this error
           
Error:
That operation is only allowed from within an active site.

Thanks in advance.
suresh dupadasuresh dupada
Means You have created site, But you are not activated yet... Please follow below Links abouts site creation and activation..
1.   https://help.salesforce.com/HTViewHelpDoc?id=sites_setup_overview.htm&language=en_US
2.   https://help.salesforce.com/HTViewHelpDoc?id=sites_configuring_sites.htm&language=en_US