Support » Plugins » [Plugin: The Events Calendar] Curl not calling eventbrite api?

  • Hi Shane,

    ok, ive download both plugins.. All seemed to be going well until I tried saving the post with the eventbrite event added.. I got the following error; Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in/home/nickyzee/public_html/10/wp-content/plugins/eventbrite-for-the-events-calendar/eventbrite-for-the-events-calendar.php on line 297

    let me know if i need to edit the code?

    Thanks & Kind Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Nicky,

    Thanks for reporting. We’re looking into this. Can you provide any information about your server configuration? For instance, are you on a shared server? What version of PHP does your server run? If these questions seem like gibberish, then what hosting plan/company are you on?



    Hi Nicky,

    This issue should be fixed in the next release. Thanks for reporting it. In the meantime, you can get around this issue in your copy of the plugin by editing eventbrite-for-the-events-calendar.php and adding this code

    if( !ini_get('safe_mode') ) {
    curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true );

    This should replace line 297. Let me know if you have any questions.

    I got this same error message, but it refers to line 310. This site runs on a shared server, php version 5.2.9. Any insights would be appreciated. This plugin would be a great fit for our needs if we could figure this out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: The Events Calendar] Curl not calling eventbrite api?’ is closed to new replies.