Hello Ken! I've been going through the new 5.x-3.0rc1 version and have come across my first issue when trying to access the Profile sub-tab in MySite admin. When I select that sub-tab, I receive a white blank screen and the following error shows up in the error_log. If I turn off the Online Status Indicator module, I'm able to access the Profile aub-tab without issue. If I remember correctly, there was some snippet you gave me to get the Online Status Indicator module to show up as a selection in the MySite Profile sub-tab. I just assumed you included that in this latest release. Should I hunt down that change again or is this something different?
PHP Fatal error: Call to undefined function curl_init() in /usr/local/apache2/htdocs/drupal/modules/onlinestatus/onlinestatus.module on line 419, referer: http://www.ithinkworks.com/drupal/admin/settings/mysite/type/node
Comments
Comment #1
agentrickardThis is not a MySite bug. It just occurs when using OnlineStatus on a MySite-generated page.
curl_init() is a PHP function. http://us2.php.net/manual/en/function.curl-init.php
The CURL library is typically compiled into PHP, but it is an optional module. Your server obviously doesn't have that library installed. See http://us2.php.net/manual/en/ref.curl.php
You likely need to recompile PHP, and I can't help you with that.
This is a documented requirement of the OnlineStatus module. http://drupal.org/project/onlinestatus
I'm moving this to the OnlineStatus issue queue, but you probably will get the same answer.
Comment #2
WISEOZ commentedRight again! Looks like we had recompiled PHP without CURL at one point. It's back now!
Comment #3
agentrickardYou could argue that CURL should be replaced by http://api.drupal.org/api/function/drupal_http_request/5.
But I doubt the developer wants to do so.