[resolved] Error - Warning: curl_setopt() [function.curl-setopt] (3 posts)

  1. rayjon
    Posted 4 years ago #

    I'm having trouble getting Artist Data to pull information. It is the same error as in another thread, but I've verified that PHP safe mode is off for my server.

    Here is the error:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /nfs/c07/h01/mnt/98726/domains/raymondcmjohnson.com/html/wp-content/plugins/artistdatapress/artistdatapress.php on line 656

    Warning: Invalid argument supplied for foreach() in /nfs/c07/h01/mnt/98726/domains/raymondcmjohnson.com/html/wp-content/plugins/artistdatapress/inc/layout.php on line 636

    Here the link to the page: http://raymondcmjohnson.com/shows/

    Here is a link to my PHP info: http://s98726.gridserver.com/gs-bin/phpinfo.php5



  2. slushman
    Plugin Author

    Posted 4 years ago #

    Hey rayjon,

    It looks like the open_basedir setting has something in it and it needs to be blank in order to let cURL grab the info from the ArtistData XML feed. See if you can log in and change that setting to blank and let me know if the plugin starts working.


  3. rayjon
    Posted 4 years ago #


    Thanks for the reply!

    I'd rather leave the PHP settings alone to avoid creating problems elsewhere. I ended up downloading an "iframe" plugin and embedding the ArtistData calendar widget on my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ArtistDataPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic