This is a public Forum  publicRSS


    Sasi Kiran Allada
    Call to undefined functions
    Topic posted December 6, 2017 by Sasi Kiran AlladaRegular 
    20 Views, 3 Comments
    Call to undefined functions

    Hi All,

    I am getting below error when i use the session_start() and load_curl

    Fatal error: Call to undefined function session_start() in /cgi-bin/<instance-name>/scripts/custom/<script-name>

    Fatal error: Call to undefined function load_curl() in /cgi-bin/<instance-name>/scripts/custom/<script-name>

    Actually I was trying to do a cURL request for the salesforce integration where I get the access_token , instance_url details.. however I am not sure how to avoid the above errors. 

    From my understanding, we will have to do modify the php.ini file but unfortunately this can't be done in  RightNow


    May 2016



    • Suresh Thirukoti

      Do you have Social Monitor enabled for your site? Also try with \load_curl() .. also try the below

      if (!function_exists("\curl_init"))
      $handle = curl_init(); 
      If issue persists, then you can paste code here after removing sensitive info
    • Sasi Kiran Allada

      Thanks Suresh for the response, however the issue is solved by referring this post.


      Thanks again.

    • Suresh Thirukoti

      Thanks Sasi for sharing the solution!! Glad that your issue is resolved!!