• Resolved visionlive3

    (@visionlive3)


    When I try to do anything with your API I get a 500 (Internal Server Error).

    This is what is in my php error log.
    2018/05/15 16:44:56 [error] 20795#20795: *416155 FastCGI sent in stderr: “PHP message: PHP Notice: Undefined index: modules in /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crmapiintergration.php on line 111
    PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crmapiintergration.php on line 111” while reading response header from upstream, client: **.***.***.**, server: ***********.com, request: “GET /wp-admin/admin.php?page=crmforms-builder HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: “***********.com”
    2018/05/15 16:45:04 [error] 20795#20795: *416153 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crmoauthentication.php:60
    Stack trace:
    #0 /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crmoauthentication.php(38): zcfgenerateAccessToken()
    #1 /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crmcustomfunctions.php(115): zcfcheckAccessToken()
    #2 /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crmcustomfunctions.php(503): zcfcustomfunctions::zcf_FieldsAjaxAction()
    #3 /var/www/html/wp-content/plugins/zoho-crm-forms/includes/crminterfunction.php(86): zcf_AjaxActionsClass::zcfmainFormsActions()
    #4 /var/www/html/wp-includes/class-wp-hook.php(286): zcfajaxcore::zcfmainFormsActions(”)
    #5 /var/www/html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #6 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #7 /var/www/html/wp-admin/admin-ajax.php(97): do_action(‘wp_ajax_zcfmain…’)
    #8 {main}
    thrown in” while reading response header from upstream, client: **.***.***.**, server: ***********.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock:”, host: ” ***********.com”, referrer: “https:// ***********.com/wp-admin/admin.php?page=crmforms-builder”

    Seems to be an issue with your foreach() but maybe not? Any thoughts?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter visionlive3

    (@visionlive3)

    [SOLVED] Was a server issue since it was working on my local just fine.

    If you’re on Windows:

    Go to your php.ini file and remove the ; mark from the beginning of the following line:

    ;extension=php_curl.dll
    After you have saved the file you must restart your HTTP server software (e.g. Apache) before this can take effect.

    For Ubuntu 13.0 and above, simply use the debundled package. In a terminal type the following to install it and do not forgot to restart server.

    sudo apt-get install php-curl
    Or if you’re using the old PHP5

    sudo apt-get install php5-curl
    or

    sudo apt-get install php5.6-curl

Viewing 1 replies (of 1 total)

The topic ‘500 (Internal Server Error)’ is closed to new replies.