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
nrrhcnrrhc 

Error occurred while loading a Visualforce page only on Customer Portal(Community)

I created a VF Page so the view for a custom object would show the related list as tabs. The page works great within the full app, but it gives the error "Error occurred while loading a Visualforce page" when any customer portal(coummunity) users tries to view a record in the object.  I turned on debug, but it does not give me any details on the error. 

 

The portal user profile does have the VF page assigned to it. 

 

Below is the code for the page and below that is the debug log. 

 

Any help would be much appreciated.  

 

 

<apex:page standardController="LCM_Services__c" showHeader="true" >
<apex:messages />
    <apex:tabPanel switchType="client"  selectedTab="name" id="theTabPanel">
        <apex:tab label="Project" name="LCM_Services__c" id="tabdetails">
            <apex:detail relatedList="false" title="true"/>
            </apex:tab>
        <apex:tab label="Related Assets" name="LCM_Asset__c" id="tablcmassets">
            <apex:relatedList list="LCMAssets__r"/> 
        </apex:tab>
         <apex:tab label="Trip Reports" name="Trip_Report__c" id="tabtripreports">
            <apex:relatedList list="Trip_Reports__r"/> 
        </apex:tab>
        <apex:tab label="Battery Management" name="Battery_Management__c" id="tabbatterymgmt">
            <apex:relatedList list="Battery_Management__r"/> 
        </apex:tab>
        <apex:tab label="Notes and Attachments" name="NotesAndAttachments" id="tabNoteAtt">
            <apex:relatedList list="NotesAndAttachments" /> 
        </apex:tab>
        <apex:tab label="Activity History" name="ActivityHistory" id="tabActHistory">
            <apex:relatedList list="ActivityHistories" /> 
        </apex:tab>
        <apex:tab label="Open Activities" name="OpenActivities" id="tabOpenAct">
            <apex:relatedList list="OpenActivities" /> 
        </apex:tab>       
    </apex:tabPanel>    
</apex:page>

 

28.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
09:38:10.052 (52510000)|EXECUTION_STARTED
09:38:10.052 (52554000)|CODE_UNIT_STARTED|[EXTERNAL]|066a00000016pcz|VF: /apex/tabbedProject
09:38:10.895 (158993000)|CUMULATIVE_LIMIT_USAGE
09:38:10.895|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 0 out of 100
  Number of query rows: 0 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Number of code statements: 0 out of 200000
  Maximum CPU time: 0 out of 10000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 10
  Number of Email Invocations: 0 out of 10
  Number of fields describes: 0 out of 100
  Number of record type describes: 0 out of 100
  Number of child relationships describes: 0 out of 100
  Number of picklist describes: 0 out of 100
  Number of future calls: 0 out of 10

09:38:10.895|CUMULATIVE_LIMIT_USAGE_END

09:38:10.159 (159045000)|CODE_UNIT_FINISHED|VF: /apex/tabbedProject
09:38:10.159 (159056000)|EXECUTION_FINISHED
EguiEgui

Hi,

 

Did you tried to remove all the apex:tab, to see if it's loading properly and then tried to add them one by one ?

Jessica Barillas 30Jessica Barillas 30
Please, does someone know what about this?